diff options
| author | Felix Morgner <felix.morgner@ost.ch> | 2026-06-02 17:32:08 +0200 |
|---|---|---|
| committer | Felix Morgner <felix.morgner@ost.ch> | 2026-06-02 17:32:08 +0200 |
| commit | 3274bb4377b9f04b7a70139a86283e0fae44b228 (patch) | |
| tree | face2b0b544578e5efd1c28c8d75b3307d6e4a8a /libs/acpi | |
| parent | e92df52c599f78f36a278508a2b6be5f3a15f3db (diff) | |
| parent | 46d3f8978e9f4235064daf5f19de5bf3054e7c24 (diff) | |
| download | kernel-3274bb4377b9f04b7a70139a86283e0fae44b228.tar.xz kernel-3274bb4377b9f04b7a70139a86283e0fae44b228.zip | |
Merge branch 'fmorgner/develop-BA-FS26/dynamic-fs' into 'develop-BA-FS26'
Add support infrastructure for automatic file system registration
See merge request teachos/kernel!46
Diffstat (limited to 'libs/acpi')
| -rw-r--r-- | libs/acpi/acpi/common/basic_table.hpp | 5 | ||||
| -rw-r--r-- | libs/acpi/acpi/common/vla_table.hpp | 5 |
2 files changed, 10 insertions, 0 deletions
diff --git a/libs/acpi/acpi/common/basic_table.hpp b/libs/acpi/acpi/common/basic_table.hpp index 33f23d5..f5b5b27 100644 --- a/libs/acpi/acpi/common/basic_table.hpp +++ b/libs/acpi/acpi/common/basic_table.hpp @@ -28,6 +28,11 @@ namespace acpi { return signature() == table_signature_v<TableType> && validate_checksum(); } + + private: + friend TableType; + + constexpr basic_table() noexcept = default; }; } // namespace acpi diff --git a/libs/acpi/acpi/common/vla_table.hpp b/libs/acpi/acpi/common/vla_table.hpp index a65a28e..d3f33a7 100644 --- a/libs/acpi/acpi/common/vla_table.hpp +++ b/libs/acpi/acpi/common/vla_table.hpp @@ -109,6 +109,11 @@ namespace acpi { return end(); } + + private: + friend TableType; + + constexpr vla_table() noexcept = default; }; } // namespace acpi |
