hc
2024-03-26 e0728245c89800c2038c23308f2d88969d5b41c8
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
## @file
#  The EhciDxe driver is responsible for managing the behavior of EHCI controller.
#  It implements the interfaces of monitoring the status of all ports and transferring
#  Control, Bulk, Interrupt and Isochronous requests to Usb2.0 device.
#
#  Note that EhciDxe driver is enhanced to guarantee that the EHCI controller get attached
#  to the EHCI controller before the UHCI driver attaches to the companion UHCI controller.
#  This way avoids the control transfer on a shared port between EHCI and companion host
#  controller when UHCI gets attached earlier than EHCI and a USB 2.0 device inserts.
#
#  Copyright (c) 2006 - 2018, Intel Corporation. All rights reserved.<BR>
#
#  SPDX-License-Identifier: BSD-2-Clause-Patent
#
#
##
 
[Defines]
  INF_VERSION                    = 0x00010005
  BASE_NAME                      = EhciDxe
  MODULE_UNI_FILE                = EhciDxe.uni
  FILE_GUID                      = 1AA6BD7A-B946-11EC-9D33-F42A7DCB925D
  MODULE_TYPE                    = DXE_DRIVER
  VERSION_STRING                 = 1.0
 
  ENTRY_POINT                    = EhciInitialise
  #ENTRY_POINT                    = EhcDriverEntryPoint
 
#
# The following information is for reference only and not required by the build tools.
#
#  VALID_ARCHITECTURES           = IA32 X64 EBC ARM AARCH64
#
#  DRIVER_BINDING                =  gEhciDriverBinding
#  COMPONENT_NAME                =  gEhciComponentName
#  COMPONENT_NAME2               =  gEhciComponentName2
#
 
[Sources]
  UsbHcMem.h
  EhciUrb.c
  EhciReg.h
  UsbHcMem.c
  EhciSched.c
  EhciDebug.c
  EhciReg.c
  EhciDebug.h
  EhciUrb.h
  Ehci.h
  EhciSched.h
  Ehci.c
 
[Packages]
  EmbeddedPkg/EmbeddedPkg.dec
  MdePkg/MdePkg.dec
  MdeModulePkg/MdeModulePkg.dec
  Silicon/Rockchip/RockchipPkg.dec
 
[FeaturePcd]
  gEfiMdeModulePkgTokenSpaceGuid.PcdTurnOffUsbLegacySupport  ## CONSUMES
 
[LibraryClasses]
  MemoryAllocationLib
  BaseLib
  UefiLib
  UefiBootServicesTableLib
  UefiDriverEntryPoint
  BaseMemoryLib
  DebugLib
  PcdLib
  ReportStatusCodeLib
  RockchipPlatfromLib
  DmaLib
 
  DxeServicesTableLib
  IoLib
 
 
[Guids]
  gEfiEventExitBootServicesGuid                 ## SOMETIMES_CONSUMES ## Event
  gEfiEndOfDxeEventGroupGuid
 
[Protocols]
  gEfiUsb2HcProtocolGuid                        ## BY_START
 
# [Event]
# EVENT_TYPE_PERIODIC_TIMER       ## CONSUMES
#
 
[Pcd]
  gRockchipTokenSpaceGuid.PcdEhciBaseAddress
  gRockchipTokenSpaceGuid.PcdNumEhciController
  gRockchipTokenSpaceGuid.PcdEhciSize
 
[UserExtensions.TianoCore."ExtraFiles"]
  EhciDxeExtra.uni
 
[Depex]
  TRUE