aboutsummaryrefslogtreecommitdiff
path: root/arch/x86_64/CMakeLists.txt
diff options
context:
space:
mode:
Diffstat (limited to 'arch/x86_64/CMakeLists.txt')
-rw-r--r--arch/x86_64/CMakeLists.txt37
1 files changed, 37 insertions, 0 deletions
diff --git a/arch/x86_64/CMakeLists.txt b/arch/x86_64/CMakeLists.txt
index 6ff1332..c5624d8 100644
--- a/arch/x86_64/CMakeLists.txt
+++ b/arch/x86_64/CMakeLists.txt
@@ -37,6 +37,43 @@ target_sources("_video" PRIVATE
)
#[============================================================================[
+# The Memory Library
+#]============================================================================]
+
+target_sources("_memory" PRIVATE
+ "src/memory/main.cpp"
+ "src/memory/multiboot/elf_symbols_section.cpp"
+ "src/memory/multiboot/reader.cpp"
+ "src/memory/allocator/area_frame_allocator.cpp"
+ "src/memory/allocator/tiny_frame_allocator.cpp"
+ "src/memory/allocator/physical_frame.cpp"
+ "src/memory/paging/page_entry.cpp"
+ "src/memory/paging/page_table.cpp"
+ "src/memory/paging/temporary_page.cpp"
+ "src/memory/paging/virtual_page.cpp"
+ "src/memory/paging/active_page_table.cpp"
+ "src/memory/paging/inactive_page_table.cpp"
+ "src/memory/cpu/tlb.cpp"
+ "src/memory/cpu/control_register.cpp"
+ "src/memory/cpu/msr.cpp"
+ "src/memory/heap/bump_allocator.cpp"
+ "src/memory/heap/memory_block.cpp"
+ "src/memory/heap/linked_list_allocator.cpp"
+ "src/shared/mutex.cpp"
+)
+
+#[============================================================================[
+# The Exception handling Library
+#]============================================================================]
+
+target_sources("_exception" PRIVATE
+ "src/exception_handling/assert.cpp"
+ "src/exception_handling/abort.cpp"
+ "src/exception_handling/panic.cpp"
+ "src/exception_handling/pure_virtual.cpp"
+)
+
+#[============================================================================[
# The Bootable ISO Image
#]============================================================================]