TianoCore EDK2 master
Loading...
Searching...
No Matches
CpuFeaturesPei.c File Reference

Go to the source code of this file.

Functions

EFI_STATUS EFIAPI CpuFeaturesPeimInitialize (IN EFI_PEI_FILE_HANDLE FileHandle, IN CONST EFI_PEI_SERVICES **PeiServices)
 

Variables

EFI_PEI_PPI_DESCRIPTOR mPeiCpuFeaturesInitDonePpiDesc
 

Detailed Description

CPU Features PEIM driver to initialize CPU features.

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

Definition in file CpuFeaturesPei.c.

Function Documentation

◆ CpuFeaturesPeimInitialize()

EFI_STATUS EFIAPI CpuFeaturesPeimInitialize ( IN EFI_PEI_FILE_HANDLE  FileHandle,
IN CONST EFI_PEI_SERVICES **  PeiServices 
)

CPU Features driver entry point function.

It will perform CPU features initialization, except for PcdCpuFeaturesInitOnS3Resume is FALSE on S3 resume.

Parameters
FileHandleHandle of the file being invoked.
PeiServicesDescribes the list of possible PEI Services.
Return values
EFI_SUCCESSCPU Features is initialized successfully.

Definition at line 38 of file CpuFeaturesPei.c.

Variable Documentation

◆ mPeiCpuFeaturesInitDonePpiDesc

EFI_PEI_PPI_DESCRIPTOR mPeiCpuFeaturesInitDonePpiDesc
Initial value:
= {
(EFI_PEI_PPI_DESCRIPTOR_PPI | EFI_PEI_PPI_DESCRIPTOR_TERMINATE_LIST),
&gEdkiiCpuFeaturesInitDoneGuid,
}
#define NULL
Definition: Base.h:319

Definition at line 19 of file CpuFeaturesPei.c.