From 9e77c2c3b7da1927bb58400b054e2b065995c825 Mon Sep 17 00:00:00 2001 From: qhuang8 Date: Mon, 10 Mar 2008 05:57:03 +0000 Subject: 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 --- MdePkg/Library/BaseLib/Ia32/Thunk16.S | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'MdePkg') 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 -- cgit v1.2.3