]> git.proxmox.com Git - mirror_edk2.git/blobdiff - EdkCompatibilityPkg/Foundation/Library/Thunk16/X64/Fx.S
Fixed issues compiling for Apple gcc on IA-32
[mirror_edk2.git] / EdkCompatibilityPkg / Foundation / Library / Thunk16 / X64 / Fx.S
index 60ecdb7d25cb2286dfbba3131e59686b244c92c4..032a98b7d454199f9f5063fc081a254fba4732ec 100644 (file)
@@ -1,48 +1,48 @@
-#*****************************************************************************\r
-#*\r
-#*   Copyright (c) 2008, Intel Corporation                                                         \r
-#*   All rights reserved. This program and the accompanying materials                          \r
-#*   are licensed and made available under the terms and conditions of the BSD License         \r
-#*   which accompanies this distribution.  The full text of the license may be found at        \r
-#*   http://opensource.org/licenses/bsd-license.php                                            \r
-#*                                                                                             \r
-#*   THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,                     \r
-#*   WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.             \r
-#*   \r
-#*   Module Name:\r
-#*\r
-#*    Fx.S\r
-#*  \r
-#*   Abstract:\r
-#*  \r
-#*    AsmFxRestore and AsmFxSave function\r
-#*  \r
-#*****************************************************************************\r
-#include <EfiBind.h>\r
-\r
-.global ASM_PFX(AsmFxSave)\r
-.global ASM_PFX(AsmFxRestore)\r
-\r
-    .text\r
-\r
-#------------------------------------------------------------------------------\r
-# VOID\r
-# AsmFxSave (\r
-#   OUT IA32_FX_BUFFER *Buffer\r
-#   );\r
-#------------------------------------------------------------------------------\r
-ASM_PFX(AsmFxSave):\r
-    fxsave (%rcx)\r
-    retq\r
-    \r
-#------------------------------------------------------------------------------\r
-# VOID\r
-# AsmFxRestore (\r
-#   IN CONST IA32_FX_BUFFER *Buffer\r
-#   );\r
-#------------------------------------------------------------------------------\r
-\r
-ASM_PFX(AsmFxRestore):\r
-    fxrstor (%rcx)\r
-    retq\r
+#*****************************************************************************
+#*
+#*   Copyright (c) 2008, Intel Corporation                                                         
+#*   All rights reserved. This program and the accompanying materials                          
+#*   are licensed and made available under the terms and conditions of the BSD License         
+#*   which accompanies this distribution.  The full text of the license may be found at        
+#*   http://opensource.org/licenses/bsd-license.php                                            
+#*                                                                                             
+#*   THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,                     
+#*   WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.             
+#*   
+#*   Module Name:
+#*
+#*    Fx.S
+#*  
+#*   Abstract:
+#*  
+#*    AsmFxRestore and AsmFxSave function
+#*  
+#*****************************************************************************
+#include <EfiBind.h>
+
+.globl ASM_PFX(AsmFxSave)
+.globl ASM_PFX(AsmFxRestore)
+
+    .text
+
+#------------------------------------------------------------------------------
+# VOID
+# AsmFxSave (
+#   OUT IA32_FX_BUFFER *Buffer
+#   );
+#------------------------------------------------------------------------------
+ASM_PFX(AsmFxSave):
+    fxsave (%rcx)
+    retq
+    
+#------------------------------------------------------------------------------
+# VOID
+# AsmFxRestore (
+#   IN CONST IA32_FX_BUFFER *Buffer
+#   );
+#------------------------------------------------------------------------------
+
+ASM_PFX(AsmFxRestore):
+    fxrstor (%rcx)
+    retq
     
\ No newline at end of file