IntelFsp2Pkg.dec 5.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124
  1. ## @file
  2. # Provides driver and definitions to build fsp in EDKII bios.
  3. #
  4. # Copyright (c) 2014 - 2022, Intel Corporation. All rights reserved.<BR>
  5. # SPDX-License-Identifier: BSD-2-Clause-Patent
  6. #
  7. ##
  8. [Defines]
  9. DEC_SPECIFICATION = 0x00010005
  10. PACKAGE_NAME = IntelFsp2Pkg
  11. PACKAGE_GUID = A8C53B5E-D556-4F3E-874D-0D6FA2CDC7BF
  12. PACKAGE_VERSION = 0.1
  13. [Includes]
  14. Include
  15. [LibraryClasses]
  16. ## @libraryclass Provides cache-as-ram support.
  17. CacheAsRamLib|Include/Library/CacheAsRamLib.h
  18. ## @libraryclass Provides cache setting on MTRR.
  19. CacheLib|Include/Library/CacheLib.h
  20. ## @libraryclass Provides debug device abstraction.
  21. DebugDeviceLib|Include/Library/DebugDeviceLib.h
  22. ## @libraryclass Provides FSP related services.
  23. FspCommonLib|Include/Library/FspCommonLib.h
  24. ## @libraryclass Provides FSP platform related actions.
  25. FspPlatformLib|Include/Library/FspPlatformLib.h
  26. ## @libraryclass Provides FSP switch stack function.
  27. FspSwitchStackLib|Include/Library/FspSwitchStackLib.h
  28. ## @libraryclass Provides FSP platform sec related actions.
  29. FspSecPlatformLib|Include/Library/FspSecPlatformLib.h
  30. ## @libraryclass Provides FSP MultiPhase service functions.
  31. FspMultiPhaseLib|Include/Library/FspMultiPhaseLib.h
  32. [Ppis]
  33. #
  34. # PPI to indicate FSP is ready to enter notify phase
  35. # This provides flexibility for any late initialization that must be done right before entering notify phase.
  36. #
  37. gFspReadyForNotifyPhasePpiGuid = { 0xcd167c1e, 0x6e0b, 0x42b3, {0x82, 0xf6, 0xe3, 0xe9, 0x06, 0x19, 0x98, 0x10}}
  38. #
  39. # PPI as dependency on some modules which only required for API mode
  40. #
  41. gFspInApiModePpiGuid = { 0xa1eeab87, 0xc859, 0x479d, {0x89, 0xb5, 0x14, 0x61, 0xf4, 0x06, 0x1a, 0x3e}}
  42. #
  43. # PPI for Architectural configuration data for FSP-M
  44. #
  45. gFspmArchConfigPpiGuid = { 0x824d5a3a, 0xaf92, 0x4c0c, {0x9f, 0x19, 0x19, 0x52, 0x6d, 0xca, 0x4a, 0xbb}}
  46. #
  47. # PPI to tear down the temporary memory set up by TempRamInit ().
  48. #
  49. gFspTempRamExitPpiGuid = { 0xbc1cfbdb, 0x7e50, 0x42be, {0xb4, 0x87, 0x22, 0xe0, 0xa9, 0x0c, 0xb0, 0x52}}
  50. #
  51. # PPI for Variable Services
  52. #
  53. gEdkiiPeiVariablePpiGuid = { 0xe7b2cd04, 0x4b14, 0x44c2, {0xb7, 0x48, 0xce, 0xaf, 0x2b, 0x66, 0x4a, 0xb0}}
  54. [Guids]
  55. #
  56. # GUID defined in package
  57. #
  58. gIntelFsp2PkgTokenSpaceGuid = { 0xed6e0531, 0xf715, 0x4a3d, { 0x9b, 0x12, 0xc1, 0xca, 0x5e, 0xf6, 0x98, 0xa2 } }
  59. # Guid define in FSP EAS
  60. gFspHeaderFileGuid = { 0x912740BE, 0x2284, 0x4734, { 0xB9, 0x71, 0x84, 0xB0, 0x27, 0x35, 0x3F, 0x0C } }
  61. gFspReservedMemoryResourceHobGuid = { 0x69a79759, 0x1373, 0x4367, { 0xa6, 0xc4, 0xc7, 0xf5, 0x9e, 0xfd, 0x98, 0x6e } }
  62. gFspNonVolatileStorageHob2Guid = { 0x4866788f, 0x6ba8, 0x47d8, { 0x83, 0x06, 0xac, 0xf7, 0x7f, 0x55, 0x10, 0x46 } }
  63. gFspNonVolatileStorageHobGuid = { 0x721acf02, 0x4d77, 0x4c2a, { 0xb3, 0xdc, 0x27, 0x0b, 0x7b, 0xa9, 0xe4, 0xb0 } }
  64. gFspBootLoaderTolumHobGuid = { 0x73ff4f56, 0xaa8e, 0x4451, { 0xb3, 0x16, 0x36, 0x35, 0x36, 0x67, 0xad, 0x44 } } # FSP EAS v1.1
  65. gFspPerformanceDataGuid = { 0x56ed21b6, 0xba23, 0x429e, { 0x89, 0x32, 0x37, 0x6d, 0x8e, 0x18, 0x2e, 0xe3 } }
  66. gFspEventEndOfFirmwareGuid = { 0xbd44f629, 0xeae7, 0x4198, { 0x87, 0xf1, 0x39, 0xfa, 0xb0, 0xfd, 0x71, 0x7e } }
  67. [PcdsFixedAtBuild]
  68. gIntelFsp2PkgTokenSpaceGuid.PcdGlobalDataPointerAddress |0xFED00108|UINT32|0x00000001
  69. gIntelFsp2PkgTokenSpaceGuid.PcdTemporaryRamBase |0xFEF00000|UINT32|0x10001001
  70. gIntelFsp2PkgTokenSpaceGuid.PcdTemporaryRamSize | 0x2000|UINT32|0x10001002
  71. gIntelFsp2PkgTokenSpaceGuid.PcdFspTemporaryRamSize | 0x1000|UINT32|0x10001003
  72. gIntelFsp2PkgTokenSpaceGuid.PcdFspReservedBufferSize | 0x100|UINT32|0x10001004
  73. gIntelFsp2PkgTokenSpaceGuid.PcdFspMaxPerfEntry | 32|UINT32|0x00002001
  74. gIntelFsp2PkgTokenSpaceGuid.PcdFspMaxPatchEntry | 6|UINT32|0x00002002
  75. gIntelFsp2PkgTokenSpaceGuid.PcdFspAreaBaseAddress |0xFFF80000|UINT32|0x10000001
  76. gIntelFsp2PkgTokenSpaceGuid.PcdFspAreaSize |0x00040000|UINT32|0x10000002
  77. gIntelFsp2PkgTokenSpaceGuid.PcdFspBootFirmwareVolumeBase|0xFFF80000|UINT32|0x10000003
  78. gIntelFsp2PkgTokenSpaceGuid.PcdFspHeaderSpecVersion | 0x20| UINT8|0x00000002
  79. #
  80. # x % of FSP temporary memory will be used for heap
  81. # (100 - x) % of FSP temporary memory will be used for stack
  82. # 0 means FSP will share the stack with boot loader and FSP temporary memory is heap
  83. # Note: This mode assumes boot loader stack is large enough for FSP to use.
  84. #
  85. gIntelFsp2PkgTokenSpaceGuid.PcdFspHeapSizePercentage | 50| UINT8|0x10000004
  86. #
  87. # Maximal Interrupt supported in IDT table.
  88. #
  89. gIntelFsp2PkgTokenSpaceGuid.PcdFspMaxInterruptSupported | 34| UINT8|0x10000005
  90. #
  91. # Allows FSP-M to reserve a section of Temporary RAM for implementation specific use.
  92. # Reduces the amount of memory available for the PeiCore heap.
  93. #
  94. gIntelFsp2PkgTokenSpaceGuid.PcdFspPrivateTemporaryRamSize |0x00000000|UINT32|0x10000006
  95. [PcdsFixedAtBuild,PcdsDynamic,PcdsDynamicEx]
  96. gIntelFsp2PkgTokenSpaceGuid.PcdFspReservedMemoryLength |0x00100000|UINT32|0x46530000
  97. gIntelFsp2PkgTokenSpaceGuid.PcdBootLoaderEntry |0xFFFFFFE4|UINT32|0x46530100
  98. #
  99. # Different FSP Components may have different NumberOfPhases which can be defined
  100. # by each FspSecCore module from DSC.
  101. #
  102. gIntelFsp2PkgTokenSpaceGuid.PcdMultiPhaseNumberOfPhases |0x00000000|UINT32|0x46530101