UefiCpuPkg LocalApicLib: Correct typo LINT0 to LINT1

In ProgramVirtualWireMode(), correct typo LINT0 to LINT1.

Signed-off-by: Star Zeng <star.zeng@intel.com>
This commit is contained in:
Star Zeng 2025-01-22 11:52:54 +08:00 committed by mergify[bot]
parent 99cbb63652
commit 38c17825ad
2 changed files with 2 additions and 2 deletions

View File

@ -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;

View File

@ -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;