-#define USB_BOT_RESET_REQUEST 0xFF ///< Bulk-Only Mass Storage Reset\r
-#define USB_BOT_GETLUN_REQUEST 0xFE ///< Get Max Lun\r
-#define USB_BOT_CBW_SIGNATURE 0x43425355 ///< dCBWSignature, tag the packet as CBW\r
-#define USB_BOT_CSW_SIGNATURE 0x53425355 ///< dCSWSignature, tag the packet as CSW\r
-#define USB_BOT_MAX_LUN 0x0F ///< Lun number is from 0 to 15\r
-#define USB_BOT_MAX_CMDLEN 16 ///< Maximum number of command from command set\r
+#define USB_BOT_RESET_REQUEST 0xFF ///< Bulk-Only Mass Storage Reset\r
+#define USB_BOT_GETLUN_REQUEST 0xFE ///< Get Max Lun\r
+#define USB_BOT_CBW_SIGNATURE 0x43425355 ///< dCBWSignature, tag the packet as CBW\r
+#define USB_BOT_CSW_SIGNATURE 0x53425355 ///< dCSWSignature, tag the packet as CSW\r
+#define USB_BOT_MAX_LUN 0x0F ///< Lun number is from 0 to 15\r
+#define USB_BOT_MAX_CMDLEN 16 ///< Maximum number of command from command set\r
-#define USB_BOT_COMMAND_OK 0x00 ///< Command passed, good status\r
-#define USB_BOT_COMMAND_FAILED 0x01 ///< Command failed\r
-#define USB_BOT_COMMAND_ERROR 0x02 ///< Phase error, need to reset the device\r
+#define USB_BOT_COMMAND_OK 0x00 ///< Command passed, good status\r
+#define USB_BOT_COMMAND_FAILED 0x01 ///< Command failed\r
+#define USB_BOT_COMMAND_ERROR 0x02 ///< Phase error, need to reset the device\r
-#define USB_BOT_SEND_CBW_TIMEOUT (3 * USB_MASS_1_SECOND)\r
-#define USB_BOT_RECV_CSW_TIMEOUT (3 * USB_MASS_1_SECOND)\r
-#define USB_BOT_RESET_DEVICE_TIMEOUT (3 * USB_MASS_1_SECOND)\r
+#define USB_BOT_SEND_CBW_TIMEOUT (3 * USB_MASS_1_SECOND)\r
+#define USB_BOT_RECV_CSW_TIMEOUT (3 * USB_MASS_1_SECOND)\r
+#define USB_BOT_RESET_DEVICE_TIMEOUT (3 * USB_MASS_1_SECOND)\r
- UINT32 Signature;\r
- UINT32 Tag;\r
- UINT32 DataLen; ///< Length of data between CBW and CSW\r
- UINT8 Flag; ///< Bit 7, 0 ~ Data-Out, 1 ~ Data-In\r
- UINT8 Lun; ///< Lun number. Bits 0~3 are used\r
- UINT8 CmdLen; ///< Length of the command. Bits 0~4 are used\r
- UINT8 CmdBlock[USB_BOT_MAX_CMDLEN];\r
+ UINT32 Signature;\r
+ UINT32 Tag;\r
+ UINT32 DataLen; ///< Length of data between CBW and CSW\r
+ UINT8 Flag; ///< Bit 7, 0 ~ Data-Out, 1 ~ Data-In\r
+ UINT8 Lun; ///< Lun number. Bits 0~3 are used\r
+ UINT8 CmdLen; ///< Length of the command. Bits 0~4 are used\r
+ UINT8 CmdBlock[USB_BOT_MAX_CMDLEN];\r
- EFI_USB_INTERFACE_DESCRIPTOR Interface;\r
- EFI_USB_ENDPOINT_DESCRIPTOR *BulkInEndpoint;\r
- EFI_USB_ENDPOINT_DESCRIPTOR *BulkOutEndpoint;\r
- UINT32 CbwTag;\r
- EFI_USB_IO_PROTOCOL *UsbIo;\r
+ EFI_USB_INTERFACE_DESCRIPTOR Interface;\r
+ EFI_USB_ENDPOINT_DESCRIPTOR *BulkInEndpoint;\r
+ EFI_USB_ENDPOINT_DESCRIPTOR *BulkOutEndpoint;\r
+ UINT32 CbwTag;\r
+ EFI_USB_IO_PROTOCOL *UsbIo;\r
- IN EFI_USB_IO_PROTOCOL *UsbIo,\r
- OUT VOID **Context OPTIONAL\r
+ IN EFI_USB_IO_PROTOCOL *UsbIo,\r
+ OUT VOID **Context OPTIONAL\r