#ifndef _ATAPI_H\r
#define _ATAPI_H\r
\r
-#pragma pack(push, 1)\r
+#pragma pack(1)\r
\r
//\r
// ATA_IDENTIFY_DATA is defined in ATA-5\r
ATAPI_READ_FORMAT_CAP_CMD ReadFormatCapacity;\r
} ATAPI_PACKET_COMMAND;\r
\r
-#pragma pack(pop)\r
+#pragma pack()\r
\r
\r
#define ATAPI_MAX_DMA_EXT_CMD_SECTORS 0x10000\r
//\r
#define PCI_VGA_PALETTE_SNOOP_DISABLED 0x20\r
\r
-#pragma pack(push, 1)\r
+#pragma pack(1)\r
typedef struct {\r
UINT16 VendorId;\r
UINT16 DeviceId;\r
EFI_LEGACY_EXPANSION_ROM_HEADER *PcAt;\r
} EFI_PCI_ROM_HEADER;\r
\r
-#pragma pack(pop)\r
+#pragma pack()\r
\r
#endif\r
#define PCI_CLASS_MASS_STORAGE_SATADPA 0x06\r
#define PCI_CLASS_MASS_STORAGE_AHCI PCI_CLASS_MASS_STORAGE_SATADPA\r
\r
-#pragma pack(push, 1)\r
+#pragma pack(1)\r
\r
typedef struct {\r
UINT32 Signature; // "PCIR"\r
UINT16 DMTFCLPEntryPointOffset;\r
} PCI_3_0_DATA_STRUCTURE;\r
\r
-#pragma pack(pop)\r
+#pragma pack()\r
\r
\r
#include <IndustryStandard/Pci23.h>\r
//\r
// Ensure proper structure formats\r
//\r
-#ifdef _MSC_EXTENSIONS\r
#pragma pack(1)\r
-#endif\r
\r
//\r
// SPCR Revision (defined in spec)\r
UINT32 Reserved2;\r
} EFI_ACPI_SERIAL_PORT_CONSOLE_REDIRECTION_TABLE;\r
\r
-#ifdef _MSC_EXTENSIONS\r
#pragma pack()\r
-#endif\r
\r
//\r
// SPCR Definitions\r
//\r
// Part 2, section 5.10: TPM_KEY_FLAGS\r
//\r
-enum tdTPM_KEY_FLAGS {\r
+typedef enum tdTPM_KEY_FLAGS {\r
redirection = 0x00000001,\r
migratable = 0x00000002,\r
isVolatile = 0x00000004,\r
pcrIgnoredOnRead = 0x00000008,\r
migrateAuthority = 0x00000010\r
-};\r
+} TPM_KEY_FLAGS;\r
\r
//\r
// Part 2, section 5.11: TPM_CHANGEAUTH_VALIDATE\r
//\r
// WDAT Revision (defined in spec)\r
//\r
-#define EFI_ACPI_WATCHDOG_ACTION_1_0_TABLE_REVISION 0x01\r
+#define EFI_ACPI_WATCHDOG_ACTION_1_0_TABLE_REVISION 0x01\r
\r
//\r
// WDAT 1.0 Flags\r
**/\r
EFI_STATUS\r
+EFIAPI\r
ScsiTestUnitReadyCommand (\r
IN EFI_SCSI_IO_PROTOCOL *ScsiIo,\r
IN UINT64 Timeout,\r
**/\r
EFI_STATUS\r
+EFIAPI\r
ScsiInquiryCommand (\r
IN EFI_SCSI_IO_PROTOCOL *ScsiIo,\r
IN UINT64 Timeout,\r
**/\r
EFI_STATUS\r
+EFIAPI\r
ScsiModeSense10Command (\r
IN EFI_SCSI_IO_PROTOCOL *ScsiIo,\r
IN UINT64 Timeout,\r
**/\r
EFI_STATUS\r
+EFIAPI\r
ScsiRequestSenseCommand (\r
IN EFI_SCSI_IO_PROTOCOL *ScsiIo,\r
IN UINT64 Timeout,\r
**/\r
EFI_STATUS\r
+EFIAPI\r
ScsiRead10Command (\r
IN EFI_SCSI_IO_PROTOCOL *ScsiIo,\r
IN UINT64 Timeout,\r
**/\r
EFI_STATUS\r
+EFIAPI\r
ScsiWrite10Command (\r
IN EFI_SCSI_IO_PROTOCOL *ScsiIo,\r
IN UINT64 Timeout,\r
//\r
#define TIMEOUT_VALUE 3 * 1000\r
\r
+/**\r
+ Get Hid Descriptor\r
+\r
+ @param UsbIo EFI_USB_IO_PROTOCOL\r
+ @param InterfaceNum Hid interface number\r
+ @param HidDescriptor Caller allocated buffer to store Usb hid descriptor if\r
+ successfully returned.\r
+\r
+ @return Status of getting HID descriptor through USB I/O\r
+ protocol's UsbControlTransfer().\r
+\r
+**/\r
EFI_STATUS\r
EFIAPI\r
UsbGetHidDescriptor (\r
OUT EFI_USB_HID_DESCRIPTOR *HidDescriptor\r
);\r
\r
+\r
+/**\r
+ get Report Class descriptor\r
+\r
+ @param UsbIo EFI_USB_IO_PROTOCOL.\r
+ @param InterfaceNum Report interface number.\r
+ @param DescriptorSize Length of DescriptorBuffer.\r
+ @param DescriptorBuffer Caller allocated buffer to store Usb report descriptor\r
+ if successfully returned.\r
+\r
+ @return Status of getting Report Class descriptor through USB\r
+ I/O protocol's UsbControlTransfer().\r
+\r
+**/\r
EFI_STATUS\r
EFIAPI\r
UsbGetReportDescriptor (\r
OUT UINT8 *DescriptorBuffer\r
);\r
\r
+/**\r
+ Get Hid Protocol Request\r
+\r
+ @param UsbIo EFI_USB_IO_PROTOCOL\r
+ @param Interface Which interface the caller wants to get protocol\r
+ @param Protocol Protocol value returned.\r
+\r
+ @return Status of getting Protocol Request through USB I/O\r
+ protocol's UsbControlTransfer().\r
+\r
+**/\r
EFI_STATUS\r
EFIAPI\r
UsbGetProtocolRequest (\r
IN UINT8 *Protocol\r
);\r
\r
+/**\r
+ Set Hid Protocol Request\r
+\r
+ @param UsbIo EFI_USB_IO_PROTOCOL\r
+ @param Interface Which interface the caller wants to set protocol\r
+ @param Protocol Protocol value the caller wants to set.\r
+\r
+ @return Status of setting Protocol Request through USB I/O\r
+ protocol's UsbControlTransfer().\r
+\r
+**/\r
EFI_STATUS\r
EFIAPI\r
UsbSetProtocolRequest (\r
IN UINT8 Protocol\r
);\r
\r
+/**\r
+ Set Idel request.\r
+\r
+ @param UsbIo EFI_USB_IO_PROTOCOL\r
+ @param Interface Which interface the caller wants to set.\r
+ @param ReportId Which report the caller wants to set.\r
+ @param Duration Idle rate the caller wants to set.\r
+\r
+ @return Status of setting IDLE Request through USB I/O\r
+ protocol's UsbControlTransfer().\r
+\r
+**/\r
EFI_STATUS\r
EFIAPI\r
UsbSetIdleRequest (\r
IN UINT8 Duration\r
);\r
\r
+/**\r
+ Get Idel request.\r
+\r
+ @param UsbIo EFI_USB_IO_PROTOCOL\r
+ @param Interface Which interface the caller wants to get.\r
+ @param ReportId Which report the caller wants to get.\r
+ @param Duration Idle rate the caller wants to get.\r
+\r
+ @return Status of getting IDLE Request through USB I/O\r
+ protocol's UsbControlTransfer().\r
+\r
+**/\r
EFI_STATUS\r
EFIAPI\r
UsbGetIdleRequest (\r
OUT UINT8 *Duration\r
);\r
\r
+/**\r
+ Hid Set Report request.\r
+\r
+ @param UsbIo EFI_USB_IO_PROTOCOL\r
+ @param Interface Which interface the caller wants to set.\r
+ @param ReportId Which report the caller wants to set.\r
+ @param ReportType Type of report.\r
+ @param ReportLen Length of report descriptor.\r
+ @param Report Report Descriptor buffer.\r
+\r
+ @return Status of setting Report Request through USB I/O\r
+ protocol's UsbControlTransfer().\r
+\r
+**/\r
EFI_STATUS\r
EFIAPI\r
UsbSetReportRequest (\r
IN UINT8 *Report\r
);\r
\r
+/**\r
+ Hid Set Report request.\r
+\r
+ @param UsbIo EFI_USB_IO_PROTOCOL\r
+ @param Interface Which interface the caller wants to set.\r
+ @param ReportId Which report the caller wants to set.\r
+ @param ReportType Type of report.\r
+ @param ReportLen Length of report descriptor.\r
+ @param Report Caller allocated buffer to store Report Descriptor.\r
+\r
+ @return Status of getting Report Request through USB I/O\r
+ protocol's UsbControlTransfer().\r
+\r
+**/\r
EFI_STATUS\r
EFIAPI\r
UsbGetReportRequest (\r
IN UINT8 *Report\r
);\r
\r
+/**\r
+ Usb Get Descriptor\r
+\r
+ @param UsbIo EFI_USB_IO_PROTOCOL\r
+ @param Value Device Request Value\r
+ @param Index Device Request Index\r
+ @param DescriptorLength Descriptor Length\r
+ @param Descriptor Descriptor buffer to contain result\r
+ @param Status Transfer Status\r
+\r
+ @retval EFI_INVALID_PARAMETER Parameter is error\r
+ @retval EFI_SUCCESS Success\r
+ @retval EFI_TIMEOUT Device has no response\r
+\r
+**/\r
EFI_STATUS\r
UsbGetDescriptor (\r
IN EFI_USB_IO_PROTOCOL *UsbIo,\r
OUT UINT32 *Status\r
);\r
\r
+/**\r
+ Usb Set Descriptor\r
+\r
+ @param UsbIo EFI_USB_IO_PROTOCOL\r
+ @param Value Device Request Value\r
+ @param Index Device Request Index\r
+ @param DescriptorLength Descriptor Length\r
+ @param Descriptor Descriptor buffer to set\r
+ @param Status Transfer Status\r
+\r
+ @retval EFI_INVALID_PARAMETER Parameter is error\r
+ @retval EFI_SUCCESS Success\r
+ @retval EFI_TIMEOUT Device has no response\r
+\r
+**/\r
EFI_STATUS\r
EFIAPI\r
UsbSetDescriptor (\r
OUT UINT32 *Status\r
);\r
\r
+/**\r
+ Usb Get Device Interface\r
+\r
+ @param UsbIo EFI_USB_IO_PROTOCOL\r
+ @param Index Interface index value\r
+ @param AltSetting Alternate setting\r
+ @param Status Trasnsfer status\r
+\r
+ @retval EFI_INVALID_PARAMETER Parameter is error\r
+ @retval EFI_SUCCESS Success\r
+ @retval EFI_TIMEOUT Device has no response\r
+\r
+**/\r
EFI_STATUS\r
EFIAPI\r
UsbGetInterface (\r
OUT UINT32 *Status\r
);\r
\r
+/**\r
+ Usb Set Device Interface\r
+\r
+ @param UsbIo EFI_USB_IO_PROTOCOL\r
+ @param InterfaceNo Interface Number\r
+ @param AltSetting Alternate setting\r
+ @param Status Trasnsfer status\r
+\r
+ @retval EFI_INVALID_PARAMETER Parameter is error\r
+ @retval EFI_SUCCESS Success\r
+ @retval EFI_TIMEOUT Device has no response\r
+\r
+**/\r
EFI_STATUS\r
EFIAPI\r
UsbSetInterface (\r
OUT UINT32 *Status\r
);\r
\r
+/**\r
+ Usb Get Device Configuration\r
+\r
+ @param UsbIo EFI_USB_IO_PROTOCOL\r
+ @param ConfigValue Config Value\r
+ @param Status Transfer Status\r
+\r
+ @retval EFI_INVALID_PARAMETER Parameter is error\r
+ @retval EFI_SUCCESS Success\r
+ @retval EFI_TIMEOUT Device has no response\r
+\r
+**/\r
EFI_STATUS\r
EFIAPI\r
UsbGetConfiguration (\r
OUT UINT32 *Status\r
);\r
\r
+/**\r
+ Usb Set Device Configuration\r
+\r
+ @param UsbIo EFI_USB_IO_PROTOCOL\r
+ @param Value Configuration Value to set\r
+ @param Status Transfer status\r
+\r
+ @retval EFI_INVALID_PARAMETER Parameter is error\r
+ @retval EFI_SUCCESS Success\r
+ @retval EFI_TIMEOUT Device has no response\r
+\r
+**/\r
EFI_STATUS\r
EFIAPI\r
UsbSetConfiguration (\r
OUT UINT32 *Status\r
);\r
\r
+/**\r
+ Usb Set Device Feature\r
+\r
+ @param UsbIo EFI_USB_IO_PROTOCOL\r
+ @param Recipient Interface/Device/Endpoint\r
+ @param Value Request value\r
+ @param Target Request Index\r
+ @param Status Transfer status\r
+\r
+ @retval EFI_INVALID_PARAMETER Parameter is error\r
+ @retval EFI_SUCCESS Success\r
+ @retval EFI_TIMEOUT Device has no response\r
+\r
+**/\r
EFI_STATUS\r
EFIAPI\r
UsbSetFeature (\r
OUT UINT32 *Status\r
);\r
\r
+/**\r
+ Usb Clear Device Feature\r
+\r
+ @param UsbIo EFI_USB_IO_PROTOCOL\r
+ @param Recipient Interface/Device/Endpoint\r
+ @param Value Request value\r
+ @param Target Request Index\r
+ @param Status Transfer status\r
+\r
+ @retval EFI_INVALID_PARAMETER Parameter is error\r
+ @retval EFI_SUCCESS Success\r
+ @retval EFI_TIMEOUT Device has no response\r
+\r
+**/\r
EFI_STATUS\r
EFIAPI\r
UsbClearFeature (\r
OUT UINT32 *Status\r
);\r
\r
+/**\r
+ Usb Get Device Status\r
+\r
+ @param UsbIo EFI_USB_IO_PROTOCOL\r
+ @param Recipient Interface/Device/Endpoint\r
+ @param Target Request index\r
+ @param DevStatus Device status\r
+ @param Status Transfer status\r
+\r
+ @retval EFI_INVALID_PARAMETER Parameter is error\r
+ @retval EFI_SUCCESS Success\r
+ @retval EFI_TIMEOUT Device has no response\r
+\r
+**/\r
EFI_STATUS\r
EFIAPI\r
UsbGetStatus (\r
OUT UINT32 *Status\r
);\r
\r
-//\r
-// Clear endpoint stall\r
-//\r
+/**\r
+ Clear endpoint stall\r
+\r
+ @param UsbIo EFI_USB_IO_PROTOCOL\r
+ @param EndpointNo Endpoint Number\r
+ @param Status Transfer Status\r
+\r
+ @retval EFI_NOT_FOUND Can't find the Endpoint\r
+ @retval EFI_DEVICE_ERROR Hardware error\r
+ @retval EFI_SUCCESS Success\r
+\r
+**/\r
EFI_STATUS\r
EFIAPI\r
UsbClearEndpointHalt (\r
/**\r
Loads and executed DXE drivers from firmware volumes.\r
\r
- @return Status code\r
+ @return Status of dispatching and execution DXE drivers.\r
\r
**/\r
typedef\r
@param FirmwareVolumeHandle The handle of the firmware volume that contains the file specified by FileName.\r
@param DriverName A pointer to the name of the file in a firmware volume.\r
\r
- @return Status code\r
+ @return Status of clearing SOR.\r
\r
**/\r
typedef\r
@param FirmwareVolumeHandle The handle of the firmware volume that contains the file specified by FileName.\r
@param DriverName A pointer to the name of the file in a firmware volume.\r
\r
- @return Status code\r
+ @return Status of promoting FFS from untrusted to trusted\r
+ state.\r
\r
**/\r
typedef\r
@param Size The size, in bytes, of the firmware volume.\r
@param FirmwareVolumeHandle On output, a pointer to the created handle.\r
\r
- @return Status code\r
+ @return Status of processing FV.\r
\r
**/\r
typedef\r
@param FileHandle Pointer to the FFS file header.\r
@param PeiServices Describes the list of possible PEI Services.\r
\r
- @return Status code\r
+ @retval EFI_SUCCESS The PEI completed successfully.\r
+ @retval !EFI_SUCCESS There is error in PEIM.\r
\r
**/\r
typedef\r
@param NotifyDescriptor Address of the notification descriptor data structure.\r
@param Ppi Address of the PPI that was installed.\r
\r
- @return Status code\r
+ @return Status of the notification.\r
**/\r
typedef\r
EFI_STATUS\r
@param Source Pointer to the source buffer of the memory copy\r
@param Length Number of bytes to copy from Source to Destination.\r
\r
- @return None\r
-\r
**/\r
typedef\r
VOID\r
@param Size Number of bytes in Buffer to fill.\r
@param Value Value to fill Buffer with\r
\r
- @return None\r
-\r
**/\r
typedef\r
VOID\r
@retval EFI_INVALID_PARAMETER VolumeHandle or FileHandle or\r
FileName was NULL.\r
\r
-\r
**/\r
typedef\r
EFI_STATUS\r
parent firmware volume name and firmware volume file. If it did not originally come\r
from a firmware file, these should be NULL\r
\r
- @retval VOID\r
- \r
**/\r
VOID\r
EFIAPI\r
base addres is used to save the EFI_PEI_SERVICES**.\r
For x64, the eight-bytes field immediately prior to new IDT\r
base addres is used to save the EFI_PEI_SERVICES**\r
- @retval The pointer to PeiServices.\r
+ \r
+ @return The pointer to PeiServices.\r
\r
**/\r
EFI_PEI_SERVICES **\r
\r
/**\r
\r
- The function returns the pointer to PeiServicee following\r
+ The function sets the pointer to PeiServicee following\r
PI1.0.\r
\r
For IA32, the four-bytes field immediately prior to new IDT\r
base addres is used to save the EFI_PEI_SERVICES**.\r
For x64, the eight-bytes field immediately prior to new IDT\r
base addres is used to save the EFI_PEI_SERVICES**\r
- @retval The pointer to PeiServices.\r
+ \r
+ @param PeiServicesTablePointer The pointer to PeiServices.\r
\r
**/\r
VOID\r
The function returns the pointer to PeiServices.\r
It will ASSERT() if the pointer to PeiServices is NULL.\r
\r
- @retval The pointer to PeiServices.\r
+ @return The pointer to PeiServices.\r
\r
**/\r
EFI_PEI_SERVICES **\r
\r
@param Status Status returned by the application that is exiting.\r
\r
- @retval VOID\r
-\r
**/\r
VOID\r
EFIAPI\r
protocols produced and deallocates pool used by the driver. Called by the core\r
when unloading the driver.\r
\r
- @param ImageHandle\r
+ @param ImageHandle ImageHandle of the loaded driver.\r
\r
- @retval EFI_SUCCESS\r
+ @return Status returned by all unload().\r
\r
**/\r
-STATIC\r
EFI_STATUS\r
EFIAPI\r
_DriverUnloadHandler (\r
\r
**/\r
EFI_STATUS\r
+EFIAPI\r
ScsiTestUnitReadyCommand (\r
IN EFI_SCSI_IO_PROTOCOL *ScsiIo,\r
IN UINT64 Timeout,\r
\r
**/\r
EFI_STATUS\r
+EFIAPI\r
ScsiInquiryCommand (\r
IN EFI_SCSI_IO_PROTOCOL *ScsiIo,\r
IN UINT64 Timeout,\r
\r
**/\r
EFI_STATUS\r
+EFIAPI\r
ScsiModeSense10Command (\r
IN EFI_SCSI_IO_PROTOCOL *ScsiIo,\r
IN UINT64 Timeout,\r
\r
**/\r
EFI_STATUS\r
+EFIAPI\r
ScsiRequestSenseCommand (\r
IN EFI_SCSI_IO_PROTOCOL *ScsiIo,\r
IN UINT64 Timeout,\r
\r
**/\r
EFI_STATUS\r
+EFIAPI\r
ScsiReadCapacityCommand (\r
IN EFI_SCSI_IO_PROTOCOL *ScsiIo,\r
IN UINT64 Timeout,\r
\r
**/\r
EFI_STATUS\r
+EFIAPI\r
ScsiRead10Command (\r
IN EFI_SCSI_IO_PROTOCOL *ScsiIo,\r
IN UINT64 Timeout,\r
\r
**/\r
EFI_STATUS\r
+EFIAPI\r
ScsiWrite10Command (\r
IN EFI_SCSI_IO_PROTOCOL *ScsiIo,\r
IN UINT64 Timeout,\r
\r
return Status;\r
}\r
+\r
@param HidDescriptor Caller allocated buffer to store Usb hid descriptor if\r
successfully returned.\r
\r
- @return EFI_SUCCESS\r
- @return EFI_DEVICE_ERROR\r
- @return EFI_TIMEOUT\r
+ @return Status of getting HID descriptor through USB I/O\r
+ protocol's UsbControlTransfer().\r
\r
**/\r
EFI_STATUS\r
+EFIAPI\r
UsbGetHidDescriptor (\r
IN EFI_USB_IO_PROTOCOL *UsbIo,\r
IN UINT8 InterfaceNum,\r
@param DescriptorBuffer Caller allocated buffer to store Usb report descriptor\r
if successfully returned.\r
\r
- @return EFI_SUCCESS\r
- @return EFI_DEVICE_ERROR\r
- @return EFI_TIMEOUT\r
+ @return Status of getting Report Class descriptor through USB\r
+ I/O protocol's UsbControlTransfer().\r
\r
**/\r
EFI_STATUS\r
+EFIAPI\r
UsbGetReportDescriptor (\r
IN EFI_USB_IO_PROTOCOL *UsbIo,\r
IN UINT8 InterfaceNum,\r
}\r
\r
/**\r
- Get Hid Protocol Request.\r
+ Get Hid Protocol Request\r
\r
@param UsbIo EFI_USB_IO_PROTOCOL.\r
- @param Interface Which interface the caller wants to get protocol.\r
+ @param Interface Which interface the caller wants to get protocol\r
@param Protocol Protocol value returned.\r
\r
- @return EFI_SUCCESS\r
- @return EFI_DEVICE_ERROR\r
- @return EFI_TIMEOUT\r
+ @return Status of getting Protocol Request through USB I/O\r
+ protocol's UsbControlTransfer().\r
\r
**/\r
EFI_STATUS\r
+EFIAPI\r
UsbGetProtocolRequest (\r
IN EFI_USB_IO_PROTOCOL *UsbIo,\r
IN UINT8 Interface,\r
}\r
\r
\r
+\r
/**\r
Set Hid Protocol Request.\r
\r
@param UsbIo EFI_USB_IO_PROTOCOL.\r
- @param Interface Which interface the caller wants to set protocol.\r
+ @param Interface Which interface the caller wants to\r
+ set protocol.\r
@param Protocol Protocol value the caller wants to set.\r
\r
- @return EFI_SUCCESS\r
- @return EFI_DEVICE_ERROR\r
- @return EFI_TIMEOUT\r
+ @return Status of setting Protocol Request through USB I/O\r
+ protocol's UsbControlTransfer().\r
\r
**/\r
EFI_STATUS\r
+EFIAPI\r
UsbSetProtocolRequest (\r
IN EFI_USB_IO_PROTOCOL *UsbIo,\r
IN UINT8 Interface,\r
@param ReportId Which report the caller wants to set.\r
@param Duration Idle rate the caller wants to set.\r
\r
- @return EFI_SUCCESS\r
- @return EFI_DEVICE_ERROR\r
- @return EFI_TIMEOUT\r
+ @return Status of setting IDLE Request through USB I/O\r
+ protocol's UsbControlTransfer().\r
\r
**/\r
EFI_STATUS\r
+EFIAPI\r
UsbSetIdleRequest (\r
IN EFI_USB_IO_PROTOCOL *UsbIo,\r
IN UINT8 Interface,\r
@param ReportId Which report the caller wants to get.\r
@param Duration Idle rate the caller wants to get.\r
\r
- @return EFI_SUCCESS\r
- @return EFI_DEVICE_ERROR\r
- @return EFI_TIMEOUT\r
+ @return Status of getting IDLE Request through USB I/O\r
+ protocol's UsbControlTransfer().\r
\r
**/\r
EFI_STATUS\r
+EFIAPI\r
UsbGetIdleRequest (\r
IN EFI_USB_IO_PROTOCOL *UsbIo,\r
IN UINT8 Interface,\r
}\r
\r
\r
+\r
/**\r
Hid Set Report request.\r
\r
@param ReportLen Length of report descriptor.\r
@param Report Report Descriptor buffer.\r
\r
- @return EFI_SUCCESS\r
- @return EFI_DEVICE_ERROR\r
- @return EFI_TIMEOUT\r
+ @return Status of setting Report Request through USB I/O\r
+ protocol's UsbControlTransfer().\r
\r
**/\r
EFI_STATUS\r
+EFIAPI\r
UsbSetReportRequest (\r
IN EFI_USB_IO_PROTOCOL *UsbIo,\r
IN UINT8 Interface,\r
@param ReportLen Length of report descriptor.\r
@param Report Caller allocated buffer to store Report Descriptor.\r
\r
- @return EFI_SUCCESS\r
- @return EFI_DEVICE_ERROR\r
- @return EFI_TIMEOUT\r
+ @return Status of getting Report Request through USB I/O\r
+ protocol's UsbControlTransfer().\r
\r
**/\r
EFI_STATUS\r
+EFIAPI\r
UsbGetReportRequest (\r
IN EFI_USB_IO_PROTOCOL *UsbIo,\r
IN UINT8 Interface,\r