diff options
author | vanjeff <vanjeff@6f19259b-4bc3-4df7-8a09-765794883524> | 2008-10-28 09:51:44 +0000 |
---|---|---|
committer | vanjeff <vanjeff@6f19259b-4bc3-4df7-8a09-765794883524> | 2008-10-28 09:51:44 +0000 |
commit | 57246fe073e7946e03387576fca76eba86b51694 (patch) | |
tree | 00f1ec8aabce2506deec539217de37feb885cd31 /MdePkg/Library/BaseLib/Ia32/SetJump.S | |
parent | 85ea851e6a3df3f5021e9e038d6b4162c66b394c (diff) | |
download | edk2-57246fe073e7946e03387576fca76eba86b51694.tar.gz edk2-57246fe073e7946e03387576fca76eba86b51694.tar.bz2 edk2-57246fe073e7946e03387576fca76eba86b51694.zip |
sync comments.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@6274 6f19259b-4bc3-4df7-8a09-765794883524
Diffstat (limited to 'MdePkg/Library/BaseLib/Ia32/SetJump.S')
-rw-r--r-- | MdePkg/Library/BaseLib/Ia32/SetJump.S | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/MdePkg/Library/BaseLib/Ia32/SetJump.S b/MdePkg/Library/BaseLib/Ia32/SetJump.S index acb2b95e25..dc7f048003 100644 --- a/MdePkg/Library/BaseLib/Ia32/SetJump.S +++ b/MdePkg/Library/BaseLib/Ia32/SetJump.S @@ -30,15 +30,15 @@ #------------------------------------------------------------------------------
ASM_PFX(SetJump):
pushl 0x4(%esp)
- call ASM_PFX(InternalAssertJumpBuffer)
- pop %ecx
+ call ASM_PFX(InternalAssertJumpBuffer) # To validate JumpBuffer
pop %ecx
+ pop %ecx # ecx <- return address
movl (%esp), %edx
movl %ebx, (%edx)
movl %esi, 4(%edx)
movl %edi, 8(%edx)
movl %ebp, 12(%edx)
movl %esp, 16(%edx)
- movl %ecx, 20(%edx)
+ movl %ecx, 20(%edx) # eip value to restore in LongJump
xorl %eax, %eax
jmp *%ecx
|