genode/repos/base-hw/src/core/kernel
Stefan Kalkowski 4e97a6511b hw: switch page-tables only when necessary
* Instead of always re-load page-tables when a thread context is switched
  only do this when another user PD's thread is the next target,
  core-threads are always executed within the last PD's page-table set
* remove the concept of the mode transition
* instead map the exception vector once in bootstrap code into kernel's
  memory segment
* when a new page directory is constructed for a user PD, copy over the
  top-level kernel segment entries on RISCV and X86, on ARM we use a designated
  page directory register for the kernel segment
* transfer the current CPU id from bootstrap to core/kernel in a register
  to ease first stack address calculation
* align cpu context member of threads and vms, because of x86 constraints
  regarding the stack-pointer loading
* introduce Align_at template for members with alignment constraints
* let the x86 hardware do part of the context saving in ISS, by passing
  the thread context into the TSS before leaving to user-land
* use one exception vector for all ARM platforms including Arm_v6

Fix #2091
2017-10-19 13:31:18 +02:00
..
configuration.h hw: remove core internal header directories 2017-05-31 13:15:52 +02:00
core_interface.h hw: run core threads in privileged mode 2017-10-19 13:31:17 +02:00
cpu_scheduler.cc hw: separate bootstrap and core strictly 2017-05-31 13:15:52 +02:00
cpu_scheduler.h hw: remove core internal header directories 2017-05-31 13:15:52 +02:00
cpu.cc hw: switch page-tables only when necessary 2017-10-19 13:31:18 +02:00
cpu.h hw: switch page-tables only when necessary 2017-10-19 13:31:18 +02:00
double_list.cc Adjust file headers to refer to the AGPLv3 2017-02-28 12:59:29 +01:00
double_list.h hw: remove core internal header directories 2017-05-31 13:15:52 +02:00
fifo.h hw: remove core internal header directories 2017-05-31 13:15:52 +02:00
init.cc hw: switch page-tables only when necessary 2017-10-19 13:31:18 +02:00
ipc_node.cc hw: separate bootstrap and core strictly 2017-05-31 13:15:52 +02:00
ipc_node.h hw: remove core internal header directories 2017-05-31 13:15:52 +02:00
irq.cc Adjust file headers to refer to the AGPLv3 2017-02-28 12:59:29 +01:00
irq.h hw: remove core internal header directories 2017-05-31 13:15:52 +02:00
kernel.cc Adjust file headers to refer to the AGPLv3 2017-02-28 12:59:29 +01:00
kernel.h base: remove include/spec/* other than ISA 2017-05-31 13:16:01 +02:00
log.h hw: remove core internal header directories 2017-05-31 13:15:52 +02:00
object.cc hw: reference count capabilities in UTCBs 2015-12-10 13:16:25 +01:00
object.h hw: remove core internal header directories 2017-05-31 13:15:52 +02:00
pd.h hw: switch page-tables only when necessary 2017-10-19 13:31:18 +02:00
perf_counter.h hw: remove core internal header directories 2017-05-31 13:15:52 +02:00
signal_receiver.cc hw: make address variables 64-bit safe (fix #2503) 2017-08-28 16:49:46 +02:00
signal_receiver.h hw: make address variables 64-bit safe (fix #2503) 2017-08-28 16:49:46 +02:00
thread.cc hw: switch page-tables only when necessary 2017-10-19 13:31:18 +02:00
thread.h hw: run core threads in privileged mode 2017-10-19 13:31:17 +02:00
timer.cc hw core: merge Kernel::Clock and Kernel::Timer 2017-05-31 13:16:10 +02:00
timer.h os/timer: interpolate time via timestamps 2017-05-31 13:16:11 +02:00
vm_thread_off.cc Adjust file headers to refer to the AGPLv3 2017-02-28 12:59:29 +01:00
vm_thread_on.cc Adjust file headers to refer to the AGPLv3 2017-02-28 12:59:29 +01:00
vm.h hw: remove core internal header directories 2017-05-31 13:15:52 +02:00