]> git.proxmox.com Git - mirror_edk2.git/commit
MdePkg/BaseLib AARCH64: terminate stack frame list on stack switch
authorArd Biesheuvel <ard.biesheuvel@linaro.org>
Fri, 9 Sep 2016 07:17:40 +0000 (08:17 +0100)
committerArd Biesheuvel <ard.biesheuvel@linaro.org>
Fri, 9 Sep 2016 12:46:52 +0000 (13:46 +0100)
commit35071e15748fa54809e485935b631dbe58c1f078
tree78f39847b89614d777274a78a66427c6cbc05372
parent2d41ea3aed4ea1935fc63df35b834e9626f896df
MdePkg/BaseLib AARCH64: terminate stack frame list on stack switch

When switching to the DXE phase stack, set the frame pointer to zero so
that code walking the stack frame will not try to access stack frames
belonging to the old stack.

Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Ard Biesheuvel <ard.biesheuvel@linaro.org>
Reviewed-by: Leif Lindholm <leif.lindholm@linaro.org>
MdePkg/Library/BaseLib/AArch64/SwitchStack.S