diff options
| author | Felix Morgner <felix.morgner@ost.ch> | 2026-04-15 09:04:35 +0200 |
|---|---|---|
| committer | Felix Morgner <felix.morgner@ost.ch> | 2026-04-15 09:05:23 +0200 |
| commit | 1113e812359a66591b0854a9f723ab8cd8b09274 (patch) | |
| tree | 16ff2d7dd88b9d28eb45d8eebf91c251ad92b972 | |
| parent | 1fa31688a0e237dec1170dcea9e8f0a0571a25e5 (diff) | |
| download | teachos-1113e812359a66591b0854a9f723ab8cd8b09274.tar.xz teachos-1113e812359a66591b0854a9f723ab8cd8b09274.zip | |
acpi: add rsdp test data
| -rw-r--r-- | libs/acpi/CMakeLists.txt | 1 | ||||
| -rw-r--r-- | libs/acpi/test_data/basic_rsdp.asl | 16 | ||||
| -rw-r--r-- | libs/acpi/test_data/tables.S | 1 | ||||
| -rw-r--r-- | libs/acpi/test_data/tables.hpp | 1 |
4 files changed, 19 insertions, 0 deletions
diff --git a/libs/acpi/CMakeLists.txt b/libs/acpi/CMakeLists.txt index 8ace42d..30e1aca 100644 --- a/libs/acpi/CMakeLists.txt +++ b/libs/acpi/CMakeLists.txt @@ -42,6 +42,7 @@ if(NOT CMAKE_CROSSCOMPILING) set(TEST_TABLES "basic_madt" "basic_rsdt" + "basic_rsdp" ) foreach(TABLE IN LISTS TEST_TABLES) diff --git a/libs/acpi/test_data/basic_rsdp.asl b/libs/acpi/test_data/basic_rsdp.asl new file mode 100644 index 0000000..8274c0f --- /dev/null +++ b/libs/acpi/test_data/basic_rsdp.asl @@ -0,0 +1,16 @@ +/* + * Intel ACPI Component Architecture + * iASL Compiler/Disassembler version 20251212 (64-bit version) + * Copyright (c) 2000 - 2025 Intel Corporation + * + * Template for [RSDP] ACPI Table (AML byte code table) + */ +[0008] Signature : "RSD PTR " +[0001] Checksum : 43 +[0006] Oem ID : "INTEL " +[0001] Revision : 02 +[0004] RSDT Address : 00000000 +[0004] Length : 00000024 +[0008] XSDT Address : 0000000000000000 +[0001] Extended Checksum : DC +[0003] Reserved : 000000 diff --git a/libs/acpi/test_data/tables.S b/libs/acpi/test_data/tables.S index af58109..f40f070 100644 --- a/libs/acpi/test_data/tables.S +++ b/libs/acpi/test_data/tables.S @@ -10,5 +10,6 @@ TABLE(basic_madt, "basic_madt.aml") TABLE(basic_rsdt, "basic_rsdt.aml") +TABLE(basic_rsdp, "basic_rsdp.aml") #undef TABLE diff --git a/libs/acpi/test_data/tables.hpp b/libs/acpi/test_data/tables.hpp index 2b3874f..510cbda 100644 --- a/libs/acpi/test_data/tables.hpp +++ b/libs/acpi/test_data/tables.hpp @@ -17,6 +17,7 @@ namespace acpi::test_data::tables TABLE(basic_madt); TABLE(basic_rsdt); + TABLE(basic_rsdp); } // namespace acpi::test_data::tables |
