mirror of https://github.com/acidanthera/audk.git
Update the API of UsbGetInterface() & UsbGetConfiguration () to follow MdeLib spec.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@6792 6f19259b-4bc3-4df7-8a09-765794883524
This commit is contained in:
parent
16f476fbb8
commit
2d8a3c1354
|
@ -349,7 +349,7 @@ EFIAPI
|
||||||
UsbGetInterface (
|
UsbGetInterface (
|
||||||
IN EFI_USB_IO_PROTOCOL *UsbIo,
|
IN EFI_USB_IO_PROTOCOL *UsbIo,
|
||||||
IN UINT16 Interface,
|
IN UINT16 Interface,
|
||||||
OUT UINT8 *AlternateSetting,
|
OUT UINT16 *AlternateSetting,
|
||||||
OUT UINT32 *Status
|
OUT UINT32 *Status
|
||||||
);
|
);
|
||||||
|
|
||||||
|
@ -406,7 +406,7 @@ EFI_STATUS
|
||||||
EFIAPI
|
EFIAPI
|
||||||
UsbGetConfiguration (
|
UsbGetConfiguration (
|
||||||
IN EFI_USB_IO_PROTOCOL *UsbIo,
|
IN EFI_USB_IO_PROTOCOL *UsbIo,
|
||||||
OUT UINT8 *ConfigurationValue,
|
OUT UINT16 *ConfigurationValue,
|
||||||
OUT UINT32 *Status
|
OUT UINT32 *Status
|
||||||
);
|
);
|
||||||
|
|
||||||
|
|
|
@ -167,7 +167,7 @@ EFIAPI
|
||||||
UsbGetInterface (
|
UsbGetInterface (
|
||||||
IN EFI_USB_IO_PROTOCOL *UsbIo,
|
IN EFI_USB_IO_PROTOCOL *UsbIo,
|
||||||
IN UINT16 Interface,
|
IN UINT16 Interface,
|
||||||
OUT UINT8 *AlternateSetting,
|
OUT UINT16 *AlternateSetting,
|
||||||
OUT UINT32 *Status
|
OUT UINT32 *Status
|
||||||
)
|
)
|
||||||
{
|
{
|
||||||
|
@ -190,7 +190,7 @@ UsbGetInterface (
|
||||||
EfiUsbDataIn,
|
EfiUsbDataIn,
|
||||||
TIMEOUT_VALUE,
|
TIMEOUT_VALUE,
|
||||||
AlternateSetting,
|
AlternateSetting,
|
||||||
1,
|
2,
|
||||||
Status
|
Status
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
@ -273,7 +273,7 @@ EFI_STATUS
|
||||||
EFIAPI
|
EFIAPI
|
||||||
UsbGetConfiguration (
|
UsbGetConfiguration (
|
||||||
IN EFI_USB_IO_PROTOCOL *UsbIo,
|
IN EFI_USB_IO_PROTOCOL *UsbIo,
|
||||||
OUT UINT8 *ConfigurationValue,
|
OUT UINT16 *ConfigurationValue,
|
||||||
OUT UINT32 *Status
|
OUT UINT32 *Status
|
||||||
)
|
)
|
||||||
{
|
{
|
||||||
|
@ -295,7 +295,7 @@ UsbGetConfiguration (
|
||||||
EfiUsbDataIn,
|
EfiUsbDataIn,
|
||||||
TIMEOUT_VALUE,
|
TIMEOUT_VALUE,
|
||||||
ConfigurationValue,
|
ConfigurationValue,
|
||||||
1,
|
2,
|
||||||
Status
|
Status
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue