summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorStar Zeng <star.zeng@intel.com>2025-01-22 11:52:54 +0800
committermergify[bot] <37929162+mergify[bot]@users.noreply.github.com>2025-01-24 14:09:37 +0000
commit38c17825adbe027148874fd0a2e07bfbc21b3fff (patch)
tree1f28a8b8d33d6c1b6ab7caf6c3d4b65f68b319f7
parent99cbb636521a816fc2a078e692fb29b59bc5c84b (diff)
downloadedk2-38c17825adbe027148874fd0a2e07bfbc21b3fff.tar.gz
UefiCpuPkg LocalApicLib: Correct typo LINT0 to LINT1
In ProgramVirtualWireMode(), correct typo LINT0 to LINT1. Signed-off-by: Star Zeng <star.zeng@intel.com>
-rw-r--r--UefiCpuPkg/Library/BaseXApicLib/BaseXApicLib.c2
-rw-r--r--UefiCpuPkg/Library/BaseXApicX2ApicLib/BaseXApicX2ApicLib.c2
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;