TianoCore EDK2 master
Loading...
Searching...
No Matches
CpuFeaturesLib.h File Reference

Go to the source code of this file.

Functions

VOID CpuFeaturesLibInitialization (VOID)
 
VOID FinishSmmCpuFeaturesInitializeProcessor (VOID)
 
UINT32 GetCpuMaxLogicalProcessorNumber (VOID)
 

Detailed Description

Internal library function definitions.

Copyright (c) Microsoft Corporation. SPDX-License-Identifier: BSD-2-Clause-Patent

Definition in file CpuFeaturesLib.h.

Function Documentation

◆ CpuFeaturesLibInitialization()

VOID CpuFeaturesLibInitialization ( VOID  )

Performs library initialization.

This initialization function contains common functionality shared betwen all library instance constructors.

Definition at line 42 of file AmdSmmCpuFeaturesLib.c.

◆ FinishSmmCpuFeaturesInitializeProcessor()

VOID FinishSmmCpuFeaturesInitializeProcessor ( VOID  )

Internal worker function that is called to complete CPU initialization at the end of SmmCpuFeaturesInitializeProcessor().

Definition at line 20 of file SmmCpuFeaturesLibNoStm.c.

◆ GetCpuMaxLogicalProcessorNumber()

UINT32 GetCpuMaxLogicalProcessorNumber ( VOID  )

Gets the maximum number of logical processors from the PCD PcdCpuMaxLogicalProcessorNumber.

This access is abstracted from the PCD services to enforce that the PCD be FixedAtBuild in the Standalone MM build of this driver.

Returns
The value of PcdCpuMaxLogicalProcessorNumber.

Definition at line 24 of file StandaloneMmCpuFeaturesLib.c.