28 lines
518 B
Markdown
28 lines
518 B
Markdown
# Rumpk Boot
|
|
|
|
**Purpose:** Bootloader headers and linker scripts
|
|
|
|
## Contents
|
|
|
|
| File | Purpose |
|
|
|------|---------|
|
|
| `linker.ld` | Default linker script (ARM64 QEMU virt) |
|
|
| `header.zig` | Multiboot2 header (future) |
|
|
|
|
## Memory Layout (ARM64 QEMU virt)
|
|
|
|
```
|
|
0x40080000 _start (Entry Point)
|
|
0x40080000 .text
|
|
.rodata
|
|
.data
|
|
.bss
|
|
Stack (16KB)
|
|
```
|
|
|
|
## Future
|
|
|
|
- `linker-x86_64.ld` - x86_64 QEMU q35
|
|
- `linker-riscv64.ld` - RISC-V QEMU virt
|
|
- EFI stub for real hardware
|