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;