Crate bootloader_x86_64_common
Source - framebuffer
- Provides a type that logs output as text to pixel-based framebuffers.
- legacy_memory_region
- Provides a frame allocator based on a BIOS or UEFI memory map.
- level_4_entries
- Provides a type to keep track of used entries in a level 4 page table.
- load_kernel
- Implements a loader for the kernel ELF binary.
- logger
- Provides a logger that logs output as text in various formats.
- serial
- Provides a type that logs output as text to a Serial Being port.
- Kernel
- Mappings
- Contains the addresses of all memory mappings set up by
set_up_mappings. - PageTables
- Provides access to the page tables of the bootloader and kernel address space.
- RawFrameBufferInfo
- The physical address of the framebuffer and information about the framebuffer.
- SystemInfo
- Required system information that should be queried from the BIOS or UEFI firmware.
- create_boot_info
- Allocates and initializes the boot info struct and the memory map.
- init_logger
- Initialize a text-based logger using the given pixel-based framebuffer as output.
- load_and_switch_to_kernel
- Loads the kernel ELF executable into memory and switches to it.
- set_up_mappings
- Sets up mappings for a kernel stack and the framebuffer.
- switch_to_kernel
- Switches to the kernel address space and jumps to the kernel entry point.