EmbeddedPkg: Apply uncrustify changes

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

Apply uncrustify changes to .c/.h files in the EmbeddedPkg 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:53:56 -08:00
committed by mergify[bot]
parent 731c67e1d7
commit e7108d0e96
106 changed files with 9242 additions and 7648 deletions

View File

@ -11,7 +11,7 @@
#include <IndustryStandard/Usb.h>
extern EFI_GUID gUsbDeviceProtocolGuid;
extern EFI_GUID gUsbDeviceProtocolGuid;
/*
* Note: This Protocol is just the bare minimum for Android Fastboot. It
@ -30,8 +30,8 @@ extern EFI_GUID gUsbDeviceProtocolGuid;
typedef
VOID
(*USB_DEVICE_RX_CALLBACK) (
IN UINTN Size,
IN VOID *Buffer
IN UINTN Size,
IN VOID *Buffer
);
/*
@ -46,7 +46,7 @@ VOID
typedef
VOID
(*USB_DEVICE_TX_CALLBACK) (
IN UINT8 EndpointIndex
IN UINT8 EndpointIndex
);
/*
@ -64,9 +64,9 @@ VOID
typedef
EFI_STATUS
(*USB_DEVICE_SEND) (
IN UINT8 EndpointIndex,
IN UINTN Size,
IN CONST VOID *Buffer
IN UINT8 EndpointIndex,
IN UINTN Size,
IN CONST VOID *Buffer
);
/*
@ -96,15 +96,15 @@ EFI_STATUS
typedef
EFI_STATUS
(*USB_DEVICE_START) (
IN USB_DEVICE_DESCRIPTOR *DeviceDescriptor,
IN VOID **Descriptors,
IN USB_DEVICE_RX_CALLBACK RxCallback,
IN USB_DEVICE_TX_CALLBACK TxCallback
IN USB_DEVICE_DESCRIPTOR *DeviceDescriptor,
IN VOID **Descriptors,
IN USB_DEVICE_RX_CALLBACK RxCallback,
IN USB_DEVICE_TX_CALLBACK TxCallback
);
struct _USB_DEVICE_PROTOCOL {
USB_DEVICE_START Start;
USB_DEVICE_SEND Send;
USB_DEVICE_START Start;
USB_DEVICE_SEND Send;
};
typedef struct _USB_DEVICE_PROTOCOL USB_DEVICE_PROTOCOL;