diff options
Diffstat (limited to 'sys/arch')
-rw-r--r-- | sys/arch/amd64/amd64/machdep.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/sys/arch/amd64/amd64/machdep.c b/sys/arch/amd64/amd64/machdep.c index 1194b63..07f16fc 100644 --- a/sys/arch/amd64/amd64/machdep.c +++ b/sys/arch/amd64/amd64/machdep.c @@ -41,6 +41,7 @@ #include <vm/vm.h> #include <vm/physseg.h> #include <firmware/acpi/acpi.h> +#include <sys/syslog.h> __MODULE_NAME("machdep"); __KERNEL_META("$Hyra$: machdep.c, Ian Marco Moffett, " @@ -135,6 +136,7 @@ processor_init(void) ioapic_init(); } + cur_cpu->lapic_base = acpi_get_lapic_base(); CPU_INFO_UNLOCK(cur_cpu); lapic_init(); /* Per core */ |