]> git.proxmox.com Git - mirror_edk2.git/blobdiff - EdkCompatibilityPkg/Foundation/Library/RuntimeDxe/EfiRuntimeLib/X64/RuntimeLibAsm.S
Fixed issues compiling for Apple gcc on IA-32
[mirror_edk2.git] / EdkCompatibilityPkg / Foundation / Library / RuntimeDxe / EfiRuntimeLib / X64 / RuntimeLibAsm.S
index 31bc7c5a823ac4c1a53d4bc0155a4f06f96eebb8..b43c98fd0cde8d49bd321b46cbd518cd4a4b15fc 100644 (file)
@@ -1,37 +1,37 @@
-#------------------------------------------------------------------------------\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
-#   RuntimeLibAsm.S\r
-#\r
-# Abstract:\r
-#\r
-#\r
-#------------------------------------------------------------------------------\r
-#include <EfiBind.h>\r
-\r
-.text\r
-\r
-.global ASM_PFX(EfiCpuFlushCache)\r
-#------------------------------------------------------------------------------\r
-#EFI_STATUS\r
-#EfiCpuFlushCache (\r
-#  IN EFI_PHYSICAL_ADDRESS          Start,\r
-#  IN UINT64                        Length\r
-#  );\r
-#------------------------------------------------------------------------------\r
-\r
-ASM_PFX(EfiCpuFlushCache):\r
-    wbinvd\r
-    mov $0, %rax\r
-    ret\r
-\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:
+#
+#   RuntimeLibAsm.S
+#
+# Abstract:
+#
+#
+#------------------------------------------------------------------------------
+#include <EfiBind.h>
+
+.text
+
+.globl ASM_PFX(EfiCpuFlushCache)
+#------------------------------------------------------------------------------
+#EFI_STATUS
+#EfiCpuFlushCache (
+#  IN EFI_PHYSICAL_ADDRESS          Start,
+#  IN UINT64                        Length
+#  );
+#------------------------------------------------------------------------------
+
+ASM_PFX(EfiCpuFlushCache):
+    wbinvd
+    mov $0, %rax
+    ret
+