summaryrefslogtreecommitdiff
path: root/MdePkg/Library/BaseRngLib/Rand/RdRand.c
diff options
context:
space:
mode:
authorMichael Kubacki <michael.kubacki@microsoft.com>2021-12-05 14:54:05 -0800
committermergify[bot] <37929162+mergify[bot]@users.noreply.github.com>2021-12-07 17:24:28 +0000
commit2f88bd3a1296c522317f1c21377876de63de5be7 (patch)
treeba47875489cc5698061275a495983e9dea3be098 /MdePkg/Library/BaseRngLib/Rand/RdRand.c
parent1436aea4d5707e672672a11bda72be2c63c936c3 (diff)
downloadedk2-2f88bd3a1296c522317f1c21377876de63de5be7.zip
edk2-2f88bd3a1296c522317f1c21377876de63de5be7.tar.gz
edk2-2f88bd3a1296c522317f1c21377876de63de5be7.tar.bz2
MdePkg: Apply uncrustify changes
REF: https://bugzilla.tianocore.org/show_bug.cgi?id=3737 Apply uncrustify changes to .c/.h files in the MdePkg package Cc: Andrew Fish <afish@apple.com> Cc: Leif Lindholm <leif@nuviainc.com> Cc: Michael D Kinney <michael.d.kinney@intel.com> Signed-off-by: Michael Kubacki <michael.kubacki@microsoft.com> Reviewed-by: Liming Gao <gaoliming@byosoft.com.cn>
Diffstat (limited to 'MdePkg/Library/BaseRngLib/Rand/RdRand.c')
-rw-r--r--MdePkg/Library/BaseRngLib/Rand/RdRand.c11
1 files changed, 5 insertions, 6 deletions
diff --git a/MdePkg/Library/BaseRngLib/Rand/RdRand.c b/MdePkg/Library/BaseRngLib/Rand/RdRand.c
index 09fb875..070d41e 100644
--- a/MdePkg/Library/BaseRngLib/Rand/RdRand.c
+++ b/MdePkg/Library/BaseRngLib/Rand/RdRand.c
@@ -18,10 +18,9 @@ SPDX-License-Identifier: BSD-2-Clause-Patent
//
// Bit mask used to determine if RdRand instruction is supported.
//
-#define RDRAND_MASK BIT30
+#define RDRAND_MASK BIT30
-
-STATIC BOOLEAN mRdRandSupported;
+STATIC BOOLEAN mRdRandSupported;
/**
The constructor function checks whether or not RDRAND instruction is supported
@@ -66,7 +65,7 @@ BaseRngLibConstructor (
BOOLEAN
EFIAPI
ArchGetRandomNumber16 (
- OUT UINT16 *Rand
+ OUT UINT16 *Rand
)
{
return AsmRdRand16 (Rand);
@@ -84,7 +83,7 @@ ArchGetRandomNumber16 (
BOOLEAN
EFIAPI
ArchGetRandomNumber32 (
- OUT UINT32 *Rand
+ OUT UINT32 *Rand
)
{
return AsmRdRand32 (Rand);
@@ -102,7 +101,7 @@ ArchGetRandomNumber32 (
BOOLEAN
EFIAPI
ArchGetRandomNumber64 (
- OUT UINT64 *Rand
+ OUT UINT64 *Rand
)
{
return AsmRdRand64 (Rand);