diff options
| author | Felix Morgner <felix.morgner@ost.ch> | 2025-11-24 16:59:24 +0100 |
|---|---|---|
| committer | Felix Morgner <felix.morgner@ost.ch> | 2025-11-24 16:59:24 +0100 |
| commit | 1a3c20cc9ea191a862eb7e8ac55b3a69ac74ad5e (patch) | |
| tree | e740d842eb64f9dcde4a70ff138092d349e717c1 /arch/x86_64/CMakeLists.txt | |
| parent | 2b3dca0d0329b61881ffbecca0f120cfda3314fa (diff) | |
| download | teachos-1a3c20cc9ea191a862eb7e8ac55b3a69ac74ad5e.tar.xz teachos-1a3c20cc9ea191a862eb7e8ac55b3a69ac74ad5e.zip | |
x86_64/vga: rely less on magic state
Diffstat (limited to 'arch/x86_64/CMakeLists.txt')
| -rw-r--r-- | arch/x86_64/CMakeLists.txt | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/arch/x86_64/CMakeLists.txt b/arch/x86_64/CMakeLists.txt index 9c6d818..cf85b36 100644 --- a/arch/x86_64/CMakeLists.txt +++ b/arch/x86_64/CMakeLists.txt @@ -30,6 +30,30 @@ target_sources("x86_64" PRIVATE "src/vga/text.cpp" ) +target_sources("x86_64" PRIVATE + FILE_SET HEADERS + BASE_DIRS "include" + FILES + # Low-level bootstrap + "include/x86_64/boot/boot.hpp" + "include/x86_64/boot/ld.hpp" + + # Low-level CPU access + "include/x86_64/cpu/registers.hpp" + "include/x86_64/cpu/impl/control_registers.hpp" + "include/x86_64/cpu/impl/model_specific_register.hpp" + + # Low-level device I/O + "include/x86_64/device_io/port_io.hpp" + + # Memory management + "include/x86_64/memory/mmu.hpp" + "include/x86_64/memory/region_allocator.hpp" + + # VGA I/O + "include/x86_64/vga/text.hpp" +) + set(KERNEL_LINKER_SCRIPT "${CMAKE_CURRENT_SOURCE_DIR}/scripts/kernel.ld" PARENT_SCOPE |
