-#/** @file\r
-# Component name for module UsbBus\r
+## @file\r
+# \r
+# Component Description File For UsbBus Dxe Module.\r
#\r
-# Copyright (c) 2006, Intel Corporation. All right reserved.\r
+# Usb Bus Dxe driver is used to enumerate and manage all attached usb devices.\r
+# \r
+# Copyright (c) 2006 - 2010, 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 = UsbBusDxe\r
FILE_GUID = 240612B7-A063-11d4-9A3A-0090273FC14D\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
ENTRY_POINT = UsbBusDriverEntryPoint\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 = mUsbBusDriverBinding \r
+# COMPONENT_NAME = mUsbBusComponentName\r
+# COMPONENT_NAME2 = mUsbBusComponentName2\r
#\r
-################################################################################\r
\r
-[Sources.common]\r
+[Sources]\r
UsbDesc.c\r
UsbEnumer.c\r
UsbEnumer.h\r
- usbbus.c\r
+ UsbBus.c\r
UsbHub.c\r
ComponentName.c\r
UsbUtility.h\r
UsbHub.h\r
UsbUtility.c\r
UsbDesc.h\r
- usbbus.h\r
-\r
-################################################################################\r
-#\r
-# Package Dependency Section - list of Package files that are required for\r
-# this module.\r
-#\r
-################################################################################\r
+ UsbBus.h\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
-\r
[LibraryClasses]\r
MemoryAllocationLib\r
DevicePathLib\r
DebugLib\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
-\r
[Protocols]\r
- gEfiUsbIoProtocolGuid # PROTOCOL ALWAYS_CONSUMED\r
- gEfiDevicePathProtocolGuid # PROTOCOL ALWAYS_CONSUMED\r
- gEfiUsb2HcProtocolGuid # PROTOCOL ALWAYS_CONSUMED\r
- gEfiUsbHcProtocolGuid # PROTOCOL ALWAYS_CONSUMED\r
+ gEfiUsbIoProtocolGuid ## BY_START\r
+ gEfiDevicePathProtocolGuid ## BY_START\r
+ gEfiUsb2HcProtocolGuid ## TO_START\r
+ gEfiUsbHcProtocolGuid ## TO_START\r
\r
+# [Event]\r
+# ##\r
+# # Periodic timer event for monitoring attach/detach event in port and enumerate attached usb devices.\r
+# #\r
+# EVENT_TYPE_PERIODIC_TIMER ## PRODUCES\r
+#\r
+#\r