• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1## @file
2# PEIM to produce gEfiPeiVirtualBlockIoPpiGuid PPI for ATA controllers in the platform.
3# This PPI can be consumed by PEIM which produce gEfiPeiDeviceRecoveryModulePpiGuid
4# for Atapi CD ROM device.
5#
6# This module discovers CDROM devices in Legacy and native mode and installs block IO ppis for them.
7# Copyright (c) 2006 - 2015, 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                      = IdeBusPei
23  MODULE_UNI_FILE                = IdeBusPei.uni
24  FILE_GUID                      = B7A5041A-78BA-49e3-B73B-54C757811FB6
25  MODULE_TYPE                    = PEIM
26  VERSION_STRING                 = 1.0
27
28  ENTRY_POINT                    = AtapiPeimEntry
29
30#
31# The following information is for reference only and not required by the build tools.
32#
33#  VALID_ARCHITECTURES           = IA32 X64 IPF EBC
34#
35
36[Sources]
37  AtapiPeim.h
38  AtapiPeim.c
39
40
41[Packages]
42  MdePkg/MdePkg.dec
43  MdeModulePkg/MdeModulePkg.dec
44
45
46[LibraryClasses]
47  IoLib
48  BaseMemoryLib
49  PeiServicesLib
50  PeimEntryPoint
51  DebugLib
52  TimerLib
53  PeiServicesTablePointerLib
54  MemoryAllocationLib
55  PcdLib
56
57[Ppis]
58  gPeiAtaControllerPpiGuid                      ## CONSUMES
59  gEfiPeiVirtualBlockIoPpiGuid                  ## PRODUCES
60  gEfiPeiVirtualBlockIo2PpiGuid                 ## PRODUCES
61
62[Pcd]
63  gEfiMdeModulePkgTokenSpaceGuid.PcdSataSpinUpDelayInSecForRecoveryPath   ## CONSUMES
64
65[Depex]
66  gEfiPeiMemoryDiscoveredPpiGuid AND gEfiPeiBootInRecoveryModePpiGuid AND gPeiAtaControllerPpiGuid
67
68[UserExtensions.TianoCore."ExtraFiles"]
69  IdeBusPeiExtra.uni
70