Resurrect the existing but unused ELF library in libraries/elf, and use it instead of boot/elf.h for parsing ELF files in the bootloader. Also adds a const version of offset_iterator called const_offset_iterator.
21 lines
309 B
TOML
21 lines
309 B
TOML
name = "boot"
|
|
kind = "exe"
|
|
output = "boot.efi"
|
|
targets = ["boot"]
|
|
deps = ["cpu", "elf", "kutil"]
|
|
sources = [
|
|
"allocator.cpp",
|
|
"console.cpp",
|
|
"error.cpp",
|
|
"fs.cpp",
|
|
"hardware.cpp",
|
|
"loader.cpp",
|
|
"main.cpp",
|
|
"memory.cpp",
|
|
"memory_map.cpp",
|
|
"paging.cpp",
|
|
"status.cpp",
|
|
"support.cpp",
|
|
"video.cpp",
|
|
]
|