summaryrefslogtreecommitdiffstats
path: root/MdeModulePkg/Bus/Usb/UsbMouseDxe/UsbMouse.h
diff options
context:
space:
mode:
Diffstat (limited to 'MdeModulePkg/Bus/Usb/UsbMouseDxe/UsbMouse.h')
-rw-r--r--MdeModulePkg/Bus/Usb/UsbMouseDxe/UsbMouse.h35
1 files changed, 25 insertions, 10 deletions
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 <PiDxe.h>
@@ -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,