]> git.proxmox.com Git - mirror_edk2.git/blobdiff - MdePkg/Library/BaseLib/Ia32/Thunk16.S
Replace "addr16" with other instructions.
[mirror_edk2.git] / 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