diff options
author | Ian Moffett <ian@osmora.org> | 2024-02-11 23:40:21 -0500 |
---|---|---|
committer | Ian Moffett <ian@osmora.org> | 2024-02-11 23:40:21 -0500 |
commit | 8ee6f7a06ce2d569805edd35a1ac79c2511b2a27 (patch) | |
tree | b3318811da7ab7a0c5204f20d68920b5f50502ee /sys/include | |
parent | 3ac9a53caabcb8b9f43b5e1638968c027c2c79d6 (diff) |
kernel/amd64: acpi: Fetch LAPIC base separate
This commit creates a acpi_get_lapic_base() so we don't have to
parse the MADT each time we want the Local APIC base.
Signed-off-by: Ian Moffett <ian@osmora.org>
Diffstat (limited to 'sys/include')
-rw-r--r-- | sys/include/firmware/acpi/acpi.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/sys/include/firmware/acpi/acpi.h b/sys/include/firmware/acpi/acpi.h index b3416f4..66a955f 100644 --- a/sys/include/firmware/acpi/acpi.h +++ b/sys/include/firmware/acpi/acpi.h @@ -41,5 +41,6 @@ bool acpi_is_checksum_valid(struct acpi_header *hdr); struct acpi_root_sdt *acpi_get_root_sdt(void); size_t acpi_get_root_sdt_len(void); void acpi_parse_madt(struct cpu_info *ci); +void *acpi_get_lapic_base(void); #endif /* !_ACPI_ACPI_H_ */ |