14 lines
612 B
Markdown
14 lines
612 B
Markdown
# src/starkernel/boot/
|
|
|
|
UEFI boot, kernel-image loading, and boot-time command-line handling.
|
|
|
|
- `uefi_loader.c` — the UEFI application entry point (`BOOTX64.EFI`);
|
|
calls `ExitBootServices()` to take ownership of hardware, builds
|
|
`BootInfo` (memory map, ACPI, framebuffer), and hands off to
|
|
`kernel_main()`.
|
|
- `elf_loader.c` — ELF64 kernel image parsing/loading.
|
|
- `cmdline.c` — parses the boot-time kernel command line / `starforth.cfg`
|
|
contents (see `include/starkernel/cmdline.h`, `kernel_args.h`).
|
|
- `reloc_stub.c`, `reloc.S` — position-independent relocation support for
|
|
the loaded image.
|