diff options
Diffstat (limited to 'MdePkg')
-rw-r--r-- | MdePkg/Library/BaseLib/Ia32/Thunk16.S | 4 |
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
|