summaryrefslogtreecommitdiff
path: root/MdePkg
diff options
context:
space:
mode:
authorqhuang8 <qhuang8@6f19259b-4bc3-4df7-8a09-765794883524>2008-03-10 05:57:03 +0000
committerqhuang8 <qhuang8@6f19259b-4bc3-4df7-8a09-765794883524>2008-03-10 05:57:03 +0000
commit9e77c2c3b7da1927bb58400b054e2b065995c825 (patch)
tree01dff403095a6b9389c9240b38fdadde947ff9b6 /MdePkg
parentfcb577f4581f46c958b224717dc3f87ac67b74a0 (diff)
downloadedk2-platforms-9e77c2c3b7da1927bb58400b054e2b065995c825.tar.xz
Replace "addr16" with other instructions.
Thunk16.S was merely "translated" from Thunk16.asm to ensure of the binary equivalence. git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@4812 6f19259b-4bc3-4df7-8a09-765794883524
Diffstat (limited to 'MdePkg')
-rw-r--r--MdePkg/Library/BaseLib/Ia32/Thunk16.S4
1 files changed, 2 insertions, 2 deletions
diff --git a/MdePkg/Library/BaseLib/Ia32/Thunk16.S b/MdePkg/Library/BaseLib/Ia32/Thunk16.S
index 07d544b0c5..5755a3705f 100644
--- a/MdePkg/Library/BaseLib/Ia32/Thunk16.S
+++ b/MdePkg/Library/BaseLib/Ia32/Thunk16.S
@@ -98,8 +98,8 @@ ASM_PFX(ToUserCode):
call L_Base # push eip
L_Base:
popw %bp # ebp <- offset L_Base
- addr16 pushl 36(%si)
- .byte 0x36
+ .byte 0x67; # address size override
+ push 54(%esp)
lea 0xc(%esi), %eax
push %eax
lret