| Name | Date | Size | #Lines | LOC | ||
|---|---|---|---|---|---|---|
| .. | 21-Aug-2025 | - | ||||
| README.md | A D | 21-Aug-2025 | 752 | 17 | 14 | |
| multiboot-main.c | A D | 21-Aug-2025 | 10.8 KiB | 268 | 214 | |
| multiboot-start.S | A D | 21-Aug-2025 | 2.6 KiB | 73 | 40 | |
| multiboot.ld | A D | 21-Aug-2025 | 1.1 KiB | 55 | 44 | |
| paging.c | A D | 21-Aug-2025 | 4 KiB | 136 | 91 | |
| rules.mk | A D | 21-Aug-2025 | 2.7 KiB | 76 | 53 | |
| trampoline.c | A D | 21-Aug-2025 | 4 KiB | 88 | 49 | |
| trampoline.h | A D | 21-Aug-2025 | 2.5 KiB | 66 | 41 | |
| util.c | A D | 21-Aug-2025 | 1.7 KiB | 56 | 47 |
README.md
1# Multiboot trampoline loader 2 3This directory implements a small "kernel" compatible with the 4[Multiboot](https://www.gnu.org/software/grub/manual/multiboot/multiboot.html) 5specification that simulates a 6[ZBI](../../../../system/public/zircon/boot/image.h)-compatible boot loader. 7This makes it possible to boot a *complete x86-64 ZBI* via a 8*Multiboot-compatible x86-32 boot loader* such as 9[GRUB](https://www.gnu.org/software/grub/) or [QEMU](https://www.qemu.org/). 10 11`multiboot.bin` is a Multiboot-compatible ELF kernel image. It requires a 12single *Multiboot module*, also known as the `initrd` or *RAM disk*, that 13contains a complete ZBI image (kernel and BOOTFS). With QEMU, use: 14``` 15-kernel multiboot.bin -initrd zircon.zbi 16``` 17