wiki:common_functions

Version 8 (modified by alain, 10 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

Task context access

Mapping access

Physical memory allocators

Virtual to physical address translation

Dynamic memory allocation

Miscelaneous