From 2998842b39d42faa6d26cb592ee2f5203c41516e Mon Sep 17 00:00:00 2001 From: Ian Moffett Date: Mon, 17 Nov 2025 14:40:12 -0500 Subject: kern/amd64: lapic: Fix SVR low byte to logical 1s Signed-off-by: Ian Moffett --- sys/arch/amd64/cpu/lapic.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'sys/arch') diff --git a/sys/arch/amd64/cpu/lapic.c b/sys/arch/amd64/cpu/lapic.c index 532c0e7..7f1c9f2 100644 --- a/sys/arch/amd64/cpu/lapic.c +++ b/sys/arch/amd64/cpu/lapic.c @@ -334,7 +334,7 @@ lapic_enable(struct mcb *mcb) /* Software enable the Local APIC unit */ svr = lapic_read(mcb, LAPIC_REG_SVR); svr |= LAPIC_SVR_APIC_EN; - lapic_write(mcb, LAPIC_REG_SVR, svr); + lapic_write(mcb, LAPIC_REG_SVR, svr | 0xFF); } void -- cgit v1.2.3