]> git.proxmox.com Git - mirror_edk2.git/blobdiff - MdePkg/Library/BaseLib/Ia32/SetJump.S
1. Add Assert in SetJump.S
[mirror_edk2.git] / MdePkg / Library / BaseLib / Ia32 / SetJump.S
index b1b6a84f631f7f9c00f4fda1a2dd43a64c1b4f25..05acc4ab2620fb7b7cdff8cd7e19e859d695da3c 100644 (file)
 \r
      \r
 \r
-.global _SetJump\r
+.global _SetJump, _InternalAssertJumpBuffer\r
 _SetJump: \r
+    pushl   0x4(%esp)\r
+    call    _InternalAssertJumpBuffer\r
+    popl    %ecx\r
     popl    %ecx\r
     movl    (%esp),%edx\r
     movl    %ebx,(%edx)\r