TianoCore EDK2 master
Loading...
Searching...
No Matches
CpuS3.c File Reference
#include "PiSmmCpuCommon.h"
#include <PiPei.h>

Go to the source code of this file.

Functions

VOID RestoreSmmConfigurationInS3 (VOID)
 
VOID EFIAPI SmmRestoreCpu (VOID)
 
VOID InitSmmS3ResumeState (VOID)
 

Variables

BOOLEAN mRestoreSmmConfigurationInS3 = FALSE
 
BOOLEAN mSmmS3Flag = FALSE
 
SMM_S3_RESUME_STATEmSmmS3ResumeState = NULL
 
BOOLEAN mAcpiS3Enable = TRUE
 

Detailed Description

Code for Processor S3 restoration

Copyright (c) 2006 - 2024, Intel Corporation. All rights reserved.
SPDX-License-Identifier: BSD-2-Clause-Patent

Definition in file CpuS3.c.

Function Documentation

◆ InitSmmS3ResumeState()

VOID InitSmmS3ResumeState ( VOID  )

Initialize SMM S3 resume state structure used during S3 Resume.

Definition at line 192 of file CpuS3.c.

◆ RestoreSmmConfigurationInS3()

VOID RestoreSmmConfigurationInS3 ( VOID  )

Restore SMM Configuration in S3 boot path.

Definition at line 31 of file CpuS3.c.

◆ SmmRestoreCpu()

VOID EFIAPI SmmRestoreCpu ( VOID  )

Perform SMM initialization for all processors in the S3 boot path.

For a native platform, MP initialization in the S3 boot path is also performed in this function.

Definition at line 70 of file CpuS3.c.

Variable Documentation

◆ mAcpiS3Enable

BOOLEAN mAcpiS3Enable = TRUE

Definition at line 24 of file CpuS3.c.

◆ mRestoreSmmConfigurationInS3

BOOLEAN mRestoreSmmConfigurationInS3 = FALSE

Definition at line 12 of file CpuS3.c.

◆ mSmmS3Flag

BOOLEAN mSmmS3Flag = FALSE

Definition at line 17 of file CpuS3.c.

◆ mSmmS3ResumeState

SMM_S3_RESUME_STATE* mSmmS3ResumeState = NULL

Definition at line 22 of file CpuS3.c.