diff options
author | Ian Moffett <ian@osmora.org> | 2023-12-19 22:08:43 -0500 |
---|---|---|
committer | Ian Moffett <ian@osmora.org> | 2023-12-19 22:08:43 -0500 |
commit | e07242e3a1589742772732c4e739f78bdab20a00 (patch) | |
tree | be63a8cc66ce3388dc73ba1c441e816ae18ec5d3 /sys/include/firmware/acpi | |
parent | 4a6226af28a98501c05d961d8878c5e1091d0dee (diff) |
kernel/amd64: lapic: Fixup LAPIC state tracking
This commit removes the lapic_set_base() function and certain globals
from the Local APIC driver so it won't cause problems on hardware with
many CPU sockets or that is just wacky.
Signed-off-by: Ian Moffett <ian@osmora.org>
Diffstat (limited to 'sys/include/firmware/acpi')
-rw-r--r-- | sys/include/firmware/acpi/acpi.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/sys/include/firmware/acpi/acpi.h b/sys/include/firmware/acpi/acpi.h index 3352627..7d092e7 100644 --- a/sys/include/firmware/acpi/acpi.h +++ b/sys/include/firmware/acpi/acpi.h @@ -31,6 +31,7 @@ #define _ACPI_ACPI_H_ #include <firmware/acpi/tables.h> +#include <machine/cpu.h> #include <sys/types.h> void acpi_init(void); @@ -39,6 +40,6 @@ void *acpi_query(const char *query); 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(void); +void acpi_parse_madt(struct cpu_info *ci); #endif /* !_ACPI_ACPI_H_ */ |