aboutsummaryrefslogtreecommitdiff
path: root/libs/acpi/CMakeLists.txt
diff options
context:
space:
mode:
authorFelix Morgner <felix.morgner@ost.ch>2026-04-16 10:17:19 +0200
committerFelix Morgner <felix.morgner@ost.ch>2026-04-16 10:17:19 +0200
commit3c210c07c60fbe9378cfb720847e8c1d3c763ead (patch)
treec83b1aa99dd7435a9fd033772e973ade637b464d /libs/acpi/CMakeLists.txt
parent888471f23e7f07749b4bc9a2fa70992062b6e4d0 (diff)
parentf9dde928add359a1dff0db402dc1454e72aea633 (diff)
downloadteachos-3c210c07c60fbe9378cfb720847e8c1d3c763ead.tar.xz
teachos-3c210c07c60fbe9378cfb720847e8c1d3c763ead.zip
Merge branch 'fmorgner/develop-BA-FS26/acpi-refactor' into develop-BA-FS26
Diffstat (limited to 'libs/acpi/CMakeLists.txt')
-rw-r--r--libs/acpi/CMakeLists.txt15
1 files changed, 11 insertions, 4 deletions
diff --git a/libs/acpi/CMakeLists.txt b/libs/acpi/CMakeLists.txt
index 30e1aca..55d5b54 100644
--- a/libs/acpi/CMakeLists.txt
+++ b/libs/acpi/CMakeLists.txt
@@ -19,10 +19,12 @@ file(GLOB_RECURSE ACPI_HEADERS
)
target_sources("acpi" PRIVATE
- "acpi/checksum.cpp"
- "acpi/madt.cpp"
+ "acpi/common/checksum.cpp"
+ "acpi/common/table_header.cpp"
+ "acpi/data/madt.cpp"
+ "acpi/data/rsdt.cpp"
+ "acpi/data/xsdt.cpp"
"acpi/pointers.cpp"
- "acpi/sdt.cpp"
)
target_sources("acpi" PUBLIC
@@ -43,6 +45,8 @@ if(NOT CMAKE_CROSSCOMPILING)
"basic_madt"
"basic_rsdt"
"basic_rsdp"
+ "basic_xsdt"
+ "table_header"
)
foreach(TABLE IN LISTS TEST_TABLES)
@@ -58,7 +62,10 @@ if(NOT CMAKE_CROSSCOMPILING)
set_source_files_properties("test_data/tables.S" PROPERTIES OBJECT_DEPENDS "${GENERATED_TABLE_BLOBS}")
add_executable("acpi_tests"
- "acpi/madt.test.cpp"
+ "acpi/common/table_header.test.cpp"
+ "acpi/data/madt.test.cpp"
+ "acpi/data/rsdt.test.cpp"
+ "acpi/data/xsdt.test.cpp"
"acpi/pointers.test.cpp"
"test_data/tables.S"