Add IntelFspWrapper to support boot EDKII on FSP bin.
[mirror_edk2.git] / IntelFspWrapperPkg / IntelFspWrapperPkg.dec
CommitLineData
a33a2f62
JY
1## @file\r
2#\r
3# Provides drivers and definitions to support fsp in EDKII bios.\r
4#\r
5# Copyright (c) 2014, Intel Corporation. All rights reserved.<BR>\r
6# This program and the accompanying materials are licensed and made available under\r
7# the terms and conditions of the BSD License that accompanies this distribution.\r
8# The full text of the license may be found at\r
9# http://opensource.org/licenses/bsd-license.php.\r
10#\r
11# THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,\r
12# WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.\r
13#\r
14##\r
15\r
16[Defines]\r
17 DEC_SPECIFICATION = 0x00010005\r
18 PACKAGE_NAME = IntelFspWrapperPkg\r
19 PACKAGE_GUID = 99101BB6-6DE1-4537-85A3-FD6B594F7468\r
20 PACKAGE_VERSION = 0.1\r
21\r
22[Includes]\r
23 Include\r
24\r
25[LibraryClasses]\r
26\r
27[Guids]\r
28 #\r
29 # GUID defined in package\r
30 #\r
31 gFspWrapperTokenSpaceGuid = {0x2bc1c74a, 0x122f, 0x40b2, { 0xb2, 0x23, 0x8, 0x2b, 0x74, 0x65, 0x22, 0x5d } }\r
32\r
33 # Guid define in FSP EAS\r
34 gFspHeaderFileGuid = { 0x912740BE, 0x2284, 0x4734, { 0xB9, 0x71, 0x84, 0xB0, 0x27, 0x35, 0x3F, 0x0C } }\r
35 gFspBootLoaderTemporaryMemoryGuid = { 0xbbcff46c, 0xc8d3, 0x4113, { 0x89, 0x85, 0xb9, 0xd4, 0xf3, 0xb3, 0xf6, 0x4e } }\r
36 gFspReservedMemoryResourceHobGuid = { 0x69a79759, 0x1373, 0x4367, { 0xa6, 0xc4, 0xc7, 0xf5, 0x9e, 0xfd, 0x98, 0x6e } }\r
37 gFspNonVolatileStorageHobGuid = { 0x721acf02, 0x4d77, 0x4c2a, { 0xb3, 0xdc, 0x27, 0x0b, 0x7b, 0xa9, 0xe4, 0xb0 } }\r
38\r
39[Ppis]\r
40 gFspInitDonePpiGuid = { 0xf5ef05e4, 0xd538, 0x4774, 0x8f, 0x1b, 0xe9, 0x77, 0x30, 0x11, 0xe0, 0x38 }\r
41 gTopOfTemporaryRamPpiGuid = { 0x2f3962b2, 0x57c5, 0x44ec, 0x9e, 0xfc, 0xa6, 0x9f, 0xd3, 0x02, 0x03, 0x2b }\r
42\r
43[Protocols]\r
44\r
45################################################################################\r
46#\r
47# PCD Declarations section - list of all PCDs Declared by this Package\r
48# Only this package should be providing the\r
49# declaration, other packages should not.\r
50#\r
51################################################################################\r
52[PcdsFixedAtBuild, PcdsPatchableInModule]\r
53 ## Provides the memory mapped base address of the BIOS CodeCache Flash Device.\r
54 gFspWrapperTokenSpaceGuid.PcdFlashCodeCacheAddress|0xFFE00000|UINT32|0x10000001\r
55 ## Provides the size of the BIOS Flash Device.\r
56 gFspWrapperTokenSpaceGuid.PcdFlashCodeCacheSize|0x00200000|UINT32|0x10000002\r
57\r
58 ## Indicates the base address of the FSP binary.\r
59 gFspWrapperTokenSpaceGuid.PcdFlashFvFspBase|0xFFF80000|UINT32|0x10000003\r
60 ## Provides the size of the FSP binary.\r
61 gFspWrapperTokenSpaceGuid.PcdFlashFvFspSize|0x00048000|UINT32|0x10000004\r
62\r
63 ## Indicates the base address of the first Microcode Patch in the Microcode Region\r
64 gFspWrapperTokenSpaceGuid.PcdCpuMicrocodePatchAddress|0x0|UINT64|0x10000005\r
65 gFspWrapperTokenSpaceGuid.PcdCpuMicrocodePatchRegionSize|0x0|UINT64|0x10000006\r
66 ## Indicates the offset of the Cpu Microcode.\r
67 gFspWrapperTokenSpaceGuid.PcdFlashMicroCodeOffset|0x90|UINT32|0x10000007\r
68\r
69 ##\r
70 # Maximum number of Ppi is provided by SecCore.\r
71 ##\r
72 gFspWrapperTokenSpaceGuid.PcdSecCoreMaxPpiSupported|0x6|UINT32|0x20000001\r
73\r
74 # This is MAX UPD region size\r
75 gFspWrapperTokenSpaceGuid.PcdMaxUpdRegionSize|0x200|UINT32|0x30000001\r
76\r
77 ## Stack size in the temporary RAM.\r
78 # 0 means half of TemporaryRamSize.\r
79 gFspWrapperTokenSpaceGuid.PcdPeiTemporaryRamStackSize|0|UINT32|0x40000001\r
80\r
81 # This is temporary DRAM base and size for StackTop in FspInit\r
82 gFspWrapperTokenSpaceGuid.PcdTemporaryRamBase|0x00080000|UINT32|0x40000002\r
83 gFspWrapperTokenSpaceGuid.PcdTemporaryRamSize|0x00010000|UINT32|0x40000003\r
84\r
85 ## Indicate the PEI memory size platform want to report\r
86 gFspWrapperTokenSpaceGuid.PcdPeiMinMemSize|0x1800000|UINT32|0x40000004\r
87 ## Indicate the PEI memory size platform want to report\r
88 gFspWrapperTokenSpaceGuid.PcdPeiRecoveryMinMemSize|0x3000000|UINT32|0x40000005\r