X-Git-Url: https://git.proxmox.com/?a=blobdiff_plain;f=MdeModulePkg%2FBus%2FUsb%2FUsbMouseDxe%2FUsbMouseDxe.inf;h=13d8859f98640b2587fc48ef13a23022a47ba113;hb=6036e94dc9402827130875258e99e486e82e7904;hp=b980d0168adc225d7f9fd352acf48970bec24634;hpb=cfc8865f177c2846cd51f35fb0748bf4e11d8307;p=mirror_edk2.git diff --git a/MdeModulePkg/Bus/Usb/UsbMouseDxe/UsbMouseDxe.inf b/MdeModulePkg/Bus/Usb/UsbMouseDxe/UsbMouseDxe.inf index b980d0168a..13d8859f98 100644 --- a/MdeModulePkg/Bus/Usb/UsbMouseDxe/UsbMouseDxe.inf +++ b/MdeModulePkg/Bus/Usb/UsbMouseDxe/UsbMouseDxe.inf @@ -1,10 +1,17 @@ -#/** @file -# Component name for module UsbMouse +## @file +# USB Mouse Driver that manages USB mouse and produces Simple Pointer Protocol. # -# FIX ME! -# Copyright (c) 2006, Intel Corporation. +# USB Mouse Driver consumes USB I/O Protocol and Device Path Protocol, and produces +# Simple Pointer Protocol on USB mouse devices. +# It manages the USB mouse device via Asynchronous Interrupt Transfer of USB I/O Protocol, +# and parses the data according to USB HID Specification. +# This module refers to following specifications: +# 1. Universal Serial Bus HID Firmware Specification, ver 1.11 +# 2. UEFI Specification, v2.1 # -# All rights reserved. This program and the accompanying materials +# Copyright (c) 2006 - 2014, 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 # http://opensource.org/licenses/bsd-license.php @@ -13,15 +20,15 @@ # WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED. # # -#**/ +## [Defines] INF_VERSION = 0x00010005 BASE_NAME = UsbMouseDxe + MODULE_UNI_FILE = UsbMouseDxe.uni FILE_GUID = 2D2E62AA-9ECF-43b7-8219-94E7FC713DFE MODULE_TYPE = UEFI_DRIVER VERSION_STRING = 1.0 - ENTRY_POINT = USBMouseDriverBindingEntryPoint # @@ -29,11 +36,14 @@ # # VALID_ARCHITECTURES = IA32 X64 IPF EBC # +# DRIVER_BINDING = gUsbMouseDriverBinding +# COMPONENT_NAME = gUsbMouseComponentName +# COMPONENT_NAME2 = gUsbMouseComponentName2 +# -[Sources.common] +[Sources] ComponentName.c MouseHid.c - MouseHid.h UsbMouse.c UsbMouse.h @@ -47,20 +57,16 @@ UefiDriverEntryPoint BaseMemoryLib ReportStatusCodeLib - PcdLib UefiUsbLib - [Protocols] - gEfiUsbIoProtocolGuid # PROTOCOL ALWAYS_CONSUMED - gEfiDevicePathProtocolGuid # PROTOCOL ALWAYS_CONSUMED - gEfiSimplePointerProtocolGuid # PROTOCOL ALWAYS_CONSUMED - -[FixedPcd] - gEfiMdePkgTokenSpaceGuid.PcdStatusCodeValueMouseInterfaceError - gEfiMdePkgTokenSpaceGuid.PcdStatusCodeValueMouseEnable - gEfiMdePkgTokenSpaceGuid.PcdStatusCodeValueMouseDisable - gEfiMdePkgTokenSpaceGuid.PcdStatusCodeValueMouseInputError - gEfiMdePkgTokenSpaceGuid.PcdStatusCodeValueMouseReset + gEfiUsbIoProtocolGuid ## TO_START + gEfiDevicePathProtocolGuid ## TO_START + gEfiSimplePointerProtocolGuid ## BY_START +# [Event] +# EVENT_TYPE_RELATIVE_TIMER ## CONSUMES +# +[UserExtensions.TianoCore."ExtraFiles"] + UsbMouseDxeExtra.uni