BootModePei.inf 1.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354
  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 - 2018, Intel Corporation. All rights reserved.<BR>
  6. # Portions copyright (c) 2011, Apple Inc. All rights reserved.
  7. #
  8. # SPDX-License-Identifier: BSD-2-Clause-Patent
  9. #
  10. #
  11. ##
  12. [Defines]
  13. INF_VERSION = 0x00010005
  14. BASE_NAME = BootModePei
  15. FILE_GUID = 64196C76-58E3-0B4D-9484-B54F7C4349CA
  16. MODULE_TYPE = PEIM
  17. VERSION_STRING = 1.0
  18. ENTRY_POINT = InitializeBootMode
  19. #
  20. # The following information is for reference only and not required by the build tools.
  21. #
  22. # VALID_ARCHITECTURES = IA32 X64 EBC
  23. #
  24. [Sources]
  25. BootModePei.c
  26. [Packages]
  27. MdePkg/MdePkg.dec
  28. EmulatorPkg/EmulatorPkg.dec
  29. [LibraryClasses]
  30. PeiServicesTablePointerLib
  31. PeiServicesLib
  32. BaseLib
  33. PeimEntryPoint
  34. DebugLib
  35. [Ppis]
  36. gEfiPeiMasterBootModePpiGuid # PPI ALWAYS_PRODUCED
  37. gEfiPeiBootInRecoveryModePpiGuid # PPI SOMETIMES_PRODUCED
  38. [FixedPcd]
  39. gEmulatorPkgTokenSpaceGuid.PcdEmuBootMode
  40. [Depex]
  41. TRUE