2011-05-11 20:31:20 +02:00
|
|
|
## @file
|
|
|
|
# Component description file for BootMode module
|
|
|
|
#
|
|
|
|
# This module provides platform specific function to detect boot mode.
|
2018-06-29 05:22:32 +02:00
|
|
|
# Copyright (c) 2006 - 2018, Intel Corporation. All rights reserved.<BR>
|
2011-06-28 18:50:26 +02:00
|
|
|
# Portions copyright (c) 2011, Apple Inc. All rights reserved.
|
2011-05-11 20:31:20 +02:00
|
|
|
#
|
2019-04-04 01:03:44 +02:00
|
|
|
# SPDX-License-Identifier: BSD-2-Clause-Patent
|
2011-05-11 20:31:20 +02:00
|
|
|
#
|
|
|
|
#
|
|
|
|
##
|
|
|
|
|
|
|
|
[Defines]
|
|
|
|
INF_VERSION = 0x00010005
|
|
|
|
BASE_NAME = BootModePei
|
|
|
|
FILE_GUID = 64196C76-58E3-0B4D-9484-B54F7C4349CA
|
|
|
|
MODULE_TYPE = PEIM
|
|
|
|
VERSION_STRING = 1.0
|
|
|
|
|
|
|
|
ENTRY_POINT = InitializeBootMode
|
|
|
|
|
|
|
|
#
|
|
|
|
# The following information is for reference only and not required by the build tools.
|
|
|
|
#
|
2018-06-29 05:22:32 +02:00
|
|
|
# VALID_ARCHITECTURES = IA32 X64 EBC
|
2011-05-11 20:31:20 +02:00
|
|
|
#
|
|
|
|
|
|
|
|
[Sources]
|
|
|
|
BootModePei.c
|
|
|
|
|
|
|
|
|
|
|
|
[Packages]
|
|
|
|
MdePkg/MdePkg.dec
|
2011-06-28 18:47:23 +02:00
|
|
|
EmulatorPkg/EmulatorPkg.dec
|
2011-05-11 20:31:20 +02:00
|
|
|
|
|
|
|
|
|
|
|
[LibraryClasses]
|
|
|
|
PeiServicesTablePointerLib
|
|
|
|
PeiServicesLib
|
|
|
|
BaseLib
|
|
|
|
PeimEntryPoint
|
|
|
|
DebugLib
|
|
|
|
|
|
|
|
|
|
|
|
[Ppis]
|
|
|
|
gEfiPeiMasterBootModePpiGuid # PPI ALWAYS_PRODUCED
|
|
|
|
gEfiPeiBootInRecoveryModePpiGuid # PPI SOMETIMES_PRODUCED
|
|
|
|
|
|
|
|
[FixedPcd]
|
2011-06-28 18:47:23 +02:00
|
|
|
gEmulatorPkgTokenSpaceGuid.PcdEmuBootMode
|
2011-05-11 20:31:20 +02:00
|
|
|
|
|
|
|
[Depex]
|
|
|
|
TRUE
|
|
|
|
|