]> git.proxmox.com Git - mirror_edk2.git/blobdiff - MdePkg/Library/BaseRngLib/AArch64/Rndr.c
MdePkg: Apply uncrustify changes
[mirror_edk2.git] / MdePkg / Library / BaseRngLib / AArch64 / Rndr.c
index c9f8c813ed35197b306c062329b4418e9a5d91b2..20811bf3ebf3e82d4037a617e0ff3c0336495a51 100644 (file)
 #include "ArmRng.h"\r
 #include "BaseRngLibInternals.h"\r
 \r
-STATIC BOOLEAN mRndrSupported;\r
+STATIC BOOLEAN  mRndrSupported;\r
 \r
 //\r
 // Bit mask used to determine if RNDR instruction is supported.\r
 //\r
-#define RNDR_MASK                  ((UINT64)MAX_UINT16 << 60U)\r
+#define RNDR_MASK  ((UINT64)MAX_UINT16 << 60U)\r
 \r
 /**\r
   The constructor function checks whether or not RNDR instruction is supported\r
@@ -41,7 +41,8 @@ BaseRngLibConstructor (
   VOID\r
   )\r
 {\r
-  UINT64 Isar0;\r
+  UINT64  Isar0;\r
+\r
   //\r
   // Determine RNDR support by examining bits 63:60 of the ISAR0 register returned by\r
   // MSR. A non-zero value indicates that the processor supports the RNDR instruction.\r
@@ -66,10 +67,10 @@ BaseRngLibConstructor (
 BOOLEAN\r
 EFIAPI\r
 ArchGetRandomNumber16 (\r
-  OUT     UINT16                    *Rand\r
+  OUT     UINT16  *Rand\r
   )\r
 {\r
-  UINT64 Rand64;\r
+  UINT64  Rand64;\r
 \r
   if (ArchGetRandomNumber64 (&Rand64)) {\r
     *Rand = Rand64 & MAX_UINT16;\r
@@ -91,10 +92,10 @@ ArchGetRandomNumber16 (
 BOOLEAN\r
 EFIAPI\r
 ArchGetRandomNumber32 (\r
-  OUT     UINT32                    *Rand\r
+  OUT     UINT32  *Rand\r
   )\r
 {\r
-  UINT64 Rand64;\r
+  UINT64  Rand64;\r
 \r
   if (ArchGetRandomNumber64 (&Rand64)) {\r
     *Rand = Rand64 & MAX_UINT32;\r
@@ -116,7 +117,7 @@ ArchGetRandomNumber32 (
 BOOLEAN\r
 EFIAPI\r
 ArchGetRandomNumber64 (\r
-  OUT     UINT64                    *Rand\r
+  OUT     UINT64  *Rand\r
   )\r
 {\r
   return ArmRndr (Rand);\r