OvmfPkg: Apply uncrustify changes

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

Apply uncrustify changes to .c/.h files in the OvmfPkg 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: Andrew Fish <afish@apple.com>
This commit is contained in:
Michael Kubacki
2021-12-05 14:54:09 -08:00
committed by mergify[bot]
parent d1050b9dff
commit ac0a286f4d
445 changed files with 30894 additions and 26369 deletions

File diff suppressed because it is too large Load Diff

View File

@@ -12,7 +12,7 @@
#include <Protocol/PciIo.h>
#include <Protocol/VirtioDevice.h>
#define VIRTIO_1_0_SIGNATURE SIGNATURE_32 ('V', 'I', 'O', '1')
#define VIRTIO_1_0_SIGNATURE SIGNATURE_32 ('V', 'I', 'O', '1')
//
// Type of the PCI BAR that contains a VirtIo 1.0 config structure.
@@ -26,22 +26,22 @@ typedef enum {
// The type below defines the access to a VirtIo 1.0 config structure.
//
typedef struct {
BOOLEAN Exists; // The device exposes this structure
VIRTIO_1_0_BAR_TYPE BarType;
UINT8 Bar;
UINT32 Offset; // Offset into BAR where structure starts
UINT32 Length; // Length of structure in BAR.
BOOLEAN Exists; // The device exposes this structure
VIRTIO_1_0_BAR_TYPE BarType;
UINT8 Bar;
UINT32 Offset; // Offset into BAR where structure starts
UINT32 Length; // Length of structure in BAR.
} VIRTIO_1_0_CONFIG;
typedef struct {
UINT32 Signature;
VIRTIO_DEVICE_PROTOCOL VirtIo;
EFI_PCI_IO_PROTOCOL *PciIo;
UINT64 OriginalPciAttributes;
VIRTIO_1_0_CONFIG CommonConfig; // Common settings
VIRTIO_1_0_CONFIG NotifyConfig; // Notifications
UINT32 NotifyOffsetMultiplier;
VIRTIO_1_0_CONFIG SpecificConfig; // Device specific settings
UINT32 Signature;
VIRTIO_DEVICE_PROTOCOL VirtIo;
EFI_PCI_IO_PROTOCOL *PciIo;
UINT64 OriginalPciAttributes;
VIRTIO_1_0_CONFIG CommonConfig; // Common settings
VIRTIO_1_0_CONFIG NotifyConfig; // Notifications
UINT32 NotifyOffsetMultiplier;
VIRTIO_1_0_CONFIG SpecificConfig; // Device specific settings
} VIRTIO_1_0_DEV;
#define VIRTIO_1_0_FROM_VIRTIO_DEVICE(Device) \