UefiCpuPkg: Display new stack base and size
Dump new stack base and size information could help developer to narrow down stack crash issue. Cc: Feng Tian <feng.tian@intel.com> Cc: Liming Gao <liming.gao@intel.com> Cc: Michael Kinney <michael.d.kinney@intel.com> Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: Jeff Fan <jeff.fan@intel.com> Reviewed-by: Feng Tian <feng.tian@intel.com>
This commit is contained in:
@@ -515,6 +515,13 @@ S3ResumeBootOs (
|
||||
// Switch to native waking vector
|
||||
//
|
||||
TempStackTop = (UINTN)&TempStack + sizeof(TempStack);
|
||||
DEBUG ((
|
||||
DEBUG_INFO,
|
||||
"%a() Stack Base: 0x%x, Stack Size: 0x%x\n",
|
||||
__FUNCTION__,
|
||||
TempStackTop,
|
||||
sizeof (TempStack)
|
||||
));
|
||||
if ((Facs->Version == EFI_ACPI_4_0_FIRMWARE_ACPI_CONTROL_STRUCTURE_VERSION) &&
|
||||
((Facs->Flags & EFI_ACPI_4_0_64BIT_WAKE_SUPPORTED_F) != 0) &&
|
||||
((Facs->Flags & EFI_ACPI_4_0_OSPM_64BIT_WAKE__F) != 0)) {
|
||||
|
Reference in New Issue
Block a user