UefiCpuPkg/CpuExceptionHandler: Add missing comma to exception name array

BZ: https://bugzilla.tianocore.org/show_bug.cgi?id=3373

An update to expand the mExceptionNameStr array failed to add a comma
after original last entry, therefore causing the #CP name to have extra
incorrect characters and the remaining entries to be indexed incorrectly
(off by 1).

Add a comma after the "#CP" entry to resolve this issue.

Fixes: 5277540e37
Cc: Allen Wynn <Allen_Wynn@Dell.com>
Cc: Eric Dong <eric.dong@intel.com>
Cc: Ray Ni <ray.ni@intel.com>
Cc: Laszlo Ersek <lersek@redhat.com>
Cc: Rahul Kumar <rahul1.kumar@intel.com>
Signed-off-by: Tom Lendacky <thomas.lendacky@amd.com>
Message-Id: <40e55bf6563ed8ea4962a1219efbe1ab77a56cc4.1620919615.git.thomas.lendacky@amd.com>
Reviewed-by: Laszlo Ersek <lersek@redhat.com>
This commit is contained in:
Lendacky, Thomas 2021-05-13 10:26:56 -05:00 committed by mergify[bot]
parent d82c4693f8
commit 32928415e3
1 changed files with 1 additions and 1 deletions

View File

@ -44,7 +44,7 @@ CONST CHAR8 *mExceptionNameStr[] = {
"#MC - Machine-Check",
"#XM - SIMD floating-point",
"#VE - Virtualization",
"#CP - Control Protection"
"#CP - Control Protection",
"Reserved",
"Reserved",
"Reserved",