]> git.proxmox.com Git - mirror_edk2.git/blobdiff - EdkCompatibilityPkg/Foundation/Library/Thunk16/X64/Thunk16.S
Maintainers.txt: Remove EdkCompatibilityPkg information
[mirror_edk2.git] / EdkCompatibilityPkg / Foundation / Library / Thunk16 / X64 / Thunk16.S
index 10f3a34c1920d2a1e96853cb72025480ecceea5c..f77388d81161301756845b83674267e148c50f1b 100644 (file)
@@ -20,7 +20,7 @@
 #*****************************************************************************\r
 #include <EfiBind.h>\r
 \r
-\r
+#ifndef __APPLE__\r
 \r
     .data\r
 \r
@@ -148,7 +148,7 @@ Label_16Bit:
 \r
 Label:\r
       xor    %rax,%rax\r
-      movl   %ss,%eax\r
+      movw   %ss,%ax\r
       shl    $0x4,%eax\r
       add    %esp,%eax\r
       mov    %r15,%rsp\r
@@ -240,3 +240,5 @@ FarCallRet:
 _16Idtr:\r
    .word 0x3ff                          #FWORD   (1 SHL 10) - 1\r
    .byte 0x00\r
+\r
+#endif\r