1## @file
2# The XhcPeim driver is responsible for managing the behavior of XHCI controller at PEI phase.
3#
4# It produces gPeiUsb2HostControllerPpiGuid based on gPeiUsbControllerPpiGuid
5# which is used to enable recovery function from USB Drivers.
6#
7# Copyright (c) 2014 - 2018, Intel Corporation. All rights reserved.<BR>
8#
9# SPDX-License-Identifier: BSD-2-Clause-Patent
10#
11##
12
13[Defines]
14  INF_VERSION                    = 0x00010005
15  BASE_NAME                      = XhciPei
16  MODULE_UNI_FILE                = XhciPei.uni
17  FILE_GUID                      = 65E5746E-9C14-467d-B5B3-932A66D59F79
18  MODULE_TYPE                    = PEIM
19  VERSION_STRING                 = 1.0
20  ENTRY_POINT                    = XhcPeimEntry
21
22#
23# The following information is for reference only and not required by the build tools.
24#
25#  VALID_ARCHITECTURES           = IA32 X64 EBC
26#
27
28[Sources]
29  XhcPeim.c
30  XhcPeim.h
31  XhciSched.c
32  UsbHcMem.c
33  DmaMem.c
34  XhciReg.h
35  XhciSched.h
36  UsbHcMem.h
37
38[Packages]
39  MdePkg/MdePkg.dec
40  MdeModulePkg/MdeModulePkg.dec
41
42[LibraryClasses]
43  IoLib
44  TimerLib
45  BaseMemoryLib
46  PeimEntryPoint
47  PeiServicesLib
48  MemoryAllocationLib
49
50[Ppis]
51  gPeiUsb2HostControllerPpiGuid                 ## PRODUCES
52  gPeiUsbControllerPpiGuid                      ## CONSUMES
53  gEdkiiIoMmuPpiGuid                            ## CONSUMES
54  gEfiEndOfPeiSignalPpiGuid                     ## CONSUMES
55
56[Depex]
57  gEfiPeiMemoryDiscoveredPpiGuid AND gPeiUsbControllerPpiGuid
58
59[UserExtensions.TianoCore."ExtraFiles"]
60  XhciPeiExtra.uni
61