1## @file
2# Component description file for BootMode module
3#
4# This module provides platform specific function to detect boot mode.
5# Copyright (c) 2006 - 2010, Intel Corporation. All rights reserved.<BR>
6# Portions copyright (c) 2011, Apple Inc. All rights reserved.
7#
8#  This program and the accompanying materials
9#  are licensed and made available under the terms and conditions of the BSD License
10#  which accompanies this distribution. The full text of the license may be found at
11#  http://opensource.org/licenses/bsd-license.php
12#  THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,
13#  WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
14#
15#
16##
17
18[Defines]
19  INF_VERSION                    = 0x00010005
20  BASE_NAME                      = BootModePei
21  FILE_GUID                      = 64196C76-58E3-0B4D-9484-B54F7C4349CA
22  MODULE_TYPE                    = PEIM
23  VERSION_STRING                 = 1.0
24
25  ENTRY_POINT                    = InitializeBootMode
26
27#
28# The following information is for reference only and not required by the build tools.
29#
30#  VALID_ARCHITECTURES           = IA32 X64 IPF EBC
31#
32
33[Sources]
34  BootModePei.c
35
36
37[Packages]
38  MdePkg/MdePkg.dec
39  EmulatorPkg/EmulatorPkg.dec
40
41
42[LibraryClasses]
43  PeiServicesTablePointerLib
44  PeiServicesLib
45  BaseLib
46  PeimEntryPoint
47  DebugLib
48
49
50[Ppis]
51  gEfiPeiMasterBootModePpiGuid                  # PPI ALWAYS_PRODUCED
52  gEfiPeiBootInRecoveryModePpiGuid              # PPI SOMETIMES_PRODUCED
53
54[FixedPcd]
55  gEmulatorPkgTokenSpaceGuid.PcdEmuBootMode
56
57[Depex]
58  TRUE
59
60