]> git.proxmox.com Git - mirror_edk2.git/blobdiff - MdePkg/Library/BaseLib/Ia32/GccInline.c
MdePkg: Apply uncrustify changes
[mirror_edk2.git] / MdePkg / Library / BaseLib / Ia32 / GccInline.c
index 6ed938187a08a8494686e843f08718b8c3f06203..dab20c8aa220165bd6a5314294bf76c4a8ce7086 100644 (file)
@@ -7,7 +7,6 @@
 \r
 **/\r
 \r
-\r
 #include "BaseLibInternals.h"\r
 \r
 /**\r
@@ -77,13 +76,13 @@ AsmReadEflags (
   VOID\r
   )\r
 {\r
-  UINTN Eflags;\r
+  UINTN  Eflags;\r
 \r
   __asm__ __volatile__ (\r
     "pushfl     \n\t"\r
     "popl %0        "\r
     : "=r" (Eflags)\r
-    );\r
+  );\r
 \r
   return Eflags;\r
 }\r
@@ -101,17 +100,16 @@ AsmReadEflags (
 VOID\r
 EFIAPI\r
 InternalX86FxSave (\r
-  OUT     IA32_FX_BUFFER            *Buffer\r
+  OUT     IA32_FX_BUFFER  *Buffer\r
   )\r
 {\r
   __asm__ __volatile__ (\r
     "fxsave %0"\r
     :\r
     : "m" (*Buffer)  // %0\r
-    );\r
+  );\r
 }\r
 \r
-\r
 /**\r
   Restores the current floating point/SSE/SSE2 context from a buffer.\r
 \r
@@ -125,17 +123,16 @@ InternalX86FxSave (
 VOID\r
 EFIAPI\r
 InternalX86FxRestore (\r
-  IN      CONST IA32_FX_BUFFER      *Buffer\r
+  IN      CONST IA32_FX_BUFFER  *Buffer\r
   )\r
 {\r
   __asm__ __volatile__ (\r
     "fxrstor %0"\r
     :\r
     : "m" (*Buffer)  // %0\r
-    );\r
+  );\r
 }\r
 \r
-\r
 /**\r
   Reads the current value of 64-bit MMX Register #0 (MM0).\r
 \r
@@ -160,12 +157,11 @@ AsmReadMm0 (
     "pop  %%eax          \n\t"\r
     "pop  %%edx          \n\t"\r
     : "=A"  (Data)       // %0\r
-    );\r
+  );\r
 \r
   return Data;\r
 }\r
 \r
-\r
 /**\r
   Reads the current value of 64-bit MMX Register #1 (MM1).\r
 \r
@@ -190,12 +186,11 @@ AsmReadMm1 (
     "pop  %%eax          \n\t"\r
     "pop  %%edx          \n\t"\r
     : "=A"  (Data)       // %0\r
-    );\r
+  );\r
 \r
   return Data;\r
 }\r
 \r
-\r
 /**\r
   Reads the current value of 64-bit MMX Register #2 (MM2).\r
 \r
@@ -220,12 +215,11 @@ AsmReadMm2 (
     "pop  %%eax          \n\t"\r
     "pop  %%edx          \n\t"\r
     : "=A"  (Data)       // %0\r
-    );\r
+  );\r
 \r
   return Data;\r
 }\r
 \r
-\r
 /**\r
   Reads the current value of 64-bit MMX Register #3 (MM3).\r
 \r
@@ -250,12 +244,11 @@ AsmReadMm3 (
     "pop  %%eax          \n\t"\r
     "pop  %%edx          \n\t"\r
     : "=A"  (Data)       // %0\r
-    );\r
+  );\r
 \r
   return Data;\r
 }\r
 \r
-\r
 /**\r
   Reads the current value of 64-bit MMX Register #4 (MM4).\r
 \r
@@ -280,12 +273,11 @@ AsmReadMm4 (
     "pop  %%eax          \n\t"\r
     "pop  %%edx          \n\t"\r
     : "=A"  (Data)       // %0\r
-    );\r
+  );\r
 \r
   return Data;\r
 }\r
 \r
-\r
 /**\r
   Reads the current value of 64-bit MMX Register #5 (MM5).\r
 \r
@@ -310,12 +302,11 @@ AsmReadMm5 (
     "pop  %%eax          \n\t"\r
     "pop  %%edx          \n\t"\r
     : "=A"  (Data)       // %0\r
-    );\r
+  );\r
 \r
   return Data;\r
 }\r
 \r
-\r
 /**\r
   Reads the current value of 64-bit MMX Register #6 (MM6).\r
 \r
@@ -340,12 +331,11 @@ AsmReadMm6 (
     "pop  %%eax          \n\t"\r
     "pop  %%edx          \n\t"\r
     : "=A"  (Data)       // %0\r
-    );\r
+  );\r
 \r
   return Data;\r
 }\r
 \r
-\r
 /**\r
   Reads the current value of 64-bit MMX Register #7 (MM7).\r
 \r
@@ -370,12 +360,11 @@ AsmReadMm7 (
     "pop  %%eax          \n\t"\r
     "pop  %%edx          \n\t"\r
     : "=A"  (Data)       // %0\r
-    );\r
+  );\r
 \r
   return Data;\r
 }\r
 \r
-\r
 /**\r
   Writes the current value of 64-bit MMX Register #0 (MM0).\r
 \r
@@ -388,17 +377,16 @@ AsmReadMm7 (
 VOID\r
 EFIAPI\r
 AsmWriteMm0 (\r
-  IN      UINT64                    Value\r
+  IN      UINT64  Value\r
   )\r
 {\r
   __asm__ __volatile__ (\r
     "movq %0, %%mm0"  // %0\r
     :\r
     : "m" (Value)\r
-    );\r
+  );\r
 }\r
 \r
-\r
 /**\r
   Writes the current value of 64-bit MMX Register #1 (MM1).\r
 \r
@@ -411,17 +399,16 @@ AsmWriteMm0 (
 VOID\r
 EFIAPI\r
 AsmWriteMm1 (\r
-  IN      UINT64                    Value\r
+  IN      UINT64  Value\r
   )\r
 {\r
   __asm__ __volatile__ (\r
     "movq %0, %%mm1"  // %0\r
     :\r
     : "m" (Value)\r
-    );\r
+  );\r
 }\r
 \r
-\r
 /**\r
   Writes the current value of 64-bit MMX Register #2 (MM2).\r
 \r
@@ -434,17 +421,16 @@ AsmWriteMm1 (
 VOID\r
 EFIAPI\r
 AsmWriteMm2 (\r
-  IN      UINT64                    Value\r
+  IN      UINT64  Value\r
   )\r
 {\r
   __asm__ __volatile__ (\r
     "movq %0, %%mm2"  // %0\r
     :\r
     : "m" (Value)\r
-    );\r
+  );\r
 }\r
 \r
-\r
 /**\r
   Writes the current value of 64-bit MMX Register #3 (MM3).\r
 \r
@@ -457,17 +443,16 @@ AsmWriteMm2 (
 VOID\r
 EFIAPI\r
 AsmWriteMm3 (\r
-  IN      UINT64                    Value\r
+  IN      UINT64  Value\r
   )\r
 {\r
   __asm__ __volatile__ (\r
     "movq %0, %%mm3"  // %0\r
     :\r
     : "m" (Value)\r
-    );\r
+  );\r
 }\r
 \r
-\r
 /**\r
   Writes the current value of 64-bit MMX Register #4 (MM4).\r
 \r
@@ -480,17 +465,16 @@ AsmWriteMm3 (
 VOID\r
 EFIAPI\r
 AsmWriteMm4 (\r
-  IN      UINT64                    Value\r
+  IN      UINT64  Value\r
   )\r
 {\r
   __asm__ __volatile__ (\r
     "movq %0, %%mm4"  // %0\r
     :\r
     : "m" (Value)\r
-    );\r
+  );\r
 }\r
 \r
-\r
 /**\r
   Writes the current value of 64-bit MMX Register #5 (MM5).\r
 \r
@@ -503,17 +487,16 @@ AsmWriteMm4 (
 VOID\r
 EFIAPI\r
 AsmWriteMm5 (\r
-  IN      UINT64                    Value\r
+  IN      UINT64  Value\r
   )\r
 {\r
   __asm__ __volatile__ (\r
     "movq %0, %%mm5"  // %0\r
     :\r
     : "m" (Value)\r
-    );\r
+  );\r
 }\r
 \r
-\r
 /**\r
   Writes the current value of 64-bit MMX Register #6 (MM6).\r
 \r
@@ -526,17 +509,16 @@ AsmWriteMm5 (
 VOID\r
 EFIAPI\r
 AsmWriteMm6 (\r
-  IN      UINT64                    Value\r
+  IN      UINT64  Value\r
   )\r
 {\r
   __asm__ __volatile__ (\r
     "movq %0, %%mm6"  // %0\r
     :\r
     : "m" (Value)\r
-    );\r
+  );\r
 }\r
 \r
-\r
 /**\r
   Writes the current value of 64-bit MMX Register #7 (MM7).\r
 \r
@@ -549,17 +531,16 @@ AsmWriteMm6 (
 VOID\r
 EFIAPI\r
 AsmWriteMm7 (\r
-  IN      UINT64                    Value\r
+  IN      UINT64  Value\r
   )\r
 {\r
   __asm__ __volatile__ (\r
     "movq %0, %%mm7"  // %0\r
     :\r
     : "m" (Value)\r
-    );\r
+  );\r
 }\r
 \r
-\r
 /**\r
   Reads the current value of Time Stamp Counter (TSC).\r
 \r
@@ -580,7 +561,7 @@ AsmReadTsc (
   __asm__ __volatile__ (\r
     "rdtsc"\r
     : "=A" (Data)\r
-    );\r
+  );\r
 \r
   return Data;\r
 }\r