diff options
author | Jeff Fan <jeff.fan@intel.com> | 2016-11-15 16:29:22 +0800 |
---|---|---|
committer | Jeff Fan <jeff.fan@intel.com> | 2016-11-18 09:43:53 +0800 |
commit | ec16deeac90e4b8014394be58a229f6aa8c493af (patch) | |
tree | ef8edce62c1a7d91838afd6de16971fa84dca396 /.gitignore | |
parent | 5c88af795dadb81c9fe43af813b7b6d69bc5e0e4 (diff) | |
download | edk2-platforms-ec16deeac90e4b8014394be58a229f6aa8c493af.tar.xz |
UefiCpuPkg/SecCore: Correct print format for stack information
v2:
Per Laszlo and Andrew's comments at
https://lists.01.org/pipermail/edk2-devel/2016-November/004759.html
SecCoreData->StackBase is VOID * type. We should use %p to dump VOID * type.
SecCoreData->StackSize is UINTN type, but %x only could print unsinged-int
type. We will cast it to UINT32 firstly and then use %x to print it.
Cc: Laszlo Ersek <lersek@redhat.com>
Cc: Andrew Fish <afish@apple.com>
Cc: Feng Tian <feng.tian@intel.com>
Cc: Michael D Kinney <michael.d.kinney@intel.com>
Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Jeff Fan <jeff.fan@intel.com>
Reviewed-by: Laszlo Ersek <lersek@redhat.com>
Diffstat (limited to '.gitignore')
0 files changed, 0 insertions, 0 deletions