summaryrefslogtreecommitdiff
path: root/MdePkg/Library/BaseLib/X64/SetJump.asm
diff options
context:
space:
mode:
authorbxing <bxing@6f19259b-4bc3-4df7-8a09-765794883524>2006-06-10 07:16:11 +0000
committerbxing <bxing@6f19259b-4bc3-4df7-8a09-765794883524>2006-06-10 07:16:11 +0000
commit4cbd21753299e5c119af283aa49443a47d7a72fb (patch)
tree14ef1af6d807534aa721845c5f0981339ca723c5 /MdePkg/Library/BaseLib/X64/SetJump.asm
parent8b4e96c42bf9bbbd9cfc46fdd5c43a09dfbdbf2e (diff)
downloadedk2-platforms-4cbd21753299e5c119af283aa49443a47d7a72fb.tar.xz
1. Updated SetJump() and LongJump() for IPF
2. Added assertion for SetJump() for all architectures 3. Added CpuSleep() for IPF git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@464 6f19259b-4bc3-4df7-8a09-765794883524
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