summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--MdePkg/Library/BaseLib/AArch64/SwitchStack.S1
1 files changed, 1 insertions, 0 deletions
diff --git a/MdePkg/Library/BaseLib/AArch64/SwitchStack.S b/MdePkg/Library/BaseLib/AArch64/SwitchStack.S
index 2bce9c9..c3ac8d7 100644
--- a/MdePkg/Library/BaseLib/AArch64/SwitchStack.S
+++ b/MdePkg/Library/BaseLib/AArch64/SwitchStack.S
@@ -40,6 +40,7 @@ InternalSwitchStackAsm (
);
**/
ASM_PFX(InternalSwitchStackAsm):
+ mov x29, #0
mov x30, x0
mov sp, x3
mov x0, x1