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>