FmpDevicePkg: Apply uncrustify changes

REF: https://bugzilla.tianocore.org/show_bug.cgi?id=3737

Apply uncrustify changes to .c/.h files in the FmpDevicePkg 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:53:58 -08:00
committed by mergify[bot]
parent bcdcc4160d
commit 45ce0a67bb
22 changed files with 841 additions and 697 deletions

View File

@@ -45,18 +45,18 @@
///
///
///
#define FIRMWARE_MANAGEMENT_PRIVATE_DATA_SIGNATURE SIGNATURE_32 ('f','m','p','p')
#define FIRMWARE_MANAGEMENT_PRIVATE_DATA_SIGNATURE SIGNATURE_32 ('f','m','p','p')
typedef struct {
UINTN Signature;
EFI_HANDLE Handle;
EFI_FIRMWARE_MANAGEMENT_PROTOCOL Fmp;
BOOLEAN DescriptorPopulated;
EFI_FIRMWARE_IMAGE_DESCRIPTOR Descriptor;
CHAR16 *ImageIdName;
CHAR16 *VersionName;
BOOLEAN RuntimeVersionSupported;
EFI_EVENT FmpDeviceLockEvent;
UINTN Signature;
EFI_HANDLE Handle;
EFI_FIRMWARE_MANAGEMENT_PROTOCOL Fmp;
BOOLEAN DescriptorPopulated;
EFI_FIRMWARE_IMAGE_DESCRIPTOR Descriptor;
CHAR16 *ImageIdName;
CHAR16 *VersionName;
BOOLEAN RuntimeVersionSupported;
EFI_EVENT FmpDeviceLockEvent;
//
// Indicates if an attempt has been made to lock a
// FLASH storage device by calling FmpDeviceLock().
@@ -64,14 +64,14 @@ typedef struct {
// so this variable is set to TRUE even if FmpDeviceLock()
// returns an error.
//
BOOLEAN FmpDeviceLocked;
VOID *FmpDeviceContext;
CHAR16 *VersionVariableName;
CHAR16 *LsvVariableName;
CHAR16 *LastAttemptStatusVariableName;
CHAR16 *LastAttemptVersionVariableName;
CHAR16 *FmpStateVariableName;
BOOLEAN DependenciesSatisfied;
BOOLEAN FmpDeviceLocked;
VOID *FmpDeviceContext;
CHAR16 *VersionVariableName;
CHAR16 *LsvVariableName;
CHAR16 *LastAttemptStatusVariableName;
CHAR16 *LastAttemptVersionVariableName;
CHAR16 *FmpStateVariableName;
BOOLEAN DependenciesSatisfied;
} FIRMWARE_MANAGEMENT_PRIVATE_DATA;
///
@@ -183,7 +183,6 @@ GetTheImage (
IN OUT UINTN *ImageSize
);
/**
Checks if the firmware image is valid for the device.