mirror of
https://gitlab.com/bztsrc/bootboot.git
synced 2023-02-13 20:54:32 -05:00
.. | ||
bootboot.c | ||
crt0-efi-x86_64.o | ||
efirom.c | ||
elf_x86_64_efi.lds | ||
fs.h | ||
libefi.a | ||
libgnuefi.a | ||
Makefile | ||
README.md | ||
tinf.h | ||
tinflate.c |
BOOTBOOT UEFI Implementation
See BOOTBOOT Protocol for common details.
On UEFI machines, the PCI Option ROM is created from the standard EFI OS loader application.
Machine state
IRQs masked. GDT unspecified, but valid, IDT unset. Code is running in supervisor mode in ring 0.
File system drivers
For boot partition, UEFI version relies on any file system that's supported by EFI Simple File System Protocol. This implementation supports both SHA-XOR-CBC and AES-256-CBC cipher.
Installation
-
UEFI disk: copy bootboot.efi to FS0:\EFI\BOOT\BOOTX64.EFI.
-
UEFI ROM: use bootboot.rom which is a standard PCI Option ROM image.
-
GRUB, UEFI Boot Manager: add bootboot.efi to boot options.
Limitations
Known limitations:
- Maps the first 16G of RAM.
- PCI Option ROM should be signed in order to work.
- Compressed initrd in ROM is limited to 16M.