Hardware Abstraction Layer
Definition of phyical, virtual addresses and helper functions.
Bootstrap and initialization.
Console input and output.
Functions only available on the libos mode.
Physical memory operations.
Random number generator.
Time and clock functions.
Raw pointer from user land.
Virtual memory operations.
The error type which is returned from HAL functions. TODO: more error types.
Generic memory flags.
The smallest size of a page (4K).
Functions implemented in the kernel and used by HAL funtions.
The main part of the primary CPU initialization.
Initialize the primary CPU at an early stage (before the physical frame allocator).
Initialize the secondary CPUs.