From af7591bc26c97c85ef4a0440d4a064ced82affcf Mon Sep 17 00:00:00 2001 From: Jeremy Soller Date: Sun, 3 Aug 2025 20:56:18 -0600 Subject: [PATCH] Clarify vector number in IPI --- src/arch/x86_shared/device/local_apic.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/arch/x86_shared/device/local_apic.rs b/src/arch/x86_shared/device/local_apic.rs index c3bd269204..cc78b57046 100644 --- a/src/arch/x86_shared/device/local_apic.rs +++ b/src/arch/x86_shared/device/local_apic.rs @@ -153,7 +153,7 @@ impl LocalApic { pub fn ipi(&mut self, apic_id: ApicId, kind: IpiKind) { let shift = if self.x2 { 32 } else { 56 }; - self.set_icr((u64::from(apic_id.get()) << shift) | (1 << 6) | kind as u64); + self.set_icr((u64::from(apic_id.get()) << shift) | 0x40 | kind as u64); } pub fn ipi_nmi(&mut self, apic_id: ApicId) { let shift = if self.x2 { 32 } else { 56 };