audk/ArmPlatformPkg/PrePeiCore/AArch64
Ard Biesheuvel 7e2a8dfe8a ArmPlatformPkg/PrePeiCore: seed temporary stack before entering PEI core
DEBUG builds of PEI code will print a diagnostic message regarding
the utilization of temporary RAM before switching to permanent RAM.
For example,

  Total temporary memory:    16352 bytes.
    temporary memory stack ever used:       4820 bytes.
    temporary memory heap used for HobList: 4720 bytes.

Tracking stack utilization like this requires the stack to be seeded
with a known magic value, and this needs to occur before entering C
code, given that it uses the stack. Currently, only Nt32Pkg appears
to implement this feature, but it is useful nonetheless, so let's
wire it up for PrePeiCore.

Contributed-under: TianoCore Contribution Agreement 1.1
Signed-off-by: Ard Biesheuvel <ard.biesheuvel@linaro.org>
Reviewed-by: Liming Gao <liming.gao@intel.com>
Acked-by: Laszlo Ersek <lersek@redhat.com>
Reviewed-by: Leif Lindholm <leif.lindholm@linaro.org>
2017-11-09 21:08:07 +00:00
..
ArchPrePeiCore.c ArmPlatformPkg: Added Aarch64 support 2013-07-18 19:06:52 +00:00
Exception.S ArmPlatformPkg/PrePeiCore: add missing entries to AArch64 vector table 2015-11-27 09:24:27 +00:00
Helper.S ArmPlatformPkg: Timer access for non-secure EL1/0 2017-05-22 15:20:04 +01:00
PrePeiCoreEntryPoint.S ArmPlatformPkg/PrePeiCore: seed temporary stack before entering PEI core 2017-11-09 21:08:07 +00:00
SwitchStack.S ArmPlatformPkg/PrePeiCore: switch to ASM_FUNC() asm macro 2016-08-11 13:25:05 +02:00