public inbox for devel@edk2.groups.io
 help / color / mirror / Atom feed
* [PATCH 0/3] Display new stack base and size
@ 2016-11-04  2:18 Jeff Fan
  2016-11-04  2:19 ` [PATCH 1/3] MdeModulePkg: " Jeff Fan
                   ` (3 more replies)
  0 siblings, 4 replies; 7+ messages in thread
From: Jeff Fan @ 2016-11-04  2:18 UTC (permalink / raw)
  To: edk2-devel

Dump new stack base and size could help developer to fix stack crash 
issue. 
Normally, stack is changed by EnablePaging64()/DisablePaging64()/SwitchStack().
But these APIs have no knowledge of stack size. It's better to let caller
display the stack base and size informations. Some modules alreadys displayed
stack information. This serial of patches are to fix those modules missing it.

We also fixed one bug in DxeIplPeim, local BaseOfStack is overwritten wrongly. 

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

Jeff Fan (3):
  MdeModulePkg: Display new stack base and size
  UefiCpuPkg: Display new stack base and size
  MdeModulePkg/DxeIplPeim: UINTN used wrongly for EFI_PHYSICAL_ADDRESS

 MdeModulePkg/Core/DxeIplPeim/Ia32/DxeLoadFunc.c   | 19 ++++++++++++++++++-
 MdeModulePkg/Universal/CapsulePei/UefiCapsule.c   |  8 ++++++++
 MdeModulePkg/Universal/CapsulePei/X64/X64Entry.c  |  8 ++++++++
 UefiCpuPkg/SecCore/SecMain.c                      | 10 +++++++++-
 UefiCpuPkg/Universal/Acpi/S3Resume2Pei/S3Resume.c |  7 +++++++
 5 files changed, 50 insertions(+), 2 deletions(-)

-- 
2.9.3.windows.2



^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2016-11-09  7:21 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-11-04  2:18 [PATCH 0/3] Display new stack base and size Jeff Fan
2016-11-04  2:19 ` [PATCH 1/3] MdeModulePkg: " Jeff Fan
2016-11-04  2:19 ` [PATCH 2/3] UefiCpuPkg: " Jeff Fan
2016-11-04  2:19 ` [PATCH 3/3] MdeModulePkg/DxeIplPeim: UINTN used wrongly for EFI_PHYSICAL_ADDRESS Jeff Fan
2016-11-04  3:28   ` Gao, Liming
2016-11-04  4:49   ` Gao, Liming
2016-11-09  7:21 ` [PATCH 0/3] Display new stack base and size Tian, Feng

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox