From 45ce0a67bb4ee80f27da93777c623f51f344f23b Mon Sep 17 00:00:00 2001 From: Michael Kubacki Date: Sun, 5 Dec 2021 14:53:58 -0800 Subject: 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 Cc: Leif Lindholm Cc: Michael D Kinney Signed-off-by: Michael Kubacki Reviewed-by: Liming Gao --- FmpDevicePkg/FmpDxe/FmpDxe.h | 37 ++++++++++++++++++------------------- 1 file changed, 18 insertions(+), 19 deletions(-) (limited to 'FmpDevicePkg/FmpDxe/FmpDxe.h') diff --git a/FmpDevicePkg/FmpDxe/FmpDxe.h b/FmpDevicePkg/FmpDxe/FmpDxe.h index 4d94a92..7baf730 100644 --- a/FmpDevicePkg/FmpDxe/FmpDxe.h +++ b/FmpDevicePkg/FmpDxe/FmpDxe.h @@ -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. -- cgit v1.1