-- Add BootLoaderTolumSize support
-- Fix LibraryClasses declaration in DEC file.
Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: "Yao, Jiewen" <Jiewen.Yao@intel.com>
Reviewed-by: "Ma, Maurice" <maurice.ma@intel.com>
Reviewed-by: "Rangarajan, Ravi P" <ravi.p.rangarajan@intel.com>
Reviewed-by: "Mudusuru, Giri P" <giri.p.mudusuru@intel.com>
git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@17197
6f19259b-4bc3-4df7-8a09-
765794883524
ASSERT(sizeof(FspUpdRgn) >= UpdRegionSize);\r
ZeroMem (FspUpdRgn, UpdRegionSize);\r
FspRtBuffer.UpdDataRgnPtr = UpdateFspUpdConfigs (FspUpdRgn);\r
+ FspRtBuffer.BootLoaderTolumSize = 0;\r
\r
ZeroMem (&FspInitParams, sizeof(FspInitParams));\r
FspInitParams.NvsBufferPtr = GetNvsBuffer ();\r
ASSERT(sizeof(FspUpdRgn) >= UpdRegionSize);\r
ZeroMem (FspUpdRgn, UpdRegionSize);\r
FspRtBuffer.UpdDataRgnPtr = UpdateFspUpdConfigs (FspUpdRgn);\r
+ FspRtBuffer.BootLoaderTolumSize = GetBootLoaderTolumSize ();\r
\r
ZeroMem (&FspMemoryInitParams, sizeof(FspMemoryInitParams));\r
FspMemoryInitParams.NvsBufferPtr = GetNvsBuffer ();\r
IN OUT VOID *FspUpdRgnPtr\r
);\r
\r
+/**\r
+ Get BootLoader Tolum size.\r
+\r
+ @note At this point, memory is NOT ready, PeiServices are available to use.\r
+\r
+ @return BootLoader Tolum size.\r
+**/\r
+UINT32\r
+EFIAPI\r
+GetBootLoaderTolumSize (\r
+ VOID\r
+ );\r
+\r
/**\r
Get TempRamExit parameter.\r
\r
\r
[LibraryClasses]\r
## @libraryclass Provide FSP API related function.\r
- FspApiLib|IntelFspWrapperPkg/Include/Library/FspApiLib.h\r
+ FspApiLib|Include/Library/FspApiLib.h\r
\r
## @libraryclass Provide FSP hob process related function.\r
- FspHobProcessLib|IntelFspWrapperPkg/Include/Library/FspHobProcessLib.h\r
+ FspHobProcessLib|Include/Library/FspHobProcessLib.h\r
\r
## @libraryclass Provide FSP platform information related function.\r
- FspPlatformInfoLib|IntelFspWrapperPkg/Include/Library/FspPlatformInfoLib.h\r
+ FspPlatformInfoLib|Include/Library/FspPlatformInfoLib.h\r
\r
## @libraryclass Provide FSP wrapper platform sec related function.\r
- FspPlatformSecLib|IntelFspWrapperPkg/Include/Library/FspPlatformSecLib.h\r
+ FspPlatformSecLib|Include/Library/FspPlatformSecLib.h\r
\r
[Guids]\r
#\r
return NULL;\r
}\r
\r
+/**\r
+ Get BootLoader Tolum size.\r
+\r
+ @note At this point, memory is NOT ready, PeiServices are available to use.\r
+\r
+ @return BootLoader Tolum size.\r
+**/\r
+UINT32\r
+EFIAPI\r
+GetBootLoaderTolumSize (\r
+ VOID\r
+ )\r
+{\r
+ return 0;\r
+}\r
+\r
/**\r
Get TempRamExit parameter.\r
\r