X-Git-Url: https://git.proxmox.com/?a=blobdiff_plain;f=MdePkg%2FLibrary%2FBaseLib%2FIa32%2FSetJump.asm;h=7d8579c9b9cc20ad955436e1aba067b811a28592;hb=fa2da5b1c1f8f4ff193c120acbd5412732a57342;hp=41277cd20f5422a11e9dae93d9c6f1b9f5efca6d;hpb=185d764218d07c06838d4758125a5ca66178e7c9;p=mirror_edk2.git diff --git a/MdePkg/Library/BaseLib/Ia32/SetJump.asm b/MdePkg/Library/BaseLib/Ia32/SetJump.asm index 41277cd20f..7d8579c9b9 100644 --- a/MdePkg/Library/BaseLib/Ia32/SetJump.asm +++ b/MdePkg/Library/BaseLib/Ia32/SetJump.asm @@ -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