aboutsummaryrefslogtreecommitdiff
path: root/sys/firmware
diff options
context:
space:
mode:
authorian <ian>2023-07-17 05:19:56 +0000
committerian <ian>2023-07-17 05:19:56 +0000
commitbeb453f26bcb31cdaf04a15533ae0c38f7075726 (patch)
treefd82dcc0a4b74ed38a445dcd8773611ab141bf40 /sys/firmware
parentda1258023dc450fa02001ac8b118c1bb3f0eee6d (diff)
kernel/acpi: Add helper function
git-svn-id: https://svn.vegaa.systems/svn/vega-Vega/trunk@24 a8a8aea2-181d-ee11-89e8-15fd0e089fc4
Diffstat (limited to 'sys/firmware')
-rw-r--r--sys/firmware/acpi/acpi_init.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/sys/firmware/acpi/acpi_init.c b/sys/firmware/acpi/acpi_init.c
index 1c8bd91..67bdf41 100644
--- a/sys/firmware/acpi/acpi_init.c
+++ b/sys/firmware/acpi/acpi_init.c
@@ -75,6 +75,12 @@ acpi_get_root_sdt(void)
return root_sdt;
}
+size_t
+acpi_get_root_sdt_len(void)
+{
+ return root_sdt_entries;
+}
+
void
acpi_init(void)
{