]> git.proxmox.com Git - mirror_edk2.git/commitdiff
Replace "addr16" with other instructions.
authorqhuang8 <qhuang8@6f19259b-4bc3-4df7-8a09-765794883524>
Mon, 10 Mar 2008 05:57:03 +0000 (05:57 +0000)
committerqhuang8 <qhuang8@6f19259b-4bc3-4df7-8a09-765794883524>
Mon, 10 Mar 2008 05:57:03 +0000 (05:57 +0000)
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

index 07d544b0c5a7de99437058d24e362cf3d98665f0..5755a3705f0f37512cdeffc84d47724692681f7b 100644 (file)
@@ -98,8 +98,8 @@ ASM_PFX(ToUserCode):
     call    L_Base                      # push eip\r
 L_Base:\r
     popw    %bp                         # ebp <- offset L_Base\r
-    addr16  pushl 36(%si)\r
-    .byte   0x36\r
+    .byte   0x67;                       # address size override\r
+    push    54(%esp)\r
     lea     0xc(%esi), %eax\r
     push    %eax\r
     lret\r