wiki:common_functions

Version 4 (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 access

TTY0 access

Task context access

Mapping access

Physical memory allocators

Virtual to physical address translation

Dynamic memory allocation

Miscelaneous