From 473a22d2332a552f2dc9d8352b67554e0d830842 Mon Sep 17 00:00:00 2001 From: Hongbin1 Zhang Date: Wed, 26 Feb 2025 19:27:28 +0800 Subject: [PATCH] IntelFsp2Pkg : Set FSP-I upd data pointer to NULL as default FSP-I upd data pointer should be set NULL as default, it could avoid other code to use it before it was set with correct pointer. Signed-off-by: Hongbin1 Zhang Cc: Chasel Chiu Cc: Ray Ni Cc: Star Zeng Cc: Jiaxin Wu Cc: Duggapu Chinni B Cc: Ted Kuo Cc: Ashraf Ali S Cc: Nate DeSimone --- IntelFsp2Pkg/FspSecCore/SecFsp.c | 1 + 1 file changed, 1 insertion(+) diff --git a/IntelFsp2Pkg/FspSecCore/SecFsp.c b/IntelFsp2Pkg/FspSecCore/SecFsp.c index 9d3abf6e59..20bdd17e73 100644 --- a/IntelFsp2Pkg/FspSecCore/SecFsp.c +++ b/IntelFsp2Pkg/FspSecCore/SecFsp.c @@ -174,6 +174,7 @@ FspGlobalDataInit ( SetFspUpdDataPointer (FspmUpdDataPtr); SetFspMemoryInitUpdDataPointer (FspmUpdDataPtr); SetFspSiliconInitUpdDataPointer (NULL); + SetFspSmmInitUpdDataPointer (NULL); // // Initialize OnSeparateStack value.