- 時間撮記:
- 2023-4-14 下午03:17:44 (2 年 以前)
- svn:sync-xref-src-repo-rev:
- 156854
- 位置:
- trunk/src/VBox/Devices/EFI/FirmwareNew
- 檔案:
-
- 修改 2 筆資料
圖例:
- 未更動
- 新增
- 刪除
-
trunk/src/VBox/Devices/EFI/FirmwareNew
-
屬性 svn:mergeinfo
由 (切換已刪除的分支)
變更至 (切換已刪除的分支)/vendor/edk2/current 103735-103757,103769-103776,129194-145445 /vendor/edk2/current 103735-103757,103769-103776,129194-156846
-
屬性 svn:mergeinfo
由 (切換已刪除的分支)
-
trunk/src/VBox/Devices/EFI/FirmwareNew/MdePkg/Include/Protocol/UsbIo.h
r80721 r99404 24 24 } 25 25 26 typedef struct _EFI_USB_IO_PROTOCOL 26 typedef struct _EFI_USB_IO_PROTOCOL EFI_USB_IO_PROTOCOL; 27 27 28 28 // … … 33 33 // USB standard descriptors and reqeust 34 34 // 35 typedef USB_DEVICE_REQUEST 36 typedef USB_DEVICE_DESCRIPTOR 37 typedef USB_CONFIG_DESCRIPTOR 38 typedef USB_INTERFACE_DESCRIPTOR 39 typedef USB_ENDPOINT_DESCRIPTOR 35 typedef USB_DEVICE_REQUEST EFI_USB_DEVICE_REQUEST; 36 typedef USB_DEVICE_DESCRIPTOR EFI_USB_DEVICE_DESCRIPTOR; 37 typedef USB_CONFIG_DESCRIPTOR EFI_USB_CONFIG_DESCRIPTOR; 38 typedef USB_INTERFACE_DESCRIPTOR EFI_USB_INTERFACE_DESCRIPTOR; 39 typedef USB_ENDPOINT_DESCRIPTOR EFI_USB_ENDPOINT_DESCRIPTOR; 40 40 41 41 /// … … 51 51 // USB Transfer Results 52 52 // 53 #define EFI_USB_NOERROR 54 #define EFI_USB_ERR_NOTEXECUTE 55 #define EFI_USB_ERR_STALL 56 #define EFI_USB_ERR_BUFFER 57 #define EFI_USB_ERR_BABBLE 58 #define EFI_USB_ERR_NAK 59 #define EFI_USB_ERR_CRC 60 #define EFI_USB_ERR_TIMEOUT 61 #define EFI_USB_ERR_BITSTUFF 62 #define EFI_USB_ERR_SYSTEM 53 #define EFI_USB_NOERROR 0x00 54 #define EFI_USB_ERR_NOTEXECUTE 0x01 55 #define EFI_USB_ERR_STALL 0x02 56 #define EFI_USB_ERR_BUFFER 0x04 57 #define EFI_USB_ERR_BABBLE 0x08 58 #define EFI_USB_ERR_NAK 0x10 59 #define EFI_USB_ERR_CRC 0x20 60 #define EFI_USB_ERR_TIMEOUT 0x40 61 #define EFI_USB_ERR_BITSTUFF 0x80 62 #define EFI_USB_ERR_SYSTEM 0x100 63 63 64 64 /** … … 88 88 // Prototype for EFI USB I/O protocol 89 89 // 90 91 90 92 91 /** … … 107 106 @retval EFI_SUCCESS The control transfer has been successfully executed. 108 107 @retval EFI_DEVICE_ERROR The transfer failed. The transfer status is returned in Status. 109 @retval EFI_INVALID_PARAMETE 108 @retval EFI_INVALID_PARAMETER One or more parameters are invalid. 110 109 @retval EFI_OUT_OF_RESOURCES The request could not be completed due to a lack of resources. 111 110 @retval EFI_TIMEOUT The control transfer fails due to timeout. … … 150 149 @retval EFI_SUCCESS The bulk transfer has been successfully executed. 151 150 @retval EFI_DEVICE_ERROR The transfer failed. The transfer status is returned in Status. 152 @retval EFI_INVALID_PARAMETE 151 @retval EFI_INVALID_PARAMETER One or more parameters are invalid. 153 152 @retval EFI_OUT_OF_RESOURCES The request could not be submitted due to a lack of resources. 154 153 @retval EFI_TIMEOUT The control transfer fails due to timeout. … … 479 478 // IO transfer 480 479 // 481 EFI_USB_IO_CONTROL_TRANSFER UsbControlTransfer;482 EFI_USB_IO_BULK_TRANSFER UsbBulkTransfer;483 EFI_USB_IO_ASYNC_INTERRUPT_TRANSFER UsbAsyncInterruptTransfer;484 EFI_USB_IO_SYNC_INTERRUPT_TRANSFER UsbSyncInterruptTransfer;485 EFI_USB_IO_ISOCHRONOUS_TRANSFER UsbIsochronousTransfer;486 EFI_USB_IO_ASYNC_ISOCHRONOUS_TRANSFER UsbAsyncIsochronousTransfer;480 EFI_USB_IO_CONTROL_TRANSFER UsbControlTransfer; 481 EFI_USB_IO_BULK_TRANSFER UsbBulkTransfer; 482 EFI_USB_IO_ASYNC_INTERRUPT_TRANSFER UsbAsyncInterruptTransfer; 483 EFI_USB_IO_SYNC_INTERRUPT_TRANSFER UsbSyncInterruptTransfer; 484 EFI_USB_IO_ISOCHRONOUS_TRANSFER UsbIsochronousTransfer; 485 EFI_USB_IO_ASYNC_ISOCHRONOUS_TRANSFER UsbAsyncIsochronousTransfer; 487 486 488 487 // 489 488 // Common device request 490 489 // 491 EFI_USB_IO_GET_DEVICE_DESCRIPTOR UsbGetDeviceDescriptor;492 EFI_USB_IO_GET_CONFIG_DESCRIPTOR UsbGetConfigDescriptor;493 EFI_USB_IO_GET_INTERFACE_DESCRIPTOR UsbGetInterfaceDescriptor;494 EFI_USB_IO_GET_ENDPOINT_DESCRIPTOR UsbGetEndpointDescriptor;495 EFI_USB_IO_GET_STRING_DESCRIPTOR UsbGetStringDescriptor;496 EFI_USB_IO_GET_SUPPORTED_LANGUAGE UsbGetSupportedLanguages;490 EFI_USB_IO_GET_DEVICE_DESCRIPTOR UsbGetDeviceDescriptor; 491 EFI_USB_IO_GET_CONFIG_DESCRIPTOR UsbGetConfigDescriptor; 492 EFI_USB_IO_GET_INTERFACE_DESCRIPTOR UsbGetInterfaceDescriptor; 493 EFI_USB_IO_GET_ENDPOINT_DESCRIPTOR UsbGetEndpointDescriptor; 494 EFI_USB_IO_GET_STRING_DESCRIPTOR UsbGetStringDescriptor; 495 EFI_USB_IO_GET_SUPPORTED_LANGUAGE UsbGetSupportedLanguages; 497 496 498 497 // 499 498 // Reset controller's parent port 500 499 // 501 EFI_USB_IO_PORT_RESET UsbPortReset;500 EFI_USB_IO_PORT_RESET UsbPortReset; 502 501 }; 503 502 504 extern EFI_GUID gEfiUsbIoProtocolGuid;503 extern EFI_GUID gEfiUsbIoProtocolGuid; 505 504 506 505 #endif
注意:
瀏覽 TracChangeset
來幫助您使用更動檢視器