]> git.proxmox.com Git - mirror_edk2.git/blobdiff - MdePkg/Library/BaseLib/AArch64/SwitchStack.S
MdePkg/BaseLib AARCH64: terminate stack frame list on stack switch
[mirror_edk2.git] / MdePkg / Library / BaseLib / AArch64 / SwitchStack.S
index 2bce9c998f4f8407af5c613575d6424d2c37cec0..c3ac8d7e4dfe750ef1c4bce4d9874a76bdcfa67f 100644 (file)
@@ -40,6 +40,7 @@ InternalSwitchStackAsm (
   );\r
 **/\r
 ASM_PFX(InternalSwitchStackAsm):\r
+    mov   x29, #0\r
     mov   x30, x0\r
     mov   sp, x3\r
     mov   x0, x1\r