Function main::kernel::main [collapse all] [expand all] [src]
pub fn main()
Called at the end of the bootloader. Starts in protected mode with the following memory layout:
Physical memory ranges | Size | Description |
---|---|---|
0x0000 ... 0x7BFF | 31 KiB | Stack |
0x7C00 ... 0x7DFF | 0.5 KiB | Bootloader |
0x07E00 ... 0x0FFFF | 32.5 KiB | unused |
0x10000 ... 0x1FFFF | 64 KiB | Kernel |