From: jji4 Date: Fri, 12 Dec 2008 06:39:33 +0000 (+0000) Subject: IN OUT modifiers corrected X-Git-Tag: edk2-stable201903~19235 X-Git-Url: https://git.proxmox.com/?p=mirror_edk2.git;a=commitdiff_plain;h=4cb616daee8c269cc944dc4038a49b3e37c22e5c IN OUT modifiers corrected git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@7011 6f19259b-4bc3-4df7-8a09-765794883524 --- diff --git a/MdePkg/Include/Library/UefiUsbLib.h b/MdePkg/Include/Library/UefiUsbLib.h index 0594ceac52..9c63d945af 100644 --- a/MdePkg/Include/Library/UefiUsbLib.h +++ b/MdePkg/Include/Library/UefiUsbLib.h @@ -105,7 +105,7 @@ EFIAPI UsbGetProtocolRequest ( IN EFI_USB_IO_PROTOCOL *UsbIo, IN UINT8 Interface, - IN UINT8 *Protocol + OUT UINT8 *Protocol ); /** @@ -244,12 +244,12 @@ UsbSetReportRequest ( EFI_STATUS EFIAPI UsbGetReportRequest ( - IN EFI_USB_IO_PROTOCOL *UsbIo, - IN UINT8 Interface, - IN UINT8 ReportId, - IN UINT8 ReportType, - IN UINT16 ReportLen, - IN UINT8 *Report + IN EFI_USB_IO_PROTOCOL *UsbIo, + IN UINT8 Interface, + IN UINT8 ReportId, + IN UINT8 ReportType, + IN UINT16 ReportLen, + OUT UINT8 *Report ); /** diff --git a/MdePkg/Library/UefiDevicePathLibDevicePathProtocol/UefiDevicePathLibDevicePathProtocol.inf b/MdePkg/Library/UefiDevicePathLibDevicePathProtocol/UefiDevicePathLibDevicePathProtocol.inf index e0b4fb6e23..1a2c617f60 100644 --- a/MdePkg/Library/UefiDevicePathLibDevicePathProtocol/UefiDevicePathLibDevicePathProtocol.inf +++ b/MdePkg/Library/UefiDevicePathLibDevicePathProtocol/UefiDevicePathLibDevicePathProtocol.inf @@ -1,10 +1,10 @@ #/** @file # Instance of Device Path Library based on Device Path Protocol. # -# Device Path Library that layers on top of the UEFI 2.0 Device Path Protocol. +# Device Path Library that layers on top of the UEFI 2.0 Device Path Protocol. # This library is not available for EFI 1.10 modules. # -# Copyright (c) 2007 - 2008, Intel Corporation +# Copyright (c) 2007 - 2008, Intel Corporation # # All rights reserved. This program and the accompanying materials # are licensed and made available under the terms and conditions of the BSD License diff --git a/MdePkg/Library/UefiUsbLib/Hid.c b/MdePkg/Library/UefiUsbLib/Hid.c index 95b6a5969f..be2e651cde 100644 --- a/MdePkg/Library/UefiUsbLib/Hid.c +++ b/MdePkg/Library/UefiUsbLib/Hid.c @@ -163,9 +163,9 @@ UsbGetReportDescriptor ( EFI_STATUS EFIAPI UsbGetProtocolRequest ( - IN EFI_USB_IO_PROTOCOL *UsbIo, - IN UINT8 Interface, - IN UINT8 *Protocol + IN EFI_USB_IO_PROTOCOL *UsbIo, + IN UINT8 Interface, + OUT UINT8 *Protocol ) { UINT32 Status; @@ -450,12 +450,12 @@ UsbSetReportRequest ( EFI_STATUS EFIAPI UsbGetReportRequest ( - IN EFI_USB_IO_PROTOCOL *UsbIo, - IN UINT8 Interface, - IN UINT8 ReportId, - IN UINT8 ReportType, - IN UINT16 ReportLen, - IN UINT8 *Report + IN EFI_USB_IO_PROTOCOL *UsbIo, + IN UINT8 Interface, + IN UINT8 ReportId, + IN UINT8 ReportType, + IN UINT16 ReportLen, + OUT UINT8 *Report ) { UINT32 Status;