Branch: refs/heads/master
  Home:   https://github.com/tianocore/edk2
  Commit: 8d0a57d65a3163136cb866e8589947a11511d8de
      
https://github.com/tianocore/edk2/commit/8d0a57d65a3163136cb866e8589947a11511d8de
  Author: Ray Ni <ray...@intel.com>
  Date:   2025-02-25 (Tue, 25 Feb 2025)

  Changed paths:
    M IntelFsp2Pkg/FspSecCore/SecFspApiChk.c

  Log Message:
  -----------
  IntelFsp2Pkg/FspSecCore: Update FSP global data in FSP-S/I entry

Today when FspSiliconInit/FspSmmInit is called, the corresponding
FSP-S/I UPD pointer is saved in FSP_GLOBAL_DATA by gen-specific
code. Such code might be duplicated between different gens of
FSP implementation.

The change is to update FspSecCore module to set the UPD pointer
in FSP_GLOBAL_DATA for all API calls:
* FspMemoryInit
* FspSiliconInit
* FspSmmInit

This can eliminate the gen-specific code.

Signed-off-by: Ray Ni <ray...@intel.com>
Cc: Chasel Chiu <chasel.c...@intel.com>
Cc: Nate DeSimone <nathaniel.l.desim...@intel.com>
Cc: Duggapu Chinni B <chinni.b.dugg...@intel.com>
Cc: Star Zeng <star.z...@intel.com>
Cc: Ted Kuo <ted....@intel.com>
Cc: Ashraf Ali S <ashraf.al...@intel.com>



To unsubscribe from these emails, change your notification settings at 
https://github.com/tianocore/edk2/settings/notifications


_______________________________________________
edk2-commits mailing list
edk2-commits@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/edk2-commits

Reply via email to