edk2/IntelFsp2Pkg/Library
Ray Ni 11868992cc IntelFsp2Pkg: Save/restore FSBASE/GSBASE in entry and exit
FSP may store something in FSBASE/GSBASE while bootloader may do so as well.
Add the FSBASE/GSBASE save/restore logic in the FSP entry and exit
to avoid the contents in FSBASE/GSBASE are corrupted by the other party.

The change assumes there is no very old CPU that does not support
rdfsbase/wrfsbase/rdgsbase/wrgsbase instructions.

Signed-off-by: Ray Ni <ray.ni@intel.com>
2026-03-09 16:21:26 +00:00
..
BaseCacheAsRamLibNull IntelFsp2Pkg: Apply uncrustify changes 2021-12-07 17:24:28 +00:00
BaseCacheLib IntelFsp2Pkg: Replace include guards with #pragma once 2026-02-23 21:01:28 +00:00
BaseDebugDeviceLibNull IntelFsp2Pkg: Replace BSD License with BSD+Patent License 2019-04-09 10:58:03 -07:00
BaseFspCommonLib IntelFsp2Pkg: Save/restore FSBASE/GSBASE in entry and exit 2026-03-09 16:21:26 +00:00
BaseFspDebugLibSerialPort IntelFsp2Pkg: Fix code formatting errors 2022-10-04 16:53:59 +00:00
BaseFspMultiPhaseLib IntelFsp2Pkg/FspMultiPhaseLib: Remove EFIAPI for local function 2025-07-16 06:47:27 +00:00
BaseFspPlatformLib IntelFsp2Pkg: Fsp T new ARCH UPD Support 2024-04-09 17:15:10 +00:00
BaseFspSwitchStackLib IntelFsp2Pkg: Save/restore FSBASE/GSBASE in entry and exit 2026-03-09 16:21:26 +00:00
SecFspSecPlatformLibNull IntelFsp2Pkg: Correct ApiIdx type 2025-11-23 01:55:17 +00:00