Bootloader: Start work on bootloader

I wrote a fast first stage bootloader and a installer to put it into
a disk image.
This commit is contained in:
2023-11-09 22:42:47 +02:00
parent bc8fd1285f
commit cfc7313451
15 changed files with 984 additions and 0 deletions

View File

@@ -0,0 +1,14 @@
cmake_minimum_required(VERSION 3.26)
project(x86_64-banan_os-bootloader-installer CXX)
set(SOURCES
crc32.cpp
ELF.cpp
GPT.cpp
GUID.cpp
main.cpp
)
add_executable(x86_64-banan_os-bootloader-installer ${SOURCES})
target_compile_options(x86_64-banan_os-bootloader-installer PUBLIC -O2 -std=c++20)