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, Intel Corporation. All rights reserved.<BR>
8#
9# This program and the accompanying materials
10# are licensed and made available under the terms and conditions
11# of the BSD License which accompanies this distribution.  The
12# full text of the license may be found at
13# http://opensource.org/licenses/bsd-license.php
14#
15# THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,
16# WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
17#
18##
19
20[Defines]
21  INF_VERSION                    = 0x00010005
22  BASE_NAME                      = XhciPei
23  MODULE_UNI_FILE                = XhciPei.uni
24  FILE_GUID                      = 65E5746E-9C14-467d-B5B3-932A66D59F79
25  MODULE_TYPE                    = PEIM
26  VERSION_STRING                 = 1.0
27  ENTRY_POINT                    = XhcPeimEntry
28
29#
30# The following information is for reference only and not required by the build tools.
31#
32#  VALID_ARCHITECTURES           = IA32 X64 IPF EBC
33#
34
35[Sources]
36  XhcPeim.c
37  XhcPeim.h
38  XhciSched.c
39  UsbHcMem.c
40  XhciReg.h
41  XhciSched.h
42  UsbHcMem.h
43
44[Packages]
45  MdePkg/MdePkg.dec
46  MdeModulePkg/MdeModulePkg.dec
47
48[LibraryClasses]
49  IoLib
50  TimerLib
51  BaseMemoryLib
52  PeimEntryPoint
53  PeiServicesLib
54  MemoryAllocationLib
55
56[Ppis]
57  gPeiUsb2HostControllerPpiGuid                 ## PRODUCES
58  gPeiUsbControllerPpiGuid                      ## CONSUMES
59
60[Depex]
61  gEfiPeiMemoryDiscoveredPpiGuid AND gPeiUsbControllerPpiGuid AND gEfiPeiBootInRecoveryModePpiGuid
62
63[UserExtensions.TianoCore."ExtraFiles"]
64  XhciPeiExtra.uni
65