• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1## @file
2# PeiCdExpress recovery module.
3#
4# This module reads data from CDROM device by all installed block IO ppi and
5# finds whether there is Recovery data in the device. If it finds recovery
6# data, it will install Device Recovery Module PPI.
7#
8# Copyright (c) 2006 - 2016, Intel Corporation. All rights reserved.<BR>
9#
10# This program and the accompanying materials
11# are licensed and made available under the terms and conditions
12# of the BSD License which accompanies this distribution.  The
13# full text of the license may be found at
14# http://opensource.org/licenses/bsd-license.php
15#
16# THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,
17# WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
18#
19##
20
21[Defines]
22  INF_VERSION                    = 0x00010005
23  BASE_NAME                      = CdExpressPei
24  MODULE_UNI_FILE                = CdExpressPei.uni
25  FILE_GUID                      = 31e147a6-d39a-4147-9da3-befd4d523243
26  MODULE_TYPE                    = PEIM
27  VERSION_STRING                 = 1.0
28
29  ENTRY_POINT                    = CdExpressPeimEntry
30
31#
32# The following information is for reference only and not required by the build tools.
33#
34#  VALID_ARCHITECTURES           = IA32 X64 IPF EBC
35#
36
37[Sources]
38  PeiCdExpress.c
39  PeiCdExpress.h
40
41
42[Packages]
43  MdePkg/MdePkg.dec
44  MdeModulePkg/MdeModulePkg.dec
45
46[LibraryClasses]
47  BaseMemoryLib
48  PeimEntryPoint
49  DebugLib
50  PeiServicesTablePointerLib
51  PeiServicesLib
52  MemoryAllocationLib
53  PcdLib
54
55[Guids]
56  gRecoveryOnDataCdGuid                         ## CONSUMES   ## UNDEFINED # Indicate the recovery device type
57
58
59[Ppis]
60  ## NOTIFY
61  ## CONSUMES
62  gEfiPeiVirtualBlockIoPpiGuid
63  ## NOTIFY
64  ## CONSUMES
65  gEfiPeiVirtualBlockIo2PpiGuid
66  gEfiPeiDeviceRecoveryModulePpiGuid            ## PRODUCES
67
68[FeaturePcd]
69  gEfiMdeModulePkgTokenSpaceGuid.PcdFrameworkCompatibilitySupport   ## CONSUMES
70
71[Pcd]
72  gEfiMdeModulePkgTokenSpaceGuid.PcdRecoveryFileName         ## CONSUMES
73
74[Depex]
75  gEfiPeiMemoryDiscoveredPpiGuid AND gEfiPeiBootInRecoveryModePpiGuid
76
77[UserExtensions.TianoCore."ExtraFiles"]
78  CdExpressPeiExtra.uni
79