From bb80e3b213f1d9409cd97a63e4d40191ce502912 Mon Sep 17 00:00:00 2001 From: eric_tian Date: Fri, 25 Jul 2008 06:55:07 +0000 Subject: modify coding style to pass ecc tool git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@5563 6f19259b-4bc3-4df7-8a09-765794883524 --- MdeModulePkg/Bus/Usb/UsbMouseDxe/UsbMouse.h | 35 ++++++++++++++++++++--------- 1 file changed, 25 insertions(+), 10 deletions(-) (limited to 'MdeModulePkg/Bus/Usb/UsbMouseDxe/UsbMouse.h') diff --git a/MdeModulePkg/Bus/Usb/UsbMouseDxe/UsbMouse.h b/MdeModulePkg/Bus/Usb/UsbMouseDxe/UsbMouse.h index cb8cc03ea1..0e4c56621a 100644 --- a/MdeModulePkg/Bus/Usb/UsbMouseDxe/UsbMouse.h +++ b/MdeModulePkg/Bus/Usb/UsbMouseDxe/UsbMouse.h @@ -1,6 +1,8 @@ /** @file -Copyright (c) 2004 - 2007, Intel Corporation + Helper routine and corrsponding data struct used by USB Mouse Driver. + +Copyright (c) 2004 - 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 which accompanies this distribution. The full text of the license may be found at @@ -9,17 +11,10 @@ http://opensource.org/licenses/bsd-license.php THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED. - Module Name: - - UsbMouse.h - - Abstract: - - **/ -#ifndef _USB_MOUSE_H -#define _USB_MOUSE_H +#ifndef _EFI_USB_MOUSE_H_ +#define _EFI_USB_MOUSE_H_ #include @@ -78,6 +73,15 @@ typedef struct { #define USB_MOUSE_DEV_FROM_MOUSE_PROTOCOL(a) \ CR(a, USB_MOUSE_DEV, SimplePointerProtocol, USB_MOUSE_DEV_SIGNATURE) + +/** + Timer handler for Delayed Recovery timer. + + @param Event The Delayed Recovery event. + @param Context Points to the USB_KB_DEV instance. + + +**/ VOID EFIAPI USBMouseRecoveryHandler ( @@ -93,6 +97,17 @@ extern EFI_COMPONENT_NAME_PROTOCOL gUsbMouseComponentName; extern EFI_COMPONENT_NAME2_PROTOCOL gUsbMouseComponentName2; extern EFI_GUID gEfiUsbMouseDriverGuid; + +/** + Report Status Code in Usb Bot Driver. + + @param DevicePath Use this to get Device Path + @param CodeType Status Code Type + @param CodeValue Status Code Value + + @return None + +**/ VOID MouseReportStatusCode ( IN EFI_DEVICE_PATH_PROTOCOL *DevicePath, -- cgit v1.2.3