diff options
| author | Felix Morgner <felix.morgner@ost.ch> | 2026-04-23 17:16:34 +0200 |
|---|---|---|
| committer | Felix Morgner <felix.morgner@ost.ch> | 2026-04-29 08:46:34 +0200 |
| commit | d906d70c94c2a40d5fc6fd26056c7bc57d540002 (patch) | |
| tree | 63dcef767bbc5661aadd5c3b8afcc5b41f64fe35 /libs/acpi/test_data/tables.hpp | |
| parent | e6c6bda14c9af0df9f4c185701b1e7939db6e1f9 (diff) | |
| download | teachos-d906d70c94c2a40d5fc6fd26056c7bc57d540002.tar.xz teachos-d906d70c94c2a40d5fc6fd26056c7bc57d540002.zip | |
acpi: move test data header
Diffstat (limited to 'libs/acpi/test_data/tables.hpp')
| -rw-r--r-- | libs/acpi/test_data/tables.hpp | 28 |
1 files changed, 0 insertions, 28 deletions
diff --git a/libs/acpi/test_data/tables.hpp b/libs/acpi/test_data/tables.hpp deleted file mode 100644 index e91f1a5..0000000 --- a/libs/acpi/test_data/tables.hpp +++ /dev/null @@ -1,28 +0,0 @@ -#ifndef ACPI_TEST_DATA_TABLES_HPP -#define ACPI_TEST_DATA_TABLES_HPP - -#include <cstddef> -#include <span> - -#define TABLE(name) \ - extern "C" std::byte const name##_start; \ - extern "C" std::byte const name##_end; \ - auto inline name()->std::span<std::byte const> \ - { \ - return {&name##_start, &name##_end}; \ - } - -namespace acpi::test_data::tables -{ - - TABLE(basic_madt); - TABLE(basic_rsdt); - TABLE(basic_rsdp); - TABLE(basic_xsdt); - TABLE(table_header); - -} // namespace acpi::test_data::tables - -#undef TABLE - -#endif |
