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

Go to the source code of this file.

Functions

VOID CpuFeaturesInitializeWorker (VOID)
 
VOID EFIAPI SmmConfigurationEventNotify (IN EFI_EVENT Event, IN VOID *Context)
 
EFI_STATUS EFIAPI CpuFeaturesDxeInitialize (IN EFI_HANDLE ImageHandle, IN EFI_SYSTEM_TABLE *SystemTable)
 

Detailed Description

CPU Features DXE driver to initialize CPU features.

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

Definition in file CpuFeaturesDxe.c.

Function Documentation

◆ CpuFeaturesDxeInitialize()

EFI_STATUS EFIAPI CpuFeaturesDxeInitialize ( IN EFI_HANDLE  ImageHandle,
IN EFI_SYSTEM_TABLE SystemTable 
)

CPU Features driver entry point function.

If PcdCpuFeaturesInitAfterSmmRelocation is TRUE, it will register one SMM Configuration Protocol notify function to perform CPU features initialization. Otherwise, it will perform CPU features initialization directly.

Parameters
ImageHandleImage handle this driver.
SystemTablePointer to the System Table.
Return values
EFI_SUCCESSCPU Features is initialized successfully.

Definition at line 92 of file CpuFeaturesDxe.c.

◆ CpuFeaturesInitializeWorker()

VOID CpuFeaturesInitializeWorker ( VOID  )

Worker function to perform CPU feature initialization.

Definition at line 26 of file CpuFeaturesDxe.c.

◆ SmmConfigurationEventNotify()

VOID EFIAPI SmmConfigurationEventNotify ( IN EFI_EVENT  Event,
IN VOID *  Context 
)

Event notification that initialize CPU features when gEfiSmmConfigurationProtocol installs.

Parameters
[in]EventThe Event that is being processed, not used.
[in]ContextEvent Context, not used.

Definition at line 58 of file CpuFeaturesDxe.c.