## @libraryclass Provide platform specific hooks.\r
#\r
PlatformHookLib|Include/Library/PlatformHookLib.h\r
+\r
+ ## @libraryclass Provide platform specific hooks for SMM core.\r
+ #\r
+ SmmCorePlatformHookLib|Include/Library/SmmCorePlatformHookLib.h\r
+\r
+ ## @libraryclass Provide capability to maintain the data integrity cross S3 phase.\r
+ #\r
+ LockBoxLib|Include/Library/LockBoxLib.h\r
\r
[Guids]\r
## MdeModule package token space guid\r
## Include/Guid/RecoveryDevice.h\r
gRecoveryOnDataCdGuid = { 0x5CAC0099, 0x0DC9, 0x48E5, { 0x80, 0x68, 0xBB, 0x95, 0xF5, 0x40, 0x0A, 0x9F }}\r
\r
+ ## Include/Guid/SmmLockBox.h\r
+ gEfiSmmLockBoxCommunicationGuid = { 0x2a3cfebd, 0x27e8, 0x4d0a, { 0x8b, 0x79, 0xd6, 0x88, 0xc2, 0xa3, 0xe1, 0xc0 }}\r
+\r
+ ## Include/Guid/AcpiS3Context.h\r
+ gEfiAcpiVariableGuid = { 0xAF9FFD67, 0xEC10, 0x488A, { 0x9D, 0xFC, 0x6C, 0xBF, 0x5E, 0xE2, 0x2C, 0x2E }}\r
+\r
+ ## Include/Guid/AcpiS3Context.h\r
+ gEfiAcpiS3ContextGuid = { 0xef98d3a, 0x3e33, 0x497a, { 0xa4, 0x1, 0x77, 0xbe, 0x3e, 0xb7, 0x4f, 0x38 }}\r
+\r
+ ## Include/Guid/BootScriptExecutorVariable.h\r
+ gEfiBootScriptExecutorVariableGuid = { 0x3079818c, 0x46d4, 0x4a73, { 0xae, 0xf3, 0xe3, 0xe4, 0x6c, 0xf1, 0xee, 0xdb }}\r
+ gEfiBootScriptExecutorContextGuid = { 0x79cb58c4, 0xac51, 0x442f, { 0xaf, 0xd7, 0x98, 0xe4, 0x7d, 0x2e, 0x99, 0x8 }}\r
+\r
[Ppis]\r
## Include/Ppi/AtaController.h\r
gPeiAtaControllerPpiGuid = { 0xa45e60d1, 0xc719, 0x44aa, { 0xb0, 0x7a, 0xaa, 0x77, 0x7f, 0x85, 0x90, 0x6d }}\r
## Include/Ppi/Capsule.h\r
gPeiCapsulePpiGuid = { 0x3acf33ee, 0xd892, 0x40f4, { 0xa2, 0xfc, 0x38, 0x54, 0xd2, 0xe1, 0x32, 0x3d }}\r
\r
+ ## Include/Ppi/SecPerformance.h\r
+ gPeiSecPerformancePpiGuid = { 0x0ecc666b, 0x4662, 0x47f9, { 0x9d, 0xd5, 0xd0, 0x96, 0xff, 0x7d, 0xa4, 0x9e }}\r
+\r
## Include/Ppi/SmmCommunication.h\r
gEfiPeiSmmCommunicationPpiGuid = { 0xae933e1c, 0xcc47, 0x4e38, { 0x8f, 0xe, 0xe2, 0xf6, 0x1d, 0x26, 0x5, 0xdf }}\r
\r
## Include/Ppi/SmmAccess.h\r
gPeiSmmAccessPpiGuid = { 0x268f33a9, 0xcccd, 0x48be, { 0x88, 0x17, 0x86, 0x5, 0x3a, 0xc3, 0x2e, 0xd6 }}\r
\r
+ ## Include/Ppi/SmmControl.h\r
+ gPeiSmmControlPpiGuid = { 0x61c68702, 0x4d7e, 0x4f43, { 0x8d, 0xef, 0xa7, 0x43, 0x5, 0xce, 0x74, 0xc5 }}\r
+\r
+ ## Include/Ppi/PostBootScriptTable.h\r
+ gPeiPostScriptTablePpiGuid = { 0x88c9d306, 0x900, 0x4eb5, { 0x82, 0x60, 0x3e, 0x2d, 0xbe, 0xda, 0x1f, 0x89}}\r
+\r
[Protocols]\r
## Load File protocol provides capability to load and unload EFI image into memory and execute it.\r
# Include/Protocol/LoadPe32Image.h\r
## This protocol allows the error level mask for DEBUG() macros to be adjusted for DXE Phase modules\r
# Include/Guid/DebugMask.h \r
gEfiDebugMaskProtocolGuid = { 0x4c8a2451, 0xc207, 0x405b, {0x96, 0x94, 0x99, 0xea, 0x13, 0x25, 0x13, 0x41} }\r
+\r
+ ## Include/Protocol/LockBox.h\r
+ gEfiLockBoxProtocolGuid = { 0xbd445d79, 0xb7ad, 0x4f04, { 0x9a, 0xd8, 0x29, 0xbd, 0x20, 0x40, 0xeb, 0x3c }}\r
+ \r
+ ## Include/Protocol/FormBrowserEx.h\r
+ gEfiFormBrowserExProtocolGuid = { 0x1f73b18d, 0x4630, 0x43c1, { 0xa1, 0xde, 0x6f, 0x80, 0x85, 0x5d, 0x7d, 0xa4 } }\r
+\r
[PcdsFeatureFlag]\r
## Indicate whether platform can support update capsule across a system reset\r
gEfiMdeModulePkgTokenSpaceGuid.PcdSupportUpdateCapsuleReset|FALSE|BOOLEAN|0x0001001d\r
# If FALSE, TEXT statement will be set to GrayOut only when GrayOut condition is TRUE.\r
gEfiMdeModulePkgTokenSpaceGuid.PcdBrowserGrayOutTextStatement|FALSE|BOOLEAN|0x0001004f\r
\r
+ ## If TRUE, recovery from IDE disk will be supported.\r
+ gEfiMdeModulePkgTokenSpaceGuid.PcdRecoveryOnIdeDisk|TRUE|BOOLEAN|0x00010060\r
+\r
+ ## If TRUE, recovery from FAT floppy disk will be supported.\r
+ gEfiMdeModulePkgTokenSpaceGuid.PcdRecoveryOnFatFloppyDisk|TRUE|BOOLEAN|0x00010061\r
+\r
+ ## If TRUE, recovery from data CD will be supported.\r
+ gEfiMdeModulePkgTokenSpaceGuid.PcdRecoveryOnDataCD|TRUE|BOOLEAN|0x00010062\r
+\r
+ ## If TRUE, recovery from FAT USB disk will be supported.\r
+ gEfiMdeModulePkgTokenSpaceGuid.PcdRecoveryOnFatUsbDisk|TRUE|BOOLEAN|0x00010063\r
+\r
[PcdsFeatureFlag.IA32, PcdsFeatureFlag.X64]\r
##\r
# This feature flag specifies whether DxeIpl switches to long mode to enter DXE phase.\r
## FFS filename to find the ACPI tables\r
gEfiMdeModulePkgTokenSpaceGuid.PcdAcpiTableStorageFile|{ 0x25, 0x4e, 0x37, 0x7e, 0x01, 0x8e, 0xee, 0x4f, 0x87, 0xf2, 0x39, 0xc, 0x23, 0xc6, 0x6, 0xcd }|VOID*|0x30000016\r
\r
+ ## FFS filename to find the capsule coalesce image.\r
+ gEfiMdeModulePkgTokenSpaceGuid.PcdCapsuleCoalesceFile|{ 0xA6, 0xE4, 0xFD, 0xF7, 0x4C, 0x29, 0x3c, 0x49, 0xB5, 0x0F, 0x97, 0x34, 0x55, 0x3B, 0xB7, 0x57 }|VOID*|0x30000017\r
+\r
## Single root I/O virtualization virtual function memory BAR alignment\r
# BITN set indicates 2 of n+12 power\r
# BIT0 set indicates 4KB alignment\r
#\r
gEfiMdeModulePkgTokenSpaceGuid.PcdTftpBlockSize|0x0|UINT64|0x30001026\r
\r
+ ## Progress Code for OS Loader LoadImage start.\r
+ # PROGRESS_CODE_OS_LOADER_LOAD = (EFI_SOFTWARE_DXE_BS_DRIVER | (EFI_OEM_SPECIFIC | 0x00000000)) = 0x03058000\r
+ gEfiMdeModulePkgTokenSpaceGuid.PcdProgressCodeOsLoaderLoad|0x03058000|UINT32|0x30001030\r
+\r
+ ## Progress Code for OS Loader StartImage start.\r
+ # PROGRESS_CODE_OS_LOADER_START = (EFI_SOFTWARE_DXE_BS_DRIVER | (EFI_OEM_SPECIFIC | 0x00000001)) = 0x03058001\r
+ gEfiMdeModulePkgTokenSpaceGuid.PcdProgressCodeOsLoaderStart|0x03058001|UINT32|0x30001031\r
+\r
+ ## Progress Code for S3 Suspend start.\r
+ # PROGRESS_CODE_S3_SUSPEND_START = (EFI_SOFTWARE_SMM_DRIVER | (EFI_OEM_SPECIFIC | 0x00000000)) = 0x03078000\r
+ gEfiMdeModulePkgTokenSpaceGuid.PcdProgressCodeS3SuspendStart|0x03078000|UINT32|0x30001032\r
+\r
+ ## Progress Code for S3 Suspend end.\r
+ # PROGRESS_CODE_S3_SUSPEND_END = (EFI_SOFTWARE_SMM_DRIVER | (EFI_OEM_SPECIFIC | 0x00000001)) = 0x03078001\r
+ gEfiMdeModulePkgTokenSpaceGuid.PcdProgressCodeS3SuspendEnd|0x03078001|UINT32|0x30001033\r
+\r
[PcdsFixedAtBuild,PcdsPatchableInModule]\r
## Maximun number of performance log entries during PEI phase.\r
gEfiMdeModulePkgTokenSpaceGuid.PcdMaxPeiPerformanceLogEntries|40|UINT8|0x0001002f\r
## Time in second to delay for SATA devices to spin-up for recovery.\r
gEfiMdeModulePkgTokenSpaceGuid.PcdSataSpinUpDelayInSecForRecoveryPath|15|UINT16|0x0001005B\r
\r
+ ## The PCD is used to specify memory size with page number for a pre-allocated ACPI NVS memory to hold\r
+ # runtime created S3 boot script entries. The default page number is 2. When changing the value of this\r
+ # PCD, the platform developer should make sure the memory size is large enough to hold the S3 boot\r
+ # script node created in runtime phase.\r
+ gEfiMdeModulePkgTokenSpaceGuid.PcdS3BootScriptRuntimeTableReservePageNumber|0x2|UINT16|0x0001005C\r
+\r
+ ## The PCD is used to specify the stack size when capsule IA32 PEI transfers to long mode in PEI phase.\r
+ # The default size 32K. When changing the value of this PCD, the platform developer should\r
+ # make sure the memory size is large enough to meet capsule PEI requiremnt in capsule update path.\r
+ gEfiMdeModulePkgTokenSpaceGuid.PcdCapsulePeiLongModeStackSize|0x8000|UINT32|0x0001005D\r
+\r
[PcdsPatchableInModule]\r
## Specify memory size with page number for PEI code when \r
# the feature of Loading Module at Fixed Address is enabled\r
# the feature of Loading Module at Fixed Address is enabled\r
gEfiMdeModulePkgTokenSpaceGuid.PcdLoadFixAddressSmmCodePageNumber|0|UINT32|0x0000002c\r
\r
+[PcdsDynamic, PcdsDynamicEx]\r
+ ## This dynamic PCD hold an address to point to private data structure used in DxeS3BootScriptLib library\r
+ # instance which records the S3 boot script table start address, length, etc. To introduce this PCD is\r
+ # only for DxeS3BootScriptLib instance implementation purpose. The platform developer should make sure the\r
+ # default value is set to Zero. And the PCD is assumed ONLY to be accessed in DxeS3BootScriptLib Library.\r
+ gEfiMdeModulePkgTokenSpaceGuid.PcdS3BootScriptTablePrivateDataPtr|0x0|UINT64|0x00030000\r
+\r