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
This commit is contained in:
bxing
2006-06-10 07:16:11 +00:00
parent 8b4e96c42b
commit 4cbd217532
17 changed files with 511 additions and 471 deletions

View File

@@ -20,10 +20,15 @@
;------------------------------------------------------------------------------
.386
.model flat
.model flat,C
.code
_SetJump PROC
InternalAssertJumpBuffer PROTO C
SetJump PROC
push [esp + 4]
call InternalAssertJumpBuffer
pop ecx
pop ecx
mov edx, [esp]
mov [edx], ebx
@@ -34,6 +39,6 @@ _SetJump PROC
mov [edx + 20], ecx
xor eax, eax
jmp ecx
_SetJump ENDP
SetJump ENDP
END