From 38c17825adbe027148874fd0a2e07bfbc21b3fff Mon Sep 17 00:00:00 2001 From: Star Zeng Date: Wed, 22 Jan 2025 11:52:54 +0800 Subject: [PATCH] UefiCpuPkg LocalApicLib: Correct typo LINT0 to LINT1 In ProgramVirtualWireMode(), correct typo LINT0 to LINT1. Signed-off-by: Star Zeng --- UefiCpuPkg/Library/BaseXApicLib/BaseXApicLib.c | 2 +- UefiCpuPkg/Library/BaseXApicX2ApicLib/BaseXApicX2ApicLib.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/UefiCpuPkg/Library/BaseXApicLib/BaseXApicLib.c b/UefiCpuPkg/Library/BaseXApicLib/BaseXApicLib.c index c4457d98b3..9767e3b48e 100644 --- a/UefiCpuPkg/Library/BaseXApicLib/BaseXApicLib.c +++ b/UefiCpuPkg/Library/BaseXApicLib/BaseXApicLib.c @@ -656,7 +656,7 @@ ProgramVirtualWireMode ( WriteLocalApicReg (XAPIC_LVT_LINT0_OFFSET, Lint.Uint32); // - // Program the LINT0 vector entry as NMI. Not masked, edge, active high. + // Program the LINT1 vector entry as NMI. Not masked, edge, active high. // Lint.Uint32 = ReadLocalApicReg (XAPIC_LVT_LINT1_OFFSET); Lint.Bits.DeliveryMode = LOCAL_APIC_DELIVERY_MODE_NMI; diff --git a/UefiCpuPkg/Library/BaseXApicX2ApicLib/BaseXApicX2ApicLib.c b/UefiCpuPkg/Library/BaseXApicX2ApicLib/BaseXApicX2ApicLib.c index 0560d38ce5..7fa997c882 100644 --- a/UefiCpuPkg/Library/BaseXApicX2ApicLib/BaseXApicX2ApicLib.c +++ b/UefiCpuPkg/Library/BaseXApicX2ApicLib/BaseXApicX2ApicLib.c @@ -895,7 +895,7 @@ ProgramVirtualWireMode ( WriteLocalApicReg (XAPIC_LVT_LINT0_OFFSET, Lint.Uint32); // - // Program the LINT0 vector entry as NMI. Not masked, edge, active high. + // Program the LINT1 vector entry as NMI. Not masked, edge, active high. // Lint.Uint32 = ReadLocalApicReg (XAPIC_LVT_LINT1_OFFSET); Lint.Bits.DeliveryMode = LOCAL_APIC_DELIVERY_MODE_NMI;