-#/** @file\r
-# Component name for module Uhci\r
+## @file\r
+# The UhciDxe driver is responsible for managing the behavior of UHCI controller. \r
+# It implements the interfaces of monitoring the status of all ports and transferring\r
+# Control, Bulk, Interrupt and Isochronous requests to Usb1.x device\r
#\r
-# Copyright (c) 2006, Intel Corporation. All right reserved.\r
+# Copyright (c) 2006 - 2014, Intel Corporation. All rights reserved.<BR>\r
#\r
-# All rights reserved. This program and the accompanying materials\r
+# This program and the accompanying materials\r
# are licensed and made available under the terms and conditions of the BSD License\r
# which accompanies this distribution. The full text of the license may be found at\r
# http://opensource.org/licenses/bsd-license.php\r
# WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.\r
#\r
#\r
-#**/\r
+##\r
\r
-################################################################################\r
-#\r
-# Defines Section - statements that will be processed to create a Makefile.\r
-#\r
-################################################################################\r
[Defines]\r
INF_VERSION = 0x00010005\r
BASE_NAME = UhciDxe\r
+ MODULE_UNI_FILE = UhciDxe.uni\r
FILE_GUID = 2FB92EFA-2EE0-4bae-9EB6-7464125E1EF7\r
- MODULE_TYPE = DXE_DRIVER\r
+ MODULE_TYPE = UEFI_DRIVER\r
VERSION_STRING = 1.0\r
- EDK_RELEASE_VERSION = 0x00020000\r
- EFI_SPECIFICATION_VERSION = 0x00020000\r
-\r
+ \r
ENTRY_POINT = UhciDriverEntryPoint\r
\r
#\r
#\r
# VALID_ARCHITECTURES = IA32 X64 IPF EBC\r
#\r
-\r
-################################################################################\r
-#\r
-# Sources Section - list of files that are required for the build to succeed.\r
+# DRIVER_BINDING = gUhciDriverBinding \r
+# COMPONENT_NAME = gUhciComponentName\r
+# COMPONENT_NAME2 = gUhciComponentName2\r
#\r
-################################################################################\r
\r
-[Sources.common]\r
+[Sources]\r
UhciSched.c\r
UhciDebug.c\r
UsbHcMem.h\r
UhciReg.h\r
UhciSched.h\r
ComponentName.c\r
+ ComponentName.h\r
\r
\r
-################################################################################\r
-#\r
-# Package Dependency Section - list of Package files that are required for\r
-# this module.\r
-#\r
-################################################################################\r
-\r
[Packages]\r
MdePkg/MdePkg.dec\r
MdeModulePkg/MdeModulePkg.dec\r
\r
-\r
-################################################################################\r
-#\r
-# Library Class Section - list of Library Classes that are required for\r
-# this module.\r
-#\r
-################################################################################\r
+[FeaturePcd]\r
+ gEfiMdeModulePkgTokenSpaceGuid.PcdTurnOffUsbLegacySupport ## CONSUMES\r
\r
[LibraryClasses]\r
MemoryAllocationLib\r
UefiDriverEntryPoint\r
BaseMemoryLib\r
DebugLib\r
+ PcdLib\r
+ ReportStatusCodeLib\r
\r
-\r
-################################################################################\r
-#\r
-# Protocol C Name Section - list of Protocol and Protocol Notify C Names\r
-# that this module uses or produces.\r
-#\r
-################################################################################\r
+[Guids]\r
+ gEfiEventExitBootServicesGuid ## SOMETIMES_CONSUMES ## Event\r
\r
[Protocols]\r
- gEfiPciIoProtocolGuid # PROTOCOL ALWAYS_CONSUMED\r
- gEfiUsbHcProtocolGuid # PROTOCOL ALWAYS_CONSUMED\r
- gEfiUsb2HcProtocolGuid # PROTOCOL ALWAYS_CONSUMED\r
+ gEfiPciIoProtocolGuid ## TO_START\r
+ gEfiUsb2HcProtocolGuid ## BY_START\r
+\r
+# [Event]\r
+# EVENT_TYPE_PERIODIC_TIMER ## CONSUMES\r
+#\r
\r
+[UserExtensions.TianoCore."ExtraFiles"]\r
+ UhciDxeExtra.uni\r