aboutsummaryrefslogtreecommitdiff
path: root/libs/acpi/test_data/tables.S
diff options
context:
space:
mode:
authorFelix Morgner <felix.morgner@ost.ch>2026-04-15 08:55:03 +0200
committerFelix Morgner <felix.morgner@ost.ch>2026-04-15 08:55:03 +0200
commit1fa31688a0e237dec1170dcea9e8f0a0571a25e5 (patch)
tree47670a4f05f50d45be078e6429950ff5c0b3ca48 /libs/acpi/test_data/tables.S
parenteacc1becd1308a01a7ffcddf7c8910c8dc708939 (diff)
downloadteachos-1fa31688a0e237dec1170dcea9e8f0a0571a25e5.tar.xz
teachos-1fa31688a0e237dec1170dcea9e8f0a0571a25e5.zip
acpi: add basic MADT tests
Diffstat (limited to 'libs/acpi/test_data/tables.S')
-rw-r--r--libs/acpi/test_data/tables.S14
1 files changed, 14 insertions, 0 deletions
diff --git a/libs/acpi/test_data/tables.S b/libs/acpi/test_data/tables.S
new file mode 100644
index 0000000..af58109
--- /dev/null
+++ b/libs/acpi/test_data/tables.S
@@ -0,0 +1,14 @@
+.section .rodata
+
+.balign 16
+
+#define TABLE(name, file) \
+ .global name##_start; \
+ .global name##_end; \
+ name##_start: .incbin file; \
+ name##_end:
+
+TABLE(basic_madt, "basic_madt.aml")
+TABLE(basic_rsdt, "basic_rsdt.aml")
+
+#undef TABLE