slimbootloader/Silicon/ElkhartlakePkg/Library
Stanley Chang e53c365ace [EHL] trigger SMI handler in S3 resume
This commit resolves the issue where the SMI handler was not being triggered
during S3 resume. The problem was due to the functions RestoreS3RegInfo and
TriggerPayloadSwSmi not being called.

In addition, the commit also:
   1. unset the PME_B0_EN as UEFI Payload does not have its handler
   2. remove the ClearSmbuStatus() because
      - the HSTS.B_SMBUS_IO_SMBALERT_STS in SMBUS (B0:D31:F4) should be
        handled and cleared by device driver or an appropriate SMI handler.
      - the ClearSmi() will clear GPE0_STS_127_96.SMB_WAK_STS if it is set
   3. unset (FSPS) PeiGraphicsPeimInit and GraphicsConfigPtr during S3 resume
   4. narrow the var scope of mSmmBaseInfo and mS3SaveReg
   5. add required bitfield declaration

Verified with:
   1. UEFI Payload + Ubuntu on EHL CRB (release build)
   2. OSLoader (release build)
  when FEATURES_CFG_DATA.Features.S0ix = 0

Signed-off-by: Stanley Chang <stanley.chang@intel.com>
2024-05-21 10:15:20 -07:00
..
FirmwareUpdateLib [TGL][EHL] Fix regression for Flash descriptor lock (#1425) 2021-12-01 22:25:11 -07:00
GpioSiLib Use LF line endings in the repository 2021-11-10 12:46:42 -08:00
HeciInitLib Fix Coverity issues. (#1950) 2023-07-10 11:52:25 -07:00
MeExtMeasurementLib [EHL] Fix build break on non-Optimize build (#1701) 2022-10-03 09:41:26 -04:00
MeFwUpdateLib Use LF line endings in the repository 2021-11-10 12:46:42 -08:00
PchCycleDecodingLib code cleanup - PchCycleDecodingLib 2023-03-14 16:05:23 -07:00
PchInfoLib [EHL] Removed hardcoded PSE PWM pin enable 2021-11-29 15:35:30 -08:00
PchP2sbLib Use LF line endings in the repository 2021-11-10 12:46:42 -08:00
PchPcrLib Use LF line endings in the repository 2021-11-10 12:46:42 -08:00
PchSciLib Use LF line endings in the repository 2021-11-10 12:46:42 -08:00
PlatformHookLib Use LF line endings in the repository 2021-11-10 12:46:42 -08:00
PsdLib Fix Coverity issues. (#1950) 2023-07-10 11:52:25 -07:00
Stage1ASocInitLib Use LF line endings in the repository 2021-11-10 12:46:42 -08:00
Stage1BSocInitLib Use LF line endings in the repository 2021-11-10 12:46:42 -08:00
Stage2SocInitLib [EHL] trigger SMI handler in S3 resume 2024-05-21 10:15:20 -07:00
VTdLib [EHL] Fix parser warning during build 2022-06-14 08:48:27 -07:00