fix: [Common] Fix debug message to print cpu state

Fixed debug message to print cpu index, APIC ID and cpu state in order.

Signed-off-by: Chirag Vijay Kolhe <chirag.vijay.kolhe@intel.com>
This commit is contained in:
Chirag Vijay Kolhe 2023-12-12 15:04:10 +05:30 committed by Guo Dong
parent 3c91898074
commit 7e3a4cb601
1 changed files with 1 additions and 1 deletions

View File

@ -565,7 +565,7 @@ MpInit (
for (Index = 1; Index < mSysCpuTask.CpuCount; Index++) {
if (mSysCpuTask.CpuTask[Index].State != EnumCpuReady) {
DEBUG ((DEBUG_ERROR, " CPU %2d is not ready yet! State = %d\n", Index,
DEBUG ((DEBUG_ERROR, " CPU %2d with APIC ID %d is not ready yet! State = %d\n", Index,
mSysCpuInfo.CpuInfo[Index].ApicId, mSysCpuTask.CpuTask[Index].State));
}
}