Crate kernel

Crate kernel 

Source
Expand description

Β§Kernel Entry Point

ModulesΒ§

framebuffer πŸ”’
Kernel Framebuffer helpers
tracing πŸ”’
Kernel Tracing helpers

StructsΒ§

Aligned πŸ”’
16-byte aligned stack

ConstantsΒ§

BOOT_STACK_SIZE πŸ”’
Stack size.

StaticsΒ§

BOOT_STACK πŸ”’
MAPPER πŸ”’
Physical Memory mapper for the Higher-Half Direct Map (HHDM).

FunctionsΒ§

_start_kernel
The kernel entry point
kernel_entry πŸ”’
Kernel entry running on normal stack.
kernel_main πŸ”’
Main kernel loop, running with all memory (including framebuffer) properly mapped.
panic πŸ”’
remap_boot_memory πŸ”’
Remaps the boot framebuffer memory into the kernel’s virtual address space.