From beb453f26bcb31cdaf04a15533ae0c38f7075726 Mon Sep 17 00:00:00 2001 From: ian Date: Mon, 17 Jul 2023 05:19:56 +0000 Subject: kernel/acpi: Add helper function git-svn-id: https://svn.vegaa.systems/svn/vega-Vega/trunk@24 a8a8aea2-181d-ee11-89e8-15fd0e089fc4 --- sys/firmware/acpi/acpi_init.c | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'sys/firmware') 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) { -- cgit v1.2.3