\r
Copyright (c) 2013-2014, ARM Ltd. All rights reserved.<BR>\r
\r
- This program and the accompanying materials\r
- are licensed and made available under the terms and conditions of the BSD License\r
- which accompanies this distribution. The full text of the license may be found at\r
- http://opensource.org/licenses/bsd-license.php\r
-\r
- THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,\r
- WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.\r
+ SPDX-License-Identifier: BSD-2-Clause-Patent\r
\r
**/\r
\r
\r
#include <IndustryStandard/Usb.h>\r
\r
-extern EFI_GUID gUsbDeviceProtocolGuid;\r
+extern EFI_GUID gUsbDeviceProtocolGuid;\r
\r
/*\r
* Note: This Protocol is just the bare minimum for Android Fastboot. It\r
typedef\r
VOID\r
(*USB_DEVICE_RX_CALLBACK) (\r
- IN UINTN Size,\r
- IN VOID *Buffer\r
+ IN UINTN Size,\r
+ IN VOID *Buffer\r
);\r
\r
/*\r
typedef\r
VOID\r
(*USB_DEVICE_TX_CALLBACK) (\r
- IN UINT8 EndpointIndex\r
+ IN UINT8 EndpointIndex\r
);\r
\r
/*\r
typedef\r
EFI_STATUS\r
(*USB_DEVICE_SEND) (\r
- IN UINT8 EndpointIndex,\r
- IN UINTN Size,\r
- IN CONST VOID *Buffer\r
+ IN UINT8 EndpointIndex,\r
+ IN UINTN Size,\r
+ IN CONST VOID *Buffer\r
);\r
\r
/*\r
typedef\r
EFI_STATUS\r
(*USB_DEVICE_START) (\r
- IN USB_DEVICE_DESCRIPTOR *DeviceDescriptor,\r
- IN VOID **Descriptors,\r
- IN USB_DEVICE_RX_CALLBACK RxCallback,\r
- IN USB_DEVICE_TX_CALLBACK TxCallback\r
+ IN USB_DEVICE_DESCRIPTOR *DeviceDescriptor,\r
+ IN VOID **Descriptors,\r
+ IN USB_DEVICE_RX_CALLBACK RxCallback,\r
+ IN USB_DEVICE_TX_CALLBACK TxCallback\r
);\r
\r
struct _USB_DEVICE_PROTOCOL {\r
- USB_DEVICE_START Start;\r
- USB_DEVICE_SEND Send;\r
+ USB_DEVICE_START Start;\r
+ USB_DEVICE_SEND Send;\r
};\r
\r
typedef struct _USB_DEVICE_PROTOCOL USB_DEVICE_PROTOCOL;\r