genode/repos/base/mk
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
..
spec hw: switch page-tables only when necessary 2017-10-19 13:31:18 +02:00
README Move repositories to 'repos/' subdirectory 2014-05-14 16:08:00 +02:00
base-libs.mk os: removal of deprecated os/config.h (fix #2431) 2017-05-31 13:16:22 +02:00
dep_lib.mk mk: strip binaries at <build-dir>/bin/ 2017-05-02 15:29:03 +02:00
dep_prg.mk mk: strip binaries at <build-dir>/bin/ 2017-05-02 15:29:03 +02:00
generic.mk Support read-only data symbols in ABI 2017-10-05 17:40:04 +02:00
global.mk global.mk: Make build messages configurable 2017-08-18 10:24:47 +02:00
lib.mk mk: strip binaries at <build-dir>/bin/ 2017-05-02 15:29:03 +02:00
prg.mk linux: stack-area handling with recent Linux kernels 2017-10-05 17:40:00 +02:00
util.inc mk: shortcircuit select_from_ports for pkg tool 2016-07-15 11:38:26 +02:00

README

This directory contains the build system. In consists mainly of makefile
templates for different directory roles.

:'global.mk': This file contains global variables, for example the
  definitions of the tools to use.

:'generic.mk': Generic rules for creating file types from others.

:'prg.mk': This file represents the target binary role of a directory.
  It must be included by all makefiles that build programs.

:'lib.mk': This file represents a library role. It is never used from
  within the 'src/' directory but only from the <libname>.mk files
  in 'lib/mk/'.