summaryrefslogtreecommitdiff
path: root/MdePkg/Library/BaseLib/X64/SetJump.asm
diff options
context:
space:
mode:
Diffstat (limited to 'MdePkg/Library/BaseLib/X64/SetJump.asm')
-rw-r--r--MdePkg/Library/BaseLib/X64/SetJump.asm7
1 files changed, 7 insertions, 0 deletions
diff --git a/MdePkg/Library/BaseLib/X64/SetJump.asm b/MdePkg/Library/BaseLib/X64/SetJump.asm
index 305e721b8b..148b0cb65e 100644
--- a/MdePkg/Library/BaseLib/X64/SetJump.asm
+++ b/MdePkg/Library/BaseLib/X64/SetJump.asm
@@ -21,7 +21,14 @@
.code
+EXTERNDEF InternalAssertJumpBuffer:PROC
+
SetJump PROC
+ push rcx
+ add rsp, -20h
+ call InternalAssertJumpBuffer
+ add rsp, 20h
+ pop rcx
pop rdx
mov [rcx], rbx
mov [rcx + 8], rsp