From 3b17b2458726bf7e2cf640d29ebe14f8af587905 Mon Sep 17 00:00:00 2001 From: "Ma, Maurice" Date: Wed, 29 Apr 2015 03:10:24 +0000 Subject: Add dual FSP binaries support. There are two FSP images at different locations in a flash (one factory version is read only and other in updatable version) TempRamInit, FspMemoryInit and TempRamExit are executed from factory version and FspSiliconInit/NotifyPhase will be executed from updatable version. Also update FSP specification version to v1.1. Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: "Ma, Maurice" Reviewed-by: "Yao, Jiewen" git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@17248 6f19259b-4bc3-4df7-8a09-765794883524 --- IntelFspPkg/Include/FspApi.h | 2 +- IntelFspPkg/Include/FspInfoHeader.h | 2 +- IntelFspPkg/Include/Guid/FspHeaderFile.h | 4 ++-- IntelFspPkg/Include/Guid/GuidHobFspEas.h | 2 +- IntelFspPkg/Include/Library/FspCommonLib.h | 11 +++++++++++ 5 files changed, 16 insertions(+), 5 deletions(-) (limited to 'IntelFspPkg/Include') diff --git a/IntelFspPkg/Include/FspApi.h b/IntelFspPkg/Include/FspApi.h index 8fd73fb44e..5404a84a2c 100644 --- a/IntelFspPkg/Include/FspApi.h +++ b/IntelFspPkg/Include/FspApi.h @@ -1,6 +1,6 @@ /** @file Intel FSP API definition from Intel Firmware Support Package External - Architecture Specification, April 2014, revision 001. + Architecture Specification v1.1, April 2015, revision 001. Copyright (c) 2014 - 2015, Intel Corporation. All rights reserved.
This program and the accompanying materials diff --git a/IntelFspPkg/Include/FspInfoHeader.h b/IntelFspPkg/Include/FspInfoHeader.h index f68cdfbd5a..079ec98f96 100644 --- a/IntelFspPkg/Include/FspInfoHeader.h +++ b/IntelFspPkg/Include/FspInfoHeader.h @@ -1,6 +1,6 @@ /** @file Intel FSP Info Header definition from Intel Firmware Support Package External - Architecture Specification, April 2014, revision 001. + Architecture Specification v1.1, April 2015, revision 001. Copyright (c) 2014 - 2015, Intel Corporation. All rights reserved.
This program and the accompanying materials diff --git a/IntelFspPkg/Include/Guid/FspHeaderFile.h b/IntelFspPkg/Include/Guid/FspHeaderFile.h index 9902395935..b2d527fff0 100644 --- a/IntelFspPkg/Include/Guid/FspHeaderFile.h +++ b/IntelFspPkg/Include/Guid/FspHeaderFile.h @@ -1,8 +1,8 @@ /** @file Intel FSP Header File Guid definition from Intel Firmware Support Package External - Architecture Specification, April 2014, revision 001. + Architecture Specification v1.1, April 2015, revision 001. - Copyright (c) 2014, Intel Corporation. All rights reserved.
+ Copyright (c) 2014 - 2015, Intel Corporation. All rights reserved.
This program and the accompanying materials are licensed and made available under the terms and conditions of the BSD License which accompanies this distribution. The full text of the license may be found at diff --git a/IntelFspPkg/Include/Guid/GuidHobFspEas.h b/IntelFspPkg/Include/Guid/GuidHobFspEas.h index 4e723af2f4..5821ba39e0 100644 --- a/IntelFspPkg/Include/Guid/GuidHobFspEas.h +++ b/IntelFspPkg/Include/Guid/GuidHobFspEas.h @@ -1,6 +1,6 @@ /** @file Intel FSP Hob Guid definition from Intel Firmware Support Package External - Architecture Specification, April 2014, revision 001. + Architecture Specification v1.1, April 2015, revision 001. Copyright (c) 2014 - 2015, Intel Corporation. All rights reserved.
This program and the accompanying materials diff --git a/IntelFspPkg/Include/Library/FspCommonLib.h b/IntelFspPkg/Include/Library/FspCommonLib.h index 22db27708d..eddebba1ea 100644 --- a/IntelFspPkg/Include/Library/FspCommonLib.h +++ b/IntelFspPkg/Include/Library/FspCommonLib.h @@ -181,6 +181,17 @@ GetFspInfoHeader ( VOID ); +/** + This function gets the FSP info header pointer from the API context. + + @retval FspInfoHeader FSP info header pointer +**/ +FSP_INFO_HEADER * +EFIAPI +GetFspInfoHeaderFromApiContext ( + VOID + ); + /** This function gets the VPD data pointer. -- cgit v1.2.3