slimbootloader/Silicon/ElkhartlakePkg/Include/Register
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
..
CnviRegs.h Use LF line endings in the repository 2021-11-10 12:46:42 -08:00
CpuInit.h Use LF line endings in the repository 2021-11-10 12:46:42 -08:00
CpuRegs.h Use LF line endings in the repository 2021-11-10 12:46:42 -08:00
Cpuid.h Use LF line endings in the repository 2021-11-10 12:46:42 -08:00
GpioPinsVer3.h fix: [EHL] add missing GPIO definitions 2023-10-27 08:56:23 -07:00
GpioRegs.h Use LF line endings in the repository 2021-11-10 12:46:42 -08:00
GpioRegsVer3.h Use LF line endings in the repository 2021-11-10 12:46:42 -08:00
HeciRegs.h Use LF line endings in the repository 2021-11-10 12:46:42 -08:00
IgdRegs.h Use LF line endings in the repository 2021-11-10 12:46:42 -08:00
MeChipset.h Use LF line endings in the repository 2021-11-10 12:46:42 -08:00
P2sbRegs.h Use LF line endings in the repository 2021-11-10 12:46:42 -08:00
PchDmiRegs.h Use LF line endings in the repository 2021-11-10 12:46:42 -08:00
PchRegsClk.h Use LF line endings in the repository 2021-11-10 12:46:42 -08:00
PchRegsFia.h Use LF line endings in the repository 2021-11-10 12:46:42 -08:00
PchRegsGpio.h Use LF line endings in the repository 2021-11-10 12:46:42 -08:00
PchRegsHda.h Use LF line endings in the repository 2021-11-10 12:46:42 -08:00
PchRegsHsio.h Use LF line endings in the repository 2021-11-10 12:46:42 -08:00
PchRegsIsh.h Use LF line endings in the repository 2021-11-10 12:46:42 -08:00
PchRegsLpc.h Use LF line endings in the repository 2021-11-10 12:46:42 -08:00
PchRegsP2sb.h Use LF line endings in the repository 2021-11-10 12:46:42 -08:00
PchRegsPcie.h Use LF line endings in the repository 2021-11-10 12:46:42 -08:00
PchRegsPcr.h Use LF line endings in the repository 2021-11-10 12:46:42 -08:00
PchRegsSata.h Use LF line endings in the repository 2021-11-10 12:46:42 -08:00
PchRegsSciEhl.h Use LF line endings in the repository 2021-11-10 12:46:42 -08:00
PchRegsSerialIo.h Use LF line endings in the repository 2021-11-10 12:46:42 -08:00
PchRegsSerialIoEhl.h Use LF line endings in the repository 2021-11-10 12:46:42 -08:00
PchRegsSerialIoUart.h Use LF line endings in the repository 2021-11-10 12:46:42 -08:00
PchRegsSmbus.h Use LF line endings in the repository 2021-11-10 12:46:42 -08:00
PchRegsSpi.h Use LF line endings in the repository 2021-11-10 12:46:42 -08:00
PchRegsTraceHub.h Use LF line endings in the repository 2021-11-10 12:46:42 -08:00
PchRegsUsb.h Use LF line endings in the repository 2021-11-10 12:46:42 -08:00
Pcucommon.h Use LF line endings in the repository 2021-11-10 12:46:42 -08:00
PmcRegs.h [EHL] trigger SMI handler in S3 resume 2024-05-21 10:15:20 -07:00
PmcRegsVer3.h Use LF line endings in the repository 2021-11-10 12:46:42 -08:00
PseRegs.h Use LF line endings in the repository 2021-11-10 12:46:42 -08:00
RtcRegs.h [EHL] trigger SMI handler in S3 resume 2024-05-21 10:15:20 -07:00
SaRegs.h Use LF line endings in the repository 2021-11-10 12:46:42 -08:00
SaRegsHostBridge.h Use LF line endings in the repository 2021-11-10 12:46:42 -08:00
SaRegsIgd.h Use LF line endings in the repository 2021-11-10 12:46:42 -08:00
SaRegsIpu.h Use LF line endings in the repository 2021-11-10 12:46:42 -08:00
ScsRegs.h Use LF line endings in the repository 2021-11-10 12:46:42 -08:00
UsbRegs.h Use LF line endings in the repository 2021-11-10 12:46:42 -08:00
VtdRegs.h Use LF line endings in the repository 2021-11-10 12:46:42 -08:00