From 379e5098a4836b21b893b4801baa34b570c24599 Mon Sep 17 00:00:00 2001 From: Chasel Chiu Date: Tue, 5 Jan 2021 16:55:25 +0800 Subject: IntelFsp2Pkg: Support FSP private temporary memory. REF:https://bugzilla.tianocore.org/show_bug.cgi?id=3153 In FSP the temporary memory provided by bootloader typically will be totally given to PeiCore as Heap, but in some cases FSP may have to reserve some more temporary memory for private usage. This commit adds this flexibility for FSP to reserve some temporary memory before giving them to PeiCore. Cc: Maurice Ma Cc: Nate DeSimone Cc: Star Zeng Signed-off-by: Chasel Chiu Reviewed-by: Nate DeSimone Reviewed-by: Star Zeng --- IntelFsp2Pkg/IntelFsp2Pkg.dec | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) (limited to 'IntelFsp2Pkg/IntelFsp2Pkg.dec') diff --git a/IntelFsp2Pkg/IntelFsp2Pkg.dec b/IntelFsp2Pkg/IntelFsp2Pkg.dec index 60d40ab6b9..ec7b9a7702 100644 --- a/IntelFsp2Pkg/IntelFsp2Pkg.dec +++ b/IntelFsp2Pkg/IntelFsp2Pkg.dec @@ -1,7 +1,7 @@ ## @file # Provides driver and definitions to build fsp in EDKII bios. # -# Copyright (c) 2014 - 2019, Intel Corporation. All rights reserved.
+# Copyright (c) 2014 - 2021, Intel Corporation. All rights reserved.
# SPDX-License-Identifier: BSD-2-Clause-Patent # ## @@ -98,6 +98,11 @@ # Maximal Interrupt supported in IDT table. # gIntelFsp2PkgTokenSpaceGuid.PcdFspMaxInterruptSupported | 34| UINT8|0x10000005 + # + # Allows FSP-M to reserve a section of Temporary RAM for implementation specific use. + # Reduces the amount of memory available for the PeiCore heap. + # + gIntelFsp2PkgTokenSpaceGuid.PcdFspPrivateTemporaryRamSize |0x00000000|UINT32|0x10000006 [PcdsFixedAtBuild,PcdsDynamic,PcdsDynamicEx] gIntelFsp2PkgTokenSpaceGuid.PcdFspReservedMemoryLength |0x00100000|UINT32|0x46530000 -- cgit v1.2.3