]> git.proxmox.com Git - mirror_edk2.git/blobdiff - BaseTools/Source/C/Include/Arm/ProcessorBind.h
BaseTools: Clean up source files
[mirror_edk2.git] / BaseTools / Source / C / Include / Arm / ProcessorBind.h
index d84f16e7ba188f9fe48ca116886346401ca56709..be4aac97664dcecabfab57bf3ab246126a2c1b3c 100644 (file)
@@ -1,15 +1,15 @@
 /** @file\r
   Processor or Compiler specific defines and types for ARM.\r
 \r
-  Copyright (c) 2006 - 2012, Intel Corporation. All rights reserved.<BR>\r
+  Copyright (c) 2006 - 2018, Intel Corporation. All rights reserved.<BR>\r
   Portions copyright (c) 2008 - 2009, Apple Inc. All rights reserved.<BR>\r
-  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
+  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
+  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
 **/\r
 \r
@@ -28,9 +28,9 @@
 #pragma pack()\r
 #endif\r
 \r
-#if _MSC_EXTENSIONS \r
+#if _MSC_EXTENSIONS\r
   //\r
-  // use Microsoft* C complier dependent integer width types \r
+  // use Microsoft* C complier dependent integer width types\r
   //\r
   typedef unsigned __int64    UINT64;\r
   typedef __int64             INT64;\r
@@ -45,7 +45,7 @@
   typedef signed char         INT8;\r
 #else\r
   //\r
-  // Assume standard ARM alignment. \r
+  // Assume standard ARM alignment.\r
   //\r
   typedef unsigned long long  UINT64;\r
   typedef long long           INT64;\r
@@ -103,7 +103,7 @@ typedef INT32   INTN;
 // use the correct C calling convention. All protocol member functions and\r
 // EFI intrinsics are required to modify their member functions with EFIAPI.\r
 //\r
-#define EFIAPI    \r
+#define EFIAPI\r
 \r
 #if defined(__GNUC__)\r
   ///\r
@@ -122,34 +122,34 @@ typedef INT32   INTN;
 \r
     #define GCC_ASM_EXPORT(func__)  \\r
              .global  _CONCATENATE (__USER_LABEL_PREFIX__, func__)    ;\\r
-             .type ASM_PFX(func__), %function  \r
+             .type ASM_PFX(func__), %function\r
 \r
     #define GCC_ASM_IMPORT(func__)  \\r
              .extern  _CONCATENATE (__USER_LABEL_PREFIX__, func__)\r
-             \r
+\r
   #else\r
     //\r
-    // .type not supported by Apple Xcode tools \r
+    // .type not supported by Apple Xcode tools\r
     //\r
-    #define INTERWORK_FUNC(func__)  \r
+    #define INTERWORK_FUNC(func__)\r
 \r
     #define GCC_ASM_EXPORT(func__)  \\r
              .globl  _CONCATENATE (__USER_LABEL_PREFIX__, func__)    \\r
-  \r
-    #define GCC_ASM_IMPORT(name)  \r
+\r
+    #define GCC_ASM_IMPORT(name)\r
 \r
   #endif\r
 #endif\r
 \r
 /**\r
   Return the pointer to the first instruction of a function given a function pointer.\r
-  On ARM CPU architectures, these two pointer values are the same, \r
+  On ARM CPU architectures, these two pointer values are the same,\r
   so the implementation of this macro is very simple.\r
-  \r
+\r
   @param  FunctionPointer   A pointer to a function.\r
 \r
   @return The pointer to the first instruction of a function given a function pointer.\r
-  \r
+\r
 **/\r
 #define FUNCTION_ENTRY_POINT(FunctionPointer) (VOID *)(UINTN)(FunctionPointer)\r
 \r