Revision: 17227
http://sourceforge.net/p/edk2/code/17227
Author: hwu1225
Date: 2015-04-28 05:08:31 +0000 (Tue, 28 Apr 2015)
Log Message:
-----------
IntelFspWrapperPkg update for FSP1.1
-- Add BootLoaderTolumSize support
-- Fix LibraryClasses declaration in DEC file.
(Sync patch r17197 from main trunk.)
Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: "Yao, Jiewen" <[email protected]>
Reviewed-by: "Ma, Maurice" <[email protected]>
Reviewed-by: "Rangarajan, Ravi P" <[email protected]>
Reviewed-by: "Mudusuru, Giri P" <[email protected]>
Revision Links:
--------------
http://sourceforge.net/p/edk2/code/17197
Modified Paths:
--------------
branches/UDK2014.SP1/IntelFspWrapperPkg/FspInitPei/FspInitPeiV1.c
branches/UDK2014.SP1/IntelFspWrapperPkg/FspInitPei/FspInitPeiV2.c
branches/UDK2014.SP1/IntelFspWrapperPkg/Include/Library/FspPlatformInfoLib.h
branches/UDK2014.SP1/IntelFspWrapperPkg/IntelFspWrapperPkg.dec
branches/UDK2014.SP1/IntelFspWrapperPkg/Library/BaseFspPlatformInfoLibSample/FspPlatformInfoLibSample.c
Modified: branches/UDK2014.SP1/IntelFspWrapperPkg/FspInitPei/FspInitPeiV1.c
===================================================================
--- branches/UDK2014.SP1/IntelFspWrapperPkg/FspInitPei/FspInitPeiV1.c
2015-04-28 05:06:53 UTC (rev 17226)
+++ branches/UDK2014.SP1/IntelFspWrapperPkg/FspInitPei/FspInitPeiV1.c
2015-04-28 05:08:31 UTC (rev 17227)
@@ -97,6 +97,7 @@
ASSERT(sizeof(FspUpdRgn) >= UpdRegionSize);
ZeroMem (FspUpdRgn, UpdRegionSize);
FspRtBuffer.UpdDataRgnPtr = UpdateFspUpdConfigs (FspUpdRgn);
+ FspRtBuffer.BootLoaderTolumSize = 0;
ZeroMem (&FspInitParams, sizeof(FspInitParams));
FspInitParams.NvsBufferPtr = GetNvsBuffer ();
Modified: branches/UDK2014.SP1/IntelFspWrapperPkg/FspInitPei/FspInitPeiV2.c
===================================================================
--- branches/UDK2014.SP1/IntelFspWrapperPkg/FspInitPei/FspInitPeiV2.c
2015-04-28 05:06:53 UTC (rev 17226)
+++ branches/UDK2014.SP1/IntelFspWrapperPkg/FspInitPei/FspInitPeiV2.c
2015-04-28 05:08:31 UTC (rev 17227)
@@ -164,6 +164,7 @@
ASSERT(sizeof(FspUpdRgn) >= UpdRegionSize);
ZeroMem (FspUpdRgn, UpdRegionSize);
FspRtBuffer.UpdDataRgnPtr = UpdateFspUpdConfigs (FspUpdRgn);
+ FspRtBuffer.BootLoaderTolumSize = GetBootLoaderTolumSize ();
ZeroMem (&FspMemoryInitParams, sizeof(FspMemoryInitParams));
FspMemoryInitParams.NvsBufferPtr = GetNvsBuffer ();
Modified:
branches/UDK2014.SP1/IntelFspWrapperPkg/Include/Library/FspPlatformInfoLib.h
===================================================================
---
branches/UDK2014.SP1/IntelFspWrapperPkg/Include/Library/FspPlatformInfoLib.h
2015-04-28 05:06:53 UTC (rev 17226)
+++
branches/UDK2014.SP1/IntelFspWrapperPkg/Include/Library/FspPlatformInfoLib.h
2015-04-28 05:08:31 UTC (rev 17227)
@@ -69,6 +69,19 @@
);
/**
+ Get BootLoader Tolum size.
+
+ @note At this point, memory is NOT ready, PeiServices are available to use.
+
+ @return BootLoader Tolum size.
+**/
+UINT32
+EFIAPI
+GetBootLoaderTolumSize (
+ VOID
+ );
+
+/**
Get TempRamExit parameter.
@note At this point, memory is ready, PeiServices are available to use.
Modified: branches/UDK2014.SP1/IntelFspWrapperPkg/IntelFspWrapperPkg.dec
===================================================================
--- branches/UDK2014.SP1/IntelFspWrapperPkg/IntelFspWrapperPkg.dec
2015-04-28 05:06:53 UTC (rev 17226)
+++ branches/UDK2014.SP1/IntelFspWrapperPkg/IntelFspWrapperPkg.dec
2015-04-28 05:08:31 UTC (rev 17227)
@@ -23,16 +23,16 @@
[LibraryClasses]
## @libraryclass Provide FSP API related function.
- FspApiLib|IntelFspWrapperPkg/Include/Library/FspApiLib.h
+ FspApiLib|Include/Library/FspApiLib.h
## @libraryclass Provide FSP hob process related function.
- FspHobProcessLib|IntelFspWrapperPkg/Include/Library/FspHobProcessLib.h
+ FspHobProcessLib|Include/Library/FspHobProcessLib.h
## @libraryclass Provide FSP platform information related function.
- FspPlatformInfoLib|IntelFspWrapperPkg/Include/Library/FspPlatformInfoLib.h
+ FspPlatformInfoLib|Include/Library/FspPlatformInfoLib.h
## @libraryclass Provide FSP wrapper platform sec related function.
- FspPlatformSecLib|IntelFspWrapperPkg/Include/Library/FspPlatformSecLib.h
+ FspPlatformSecLib|Include/Library/FspPlatformSecLib.h
[Guids]
#
Modified:
branches/UDK2014.SP1/IntelFspWrapperPkg/Library/BaseFspPlatformInfoLibSample/FspPlatformInfoLibSample.c
===================================================================
---
branches/UDK2014.SP1/IntelFspWrapperPkg/Library/BaseFspPlatformInfoLibSample/FspPlatformInfoLibSample.c
2015-04-28 05:06:53 UTC (rev 17226)
+++
branches/UDK2014.SP1/IntelFspWrapperPkg/Library/BaseFspPlatformInfoLibSample/FspPlatformInfoLibSample.c
2015-04-28 05:08:31 UTC (rev 17227)
@@ -83,6 +83,22 @@
}
/**
+ Get BootLoader Tolum size.
+
+ @note At this point, memory is NOT ready, PeiServices are available to use.
+
+ @return BootLoader Tolum size.
+**/
+UINT32
+EFIAPI
+GetBootLoaderTolumSize (
+ VOID
+ )
+{
+ return 0;
+}
+
+/**
Get TempRamExit parameter.
@note At this point, memory is ready, PeiServices are available to use.
------------------------------------------------------------------------------
One dashboard for servers and applications across Physical-Virtual-Cloud
Widest out-of-the-box monitoring support with 50+ applications
Performance metrics, stats and reports that give you Actionable Insights
Deep dive visibility with transaction tracing using APM Insight.
http://ad.doubleclick.net/ddm/clk/290420510;117567292;y
_______________________________________________
edk2-commits mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/edk2-commits