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>
This commit is contained in:
Michael Kubacki
2021-12-05 14:54:05 -08:00
committed by mergify[bot]
parent 1436aea4d5
commit 2f88bd3a12
975 changed files with 55681 additions and 57790 deletions

View File

@@ -12,8 +12,7 @@ SPDX-License-Identifier: BSD-2-Clause-Patent
///
/// Definitions for SPIN_LOCK
///
typedef volatile UINTN SPIN_LOCK;
typedef volatile UINTN SPIN_LOCK;
/**
Retrieves the architecture-specific spin lock alignment requirements for
@@ -37,7 +36,6 @@ GetSpinLockProperties (
VOID
);
/**
Initializes a spin lock to the released state and returns the spin lock.
@@ -57,10 +55,9 @@ GetSpinLockProperties (
SPIN_LOCK *
EFIAPI
InitializeSpinLock (
OUT SPIN_LOCK *SpinLock
OUT SPIN_LOCK *SpinLock
);
/**
Waits until a spin lock can be placed in the acquired state.
@@ -84,10 +81,9 @@ InitializeSpinLock (
SPIN_LOCK *
EFIAPI
AcquireSpinLock (
IN OUT SPIN_LOCK *SpinLock
IN OUT SPIN_LOCK *SpinLock
);
/**
Attempts to place a spin lock in the acquired state.
@@ -108,10 +104,9 @@ AcquireSpinLock (
BOOLEAN
EFIAPI
AcquireSpinLockOrFail (
IN OUT SPIN_LOCK *SpinLock
IN OUT SPIN_LOCK *SpinLock
);
/**
Releases a spin lock.
@@ -129,10 +124,9 @@ AcquireSpinLockOrFail (
SPIN_LOCK *
EFIAPI
ReleaseSpinLock (
IN OUT SPIN_LOCK *SpinLock
IN OUT SPIN_LOCK *SpinLock
);
/**
Performs an atomic increment of a 32-bit unsigned integer.
@@ -150,10 +144,9 @@ ReleaseSpinLock (
UINT32
EFIAPI
InterlockedIncrement (
IN volatile UINT32 *Value
IN volatile UINT32 *Value
);
/**
Performs an atomic decrement of a 32-bit unsigned integer.
@@ -171,10 +164,9 @@ InterlockedIncrement (
UINT32
EFIAPI
InterlockedDecrement (
IN volatile UINT32 *Value
IN volatile UINT32 *Value
);
/**
Performs an atomic compare exchange operation on a 16-bit unsigned integer.
@@ -196,9 +188,9 @@ InterlockedDecrement (
UINT16
EFIAPI
InterlockedCompareExchange16 (
IN OUT volatile UINT16 *Value,
IN UINT16 CompareValue,
IN UINT16 ExchangeValue
IN OUT volatile UINT16 *Value,
IN UINT16 CompareValue,
IN UINT16 ExchangeValue
);
/**
@@ -223,12 +215,11 @@ InterlockedCompareExchange16 (
UINT32
EFIAPI
InterlockedCompareExchange32 (
IN OUT volatile UINT32 *Value,
IN UINT32 CompareValue,
IN UINT32 ExchangeValue
IN OUT volatile UINT32 *Value,
IN UINT32 CompareValue,
IN UINT32 ExchangeValue
);
/**
Performs an atomic compare exchange operation on a 64-bit unsigned integer.
@@ -250,12 +241,11 @@ InterlockedCompareExchange32 (
UINT64
EFIAPI
InterlockedCompareExchange64 (
IN OUT volatile UINT64 *Value,
IN UINT64 CompareValue,
IN UINT64 ExchangeValue
IN OUT volatile UINT64 *Value,
IN UINT64 CompareValue,
IN UINT64 ExchangeValue
);
/**
Performs an atomic compare exchange operation on a pointer value.
@@ -277,11 +267,9 @@ InterlockedCompareExchange64 (
VOID *
EFIAPI
InterlockedCompareExchangePointer (
IN OUT VOID * volatile *Value,
IN VOID *CompareValue,
IN VOID *ExchangeValue
IN OUT VOID *volatile *Value,
IN VOID *CompareValue,
IN VOID *ExchangeValue
);
#endif