MdeModulePkg: Apply uncrustify changes
REF: https://bugzilla.tianocore.org/show_bug.cgi?id=3737 Apply uncrustify changes to .c/.h files in the MdeModulePkg 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:
committed by
mergify[bot]
parent
7c7184e201
commit
1436aea4d5
@@ -21,7 +21,7 @@ SPDX-License-Identifier: BSD-2-Clause-Patent
|
||||
//
|
||||
// Forward reference for pure ANSI compatability
|
||||
//
|
||||
typedef struct _EFI_SWAP_ADDRESS_RANGE_PROTOCOL EFI_SWAP_ADDRESS_RANGE_PROTOCOL;
|
||||
typedef struct _EFI_SWAP_ADDRESS_RANGE_PROTOCOL EFI_SWAP_ADDRESS_RANGE_PROTOCOL;
|
||||
|
||||
#define EFI_UNSUPPORT_LOCK 0
|
||||
#define EFI_SOFTWARE_LOCK 1
|
||||
@@ -93,8 +93,6 @@ EFI_STATUS
|
||||
IN BOOLEAN NewSwapState
|
||||
);
|
||||
|
||||
|
||||
|
||||
/**
|
||||
This service checks if a Real Time Clock (RTC) power failure happened.
|
||||
|
||||
@@ -132,8 +130,6 @@ EFI_STATUS
|
||||
OUT EFI_SWAP_LOCK_CAPABILITY *LockCapability
|
||||
);
|
||||
|
||||
|
||||
|
||||
/**
|
||||
This service is used to acquire or release appointed kind of lock for Swap Address Range operations.
|
||||
|
||||
@@ -155,14 +151,14 @@ EFI_STATUS
|
||||
);
|
||||
|
||||
struct _EFI_SWAP_ADDRESS_RANGE_PROTOCOL {
|
||||
EFI_GET_RANGE_LOCATION GetRangeLocation; // has output parameters for base and length
|
||||
EFI_GET_SWAP_STATE GetSwapState; // are ranges swapped or not
|
||||
EFI_SET_SWAP_STATE SetSwapState; // swap or unswap ranges
|
||||
EFI_GET_RTC_POWER_STATUS GetRtcPowerStatus; // checks RTC battery, or whatever...
|
||||
EFI_GET_SWAP_LOCK_CAPABILITY GetSwapLockCapability; // Get TOP_SWAP lock capability,
|
||||
EFI_SET_SWAP_LOCK SetSwapLock; // Set TOP_SWAP lock state
|
||||
EFI_GET_RANGE_LOCATION GetRangeLocation; // has output parameters for base and length
|
||||
EFI_GET_SWAP_STATE GetSwapState; // are ranges swapped or not
|
||||
EFI_SET_SWAP_STATE SetSwapState; // swap or unswap ranges
|
||||
EFI_GET_RTC_POWER_STATUS GetRtcPowerStatus; // checks RTC battery, or whatever...
|
||||
EFI_GET_SWAP_LOCK_CAPABILITY GetSwapLockCapability; // Get TOP_SWAP lock capability,
|
||||
EFI_SET_SWAP_LOCK SetSwapLock; // Set TOP_SWAP lock state
|
||||
};
|
||||
|
||||
extern EFI_GUID gEfiSwapAddressRangeProtocolGuid;
|
||||
extern EFI_GUID gEfiSwapAddressRangeProtocolGuid;
|
||||
|
||||
#endif
|
||||
|
Reference in New Issue
Block a user