wiki:common_functions

Version 10 (modified by alain, 9 years ago) (diff)

--

GIET_VM / Boot & Kernel common functions

The boot code and the kernel code are two separated compilation units, but some functions are used by both the boot code and the kernel code:

  • They are used by the boot-loader in the static phase, to build the page tables and initialize the schedulers and the peripherals.
  • They are used by the kernel in the dynamic phase, to handle events such as interrupts, exceptions and syscalls.

CP0 registers access

CP2 registers access

Physical addressing

Locks

Barriers

TTY0 access

Thread context access

Mapping access

Physical memory allocators

Virtual memory management

Dynamic memory allocation

Miscelaneous