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:
@@ -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
|
||||
|
Reference in New Issue
Block a user