88 lines
2.9 KiB
INI
88 lines
2.9 KiB
INI
## @file
|
|
# This driver registers event to enable BIOS region protection before boot to OS
|
|
#
|
|
#******************************************************************************
|
|
#* Copyright (c) 2012 - 2018, Insyde Software Corp. All Rights Reserved.
|
|
#*
|
|
#* You may not reproduce, distribute, publish, display, perform, modify, adapt,
|
|
#* transmit, broadcast, present, recite, release, license or otherwise exploit
|
|
#* any part of this publication in any form, by any means, without the prior
|
|
#* written permission of Insyde Software Corporation.
|
|
#*
|
|
#******************************************************************************
|
|
|
|
[Defines]
|
|
INF_VERSION = 0x00010005
|
|
BASE_NAME = BiosProtectDxe
|
|
FILE_GUID = C7D4F4E3-DAEA-40b0-8846-F4CAF3135CE8
|
|
MODULE_TYPE = DXE_DRIVER
|
|
VERSION_STRING = 1.0
|
|
ENTRY_POINT = BiosProtectEntryPoint
|
|
|
|
[Sources]
|
|
BiosProtectDxe.c
|
|
|
|
[Packages]
|
|
MdePkg/MdePkg.dec
|
|
MdeModulePkg/MdeModulePkg.dec
|
|
InsydeModulePkg/InsydeModulePkg.dec
|
|
|
|
[LibraryClasses]
|
|
PcdLib
|
|
UefiLib
|
|
DebugLib
|
|
UefiDriverEntryPoint
|
|
UefiBootServicesTableLib
|
|
UefiRuntimeServicesTableLib
|
|
DxeChipsetSvcLib
|
|
MemoryAllocationLib
|
|
H2OCpLib
|
|
GenericBdsLib
|
|
|
|
[Guids]
|
|
gSecureFlashInfoGuid
|
|
gEfiEventExitBootServicesGuid
|
|
gEfiEventLegacyBootGuid
|
|
gH2OBdsCpInitGuid
|
|
gH2OBdsCpReadyToBootBeforeGuid
|
|
gEfiEventDxeDispatchGuid
|
|
gH2OBdsCpDxeSmmReadyToLockBeforeGuid
|
|
|
|
[Protocols]
|
|
gEfiBiosRegionLockProtocolGuid
|
|
gEfiDxeSmmReadyToLockProtocolGuid
|
|
gExitPmAuthProtocolGuid
|
|
gEfiSmmBase2ProtocolGuid
|
|
|
|
[Pcd]
|
|
gInsydeTokenSpaceGuid.PcdFlashAreaBaseAddress
|
|
gInsydeTokenSpaceGuid.PcdFlashAreaSize
|
|
gInsydeTokenSpaceGuid.PcdFlashFvMainBase
|
|
gInsydeTokenSpaceGuid.PcdFlashFvMainSize
|
|
gInsydeTokenSpaceGuid.PcdFlashNvStorageMicrocodeBase
|
|
gInsydeTokenSpaceGuid.PcdFlashNvStorageMicrocodeSize
|
|
gInsydeTokenSpaceGuid.PcdFlashNvStorageDmiBase
|
|
gInsydeTokenSpaceGuid.PcdFlashNvStorageDmiSize
|
|
gInsydeTokenSpaceGuid.PcdFlashNvStorageBvdtBase
|
|
gInsydeTokenSpaceGuid.PcdFlashNvStorageBvdtSize
|
|
gInsydeTokenSpaceGuid.PcdFlashNvStorageFactoryCopyBase
|
|
gInsydeTokenSpaceGuid.PcdFlashNvStorageFactoryCopySize
|
|
gInsydeTokenSpaceGuid.PcdFlashFvRecoveryBase
|
|
gInsydeTokenSpaceGuid.PcdFlashFvRecoverySize
|
|
gEfiMdeModulePkgTokenSpaceGuid.PcdFlashNvStorageVariableBase
|
|
gEfiMdeModulePkgTokenSpaceGuid.PcdFlashNvStorageVariableSize
|
|
gEfiMdeModulePkgTokenSpaceGuid.PcdFlashNvStorageFtwSpareBase
|
|
gEfiMdeModulePkgTokenSpaceGuid.PcdFlashNvStorageFtwSpareSize
|
|
gEfiMdeModulePkgTokenSpaceGuid.PcdFlashNvStorageFtwWorkingBase
|
|
gEfiMdeModulePkgTokenSpaceGuid.PcdFlashNvStorageFtwWorkingSize
|
|
|
|
[FeaturePcd]
|
|
gInsydeTokenSpaceGuid.PcdSecureFlashSupported
|
|
gInsydeTokenSpaceGuid.PcdInstantCapsuleUpdateSupported
|
|
gInsydeTokenSpaceGuid.PcdH2OBdsCpInitSupported
|
|
gInsydeTokenSpaceGuid.PcdH2OBdsCpReadyToBootBeforeSupported
|
|
gInsydeTokenSpaceGuid.PcdH2OBdsCpDxeSmmReadyToLockBeforeSupported
|
|
|
|
[Depex]
|
|
TRUE
|