From 9bf1f0849061723d9fb195991b0b6f198708c73d Mon Sep 17 00:00:00 2001 From: Ian Moffett Date: Mon, 13 Oct 2025 17:10:57 -0400 Subject: kern/amd64: Init LAPIC before PCI bus driver A lot of PCI(e) devices rely in MSI-X which pokes the Local APIC via MMIO, we'll want the LAPIC up before PCI(e) Signed-off-by: Ian Moffett --- src/sys/arch/amd64/cpu/cpu_conf.c | 2 -- 1 file changed, 2 deletions(-) (limited to 'src/sys/arch/amd64/cpu/cpu_conf.c') diff --git a/src/sys/arch/amd64/cpu/cpu_conf.c b/src/sys/arch/amd64/cpu/cpu_conf.c index f844cf7..da2d747 100644 --- a/src/sys/arch/amd64/cpu/cpu_conf.c +++ b/src/sys/arch/amd64/cpu/cpu_conf.c @@ -32,7 +32,6 @@ #include #include #include -#include #include #include #include @@ -204,5 +203,4 @@ void cpu_init(struct pcore *pcore) { platform_boot(); - lapic_init(); } -- cgit v1.2.3