edk2/IntelFsp2Pkg/FspSecCore/Ia32
Aravind P R 063e19bab2
Some checks failed
CodeQL / Analyze (IA32, CryptoPkg) (push) Has been cancelled
CodeQL / Analyze (IA32, MdeModulePkg) (push) Has been cancelled
CodeQL / Analyze (IA32,X64, DynamicTablesPkg) (push) Has been cancelled
CodeQL / Analyze (IA32,X64, FatPkg) (push) Has been cancelled
CodeQL / Analyze (IA32,X64, FmpDevicePkg) (push) Has been cancelled
CodeQL / Analyze (IA32,X64, IntelFsp2Pkg) (push) Has been cancelled
CodeQL / Analyze (IA32,X64, IntelFsp2WrapperPkg) (push) Has been cancelled
CodeQL / Analyze (IA32,X64, MdePkg) (push) Has been cancelled
CodeQL / Analyze (IA32,X64, PcAtChipsetPkg) (push) Has been cancelled
CodeQL / Analyze (IA32,X64, PrmPkg) (push) Has been cancelled
CodeQL / Analyze (IA32,X64, SecurityPkg) (push) Has been cancelled
CodeQL / Analyze (IA32,X64, ShellPkg) (push) Has been cancelled
CodeQL / Analyze (IA32,X64, SourceLevelDebugPkg) (push) Has been cancelled
CodeQL / Analyze (IA32,X64, StandaloneMmPkg) (push) Has been cancelled
CodeQL / Analyze (IA32,X64, UefiCpuPkg) (push) Has been cancelled
CodeQL / Analyze (IA32,X64, UnitTestFrameworkPkg) (push) Has been cancelled
CodeQL / Analyze (X64, CryptoPkg) (push) Has been cancelled
CodeQL / Analyze (X64, MdeModulePkg) (push) Has been cancelled
IntelFsp2Pkg: Fixing TemporaryRamSize Configurability option.
Issue : Configuring TemporaryRamSize using FSP-T arch UPD
(added as part of Spec 2.5) is not working as expected.

Root cause : Code is reading the ImageAttribute from the wrong
address which confirms the TemporaryRamSize Configurability,
hence the TemporaryRamSize UPD is ignored. This is because
the code expects the FspInfoheader Offset to be in ESI/RSI
(from which ImageAttribute read) is not guaranteed as per the
current implementation.

Fix : Modified code to make sure that ESI/RSI contains the
FspInfoheader offset by time the code reads the ImageAttribute.

Tests : Verified the fix on Both 32 Bit and 64 Bit FSP Binaries
by configuring the TemporaryRamSize using the FSPT Arch UPD.

Signed-off-by: Aravind P R <aravind.p.r@intel.com>
2025-02-21 17:57:46 +00:00
..
Fsp22ApiEntryS.nasm IntelFsp2Pkg: Support Multi-Phase SiInit and debug handlers. 2020-05-14 12:34:01 +00:00
Fsp24ApiEntryM.nasm IntelFsp2Pkg: Support FSP API to save and restore page table 2024-09-11 05:45:54 +00:00
Fsp24ApiEntryS.nasm IntelFsp2Pkg: Adopt FSP 2.4 MultiPhase functions. 2022-09-07 04:21:15 +00:00
FspApiEntryCommon.nasm IntelFsp2Pkg: Adopt FSP 2.4 MultiPhase functions. 2022-09-07 04:21:15 +00:00
FspApiEntryI.nasm IntelFsp2Pkg: Fix FspSecCoreI build failure. 2022-09-15 17:28:34 +00:00
FspApiEntryM.nasm IntelFsp2Pkg: Support FSP API to save and restore page table 2024-09-11 05:45:54 +00:00
FspApiEntryS.nasm IntelFsp2Pkg: Replace BSD License with BSD+Patent License 2019-04-09 10:58:03 -07:00
FspApiEntryT.nasm IntelFsp2Pkg: Fixing TemporaryRamSize Configurability option. 2025-02-21 17:57:46 +00:00
FspHelper.nasm IntelFsp2Pkg: Improvement of supporting null UPD pointer in FSP-T 2022-11-11 04:46:39 +00:00
MicrocodeLoadNasm.inc IntelFsp2Pkg: Replace BSD License with BSD+Patent License 2019-04-09 10:58:03 -07:00
ReadEsp.nasm IntelFsp2Pkg: X64 compatible changes to support PEI in 64bit 2022-04-16 00:18:14 +00:00
SaveRestoreSseNasm.inc IntelFsp2Pkg: Fsp T new ARCH UPD Support 2024-04-09 17:15:10 +00:00
Stack.nasm IntelFsp2Pkg: X64 compatible changes to support PEI in 64bit 2022-04-16 00:18:14 +00:00