diff options
| author | Felix Morgner <felix.morgner@ost.ch> | 2026-11-11 10:20:52 +0100 |
|---|---|---|
| committer | Felix Morgner <felix.morgner@ost.ch> | 2026-11-12 14:40:40 +0100 |
| commit | 7676db54f6c3f5e19d78b2d2b0250e1838c30ef6 (patch) | |
| tree | cd8f08256a16def7b901dc5a246784807b298b1a | |
| parent | 0fb12149ce4245b93dac109a135e81294452edaf (diff) | |
| download | kernel-7676db54f6c3f5e19d78b2d2b0250e1838c30ef6.tar.xz kernel-7676db54f6c3f5e19d78b2d2b0250e1838c30ef6.zip | |
libs/acpi: add basic test data for MCFG table
| -rw-r--r-- | libs/acpi/CMakeLists.txt | 1 | ||||
| -rw-r--r-- | libs/acpi/acpi/test_data/tables.S | 1 | ||||
| -rw-r--r-- | libs/acpi/acpi/test_data/tables.hpp | 1 | ||||
| -rw-r--r-- | libs/acpi/test_data/basic_mcfg.asl | 25 |
4 files changed, 28 insertions, 0 deletions
diff --git a/libs/acpi/CMakeLists.txt b/libs/acpi/CMakeLists.txt index 9fc8c719..847223a8 100644 --- a/libs/acpi/CMakeLists.txt +++ b/libs/acpi/CMakeLists.txt @@ -68,6 +68,7 @@ if(BUILD_TESTING) set(TEST_TABLES "basic_madt" + "basic_mcfg" "basic_rsdt" "basic_rsdp" "basic_xsdt" diff --git a/libs/acpi/acpi/test_data/tables.S b/libs/acpi/acpi/test_data/tables.S index 641db6a8..b60b21be 100644 --- a/libs/acpi/acpi/test_data/tables.S +++ b/libs/acpi/acpi/test_data/tables.S @@ -9,6 +9,7 @@ name##_end: TABLE(basic_madt, "basic_madt.aml") +TABLE(basic_mcfg, "basic_mcfg.aml") TABLE(basic_rsdt, "basic_rsdt.aml") TABLE(basic_rsdp, "basic_rsdp.aml") TABLE(basic_xsdt, "basic_xsdt.aml") diff --git a/libs/acpi/acpi/test_data/tables.hpp b/libs/acpi/acpi/test_data/tables.hpp index e91f1a5a..60c6dcbe 100644 --- a/libs/acpi/acpi/test_data/tables.hpp +++ b/libs/acpi/acpi/test_data/tables.hpp @@ -16,6 +16,7 @@ namespace acpi::test_data::tables { TABLE(basic_madt); + TABLE(basic_mcfg); TABLE(basic_rsdt); TABLE(basic_rsdp); TABLE(basic_xsdt); diff --git a/libs/acpi/test_data/basic_mcfg.asl b/libs/acpi/test_data/basic_mcfg.asl new file mode 100644 index 00000000..3daaecc2 --- /dev/null +++ b/libs/acpi/test_data/basic_mcfg.asl @@ -0,0 +1,25 @@ +/* + * Intel ACPI Component Architecture + * iASL Compiler/Disassembler version 20251212 (64-bit version) + * Copyright (c) 2000 - 2025 Intel Corporation + * + * Template for [MCFG] ACPI Table (static data table) + * Format: [ByteLength] FieldName : HexFieldValue + */ +[0004] Signature : "MCFG" [Memory Mapped Configuration Table] +[0004] Table Length : 0000003C +[0001] Revision : 01 +[0001] Checksum : BE +[0006] Oem ID : "INTEL " +[0008] Oem Table ID : "Template" +[0004] Oem Revision : 00000001 +[0004] Asl Compiler ID : "INTL" +[0004] Asl Compiler Revision : 20100528 + +[0008] Reserved : 0000000000000000 + +[0008] Base Address : 00000000F0000000 +[0002] Segment Group Number : 0000 +[0001] Start Bus Number : 00 +[0001] End Bus Number : 7F +[0004] Reserved : 00000000 |
