]> git.proxmox.com Git - mirror_edk2.git/blame - IntelFspWrapperPkg/IntelFspWrapperPkg.dec
DynamicTablesPkg: Add dynamic PPTT table generation support
[mirror_edk2.git] / IntelFspWrapperPkg / IntelFspWrapperPkg.dec
CommitLineData
a33a2f62 1## @file\r
a33a2f62
JY
2# Provides drivers and definitions to support fsp in EDKII bios.\r
3#\r
b0446065 4# Copyright (c) 2014 - 2015, Intel Corporation. All rights reserved.<BR>\r
19486360 5# SPDX-License-Identifier: BSD-2-Clause-Patent\r
a33a2f62
JY
6#\r
7##\r
8\r
9[Defines]\r
10 DEC_SPECIFICATION = 0x00010005\r
11 PACKAGE_NAME = IntelFspWrapperPkg\r
12 PACKAGE_GUID = 99101BB6-6DE1-4537-85A3-FD6B594F7468\r
13 PACKAGE_VERSION = 0.1\r
14\r
15[Includes]\r
16 Include\r
17\r
18[LibraryClasses]\r
d8043ce9 19 ## @libraryclass Provide FSP API related function.\r
88a539ca 20 FspApiLib|Include/Library/FspApiLib.h\r
d8043ce9
JY
21\r
22 ## @libraryclass Provide FSP hob process related function.\r
88a539ca 23 FspHobProcessLib|Include/Library/FspHobProcessLib.h\r
d8043ce9
JY
24\r
25 ## @libraryclass Provide FSP platform information related function.\r
88a539ca 26 FspPlatformInfoLib|Include/Library/FspPlatformInfoLib.h\r
d8043ce9
JY
27\r
28 ## @libraryclass Provide FSP wrapper platform sec related function.\r
88a539ca 29 FspPlatformSecLib|Include/Library/FspPlatformSecLib.h\r
a33a2f62
JY
30\r
31[Guids]\r
32 #\r
33 # GUID defined in package\r
34 #\r
35 gFspWrapperTokenSpaceGuid = {0x2bc1c74a, 0x122f, 0x40b2, { 0xb2, 0x23, 0x8, 0x2b, 0x74, 0x65, 0x22, 0x5d } }\r
36\r
a33a2f62 37[Ppis]\r
4a006451
JY
38 gFspInitDonePpiGuid = { 0xf5ef05e4, 0xd538, 0x4774, { 0x8f, 0x1b, 0xe9, 0x77, 0x30, 0x11, 0xe0, 0x38 } }\r
39 gTopOfTemporaryRamPpiGuid = { 0x2f3962b2, 0x57c5, 0x44ec, { 0x9e, 0xfc, 0xa6, 0x9f, 0xd3, 0x02, 0x03, 0x2b } }\r
a33a2f62
JY
40\r
41[Protocols]\r
42\r
43################################################################################\r
44#\r
45# PCD Declarations section - list of all PCDs Declared by this Package\r
46# Only this package should be providing the\r
47# declaration, other packages should not.\r
48#\r
49################################################################################\r
50[PcdsFixedAtBuild, PcdsPatchableInModule]\r
51 ## Provides the memory mapped base address of the BIOS CodeCache Flash Device.\r
52 gFspWrapperTokenSpaceGuid.PcdFlashCodeCacheAddress|0xFFE00000|UINT32|0x10000001\r
53 ## Provides the size of the BIOS Flash Device.\r
54 gFspWrapperTokenSpaceGuid.PcdFlashCodeCacheSize|0x00200000|UINT32|0x10000002\r
55\r
5c7c41f8 56 ## Indicates the base address of the factory FSP binary.\r
a33a2f62 57 gFspWrapperTokenSpaceGuid.PcdFlashFvFspBase|0xFFF80000|UINT32|0x10000003\r
5c7c41f8
MM
58 ## Indicates the base address of the updatable FSP binary to support Dual FSP.\r
59 # There could be two FSP images at different locations in a flash - \r
60 # one factory version (default) and updatable version (updatable).\r
61 # TempRamInit, FspMemoryInit and TempRamExit are always executed from factory version.\r
62 # FspSiliconInit and NotifyPhase can be executed from updatable version if it is available,\r
63 # FspSiliconInit and NotifyPhase are executed from factory version if there is no updateable version,\r
64 # PcdFlashFvFspBase is base address of factory FSP, and PcdFlashFvSecondFspBase\r
65 # is base address of updatable FSP. If PcdFlashFvSecondFspBase is 0, that means\r
66 # there is no updatable FSP.\r
67 gFspWrapperTokenSpaceGuid.PcdFlashFvSecondFspBase|0x00000000|UINT32|0x10000008\r
68 ## Provides the size of the factory FSP binary.\r
a33a2f62 69 gFspWrapperTokenSpaceGuid.PcdFlashFvFspSize|0x00048000|UINT32|0x10000004\r
5c7c41f8
MM
70 ## Provides the size of the updatable FSP binary to support Dual FSP.\r
71 gFspWrapperTokenSpaceGuid.PcdFlashFvSecondFspSize|0x00000000|UINT32|0x10000009\r
a33a2f62
JY
72\r
73 ## Indicates the base address of the first Microcode Patch in the Microcode Region\r
74 gFspWrapperTokenSpaceGuid.PcdCpuMicrocodePatchAddress|0x0|UINT64|0x10000005\r
75 gFspWrapperTokenSpaceGuid.PcdCpuMicrocodePatchRegionSize|0x0|UINT64|0x10000006\r
76 ## Indicates the offset of the Cpu Microcode.\r
77 gFspWrapperTokenSpaceGuid.PcdFlashMicroCodeOffset|0x90|UINT32|0x10000007\r
78\r
79 ##\r
80 # Maximum number of Ppi is provided by SecCore.\r
81 ##\r
82 gFspWrapperTokenSpaceGuid.PcdSecCoreMaxPpiSupported|0x6|UINT32|0x20000001\r
83\r
84 # This is MAX UPD region size\r
85 gFspWrapperTokenSpaceGuid.PcdMaxUpdRegionSize|0x200|UINT32|0x30000001\r
86\r
87 ## Stack size in the temporary RAM.\r
88 # 0 means half of TemporaryRamSize.\r
89 gFspWrapperTokenSpaceGuid.PcdPeiTemporaryRamStackSize|0|UINT32|0x40000001\r
90\r
91 # This is temporary DRAM base and size for StackTop in FspInit\r
92 gFspWrapperTokenSpaceGuid.PcdTemporaryRamBase|0x00080000|UINT32|0x40000002\r
93 gFspWrapperTokenSpaceGuid.PcdTemporaryRamSize|0x00010000|UINT32|0x40000003\r
94\r
95 ## Indicate the PEI memory size platform want to report\r
96 gFspWrapperTokenSpaceGuid.PcdPeiMinMemSize|0x1800000|UINT32|0x40000004\r
97 ## Indicate the PEI memory size platform want to report\r
98 gFspWrapperTokenSpaceGuid.PcdPeiRecoveryMinMemSize|0x3000000|UINT32|0x40000005\r
d8043ce9
JY
99\r
100 ## PcdFspApiVersion is to determine wrapper calling mechanism\r
101 # - FSP_API_REVISION_1 1\r
102 # - FSP_API_REVISION_2 2\r
103 gFspWrapperTokenSpaceGuid.PcdFspApiVersion|0x02|UINT8|0x00001000\r