TianoCore EDK2 master
Loading...
Searching...
No Matches
TraditionalMmCpuFeaturesLib.c File Reference
#include <Base.h>
#include <Library/PcdLib.h>
#include "CpuFeaturesLib.h"

Go to the source code of this file.

Functions

UINT32 GetCpuMaxLogicalProcessorNumber (VOID)
 

Detailed Description

Traditional MM CPU specific programming.

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

Definition in file TraditionalMmCpuFeaturesLib.c.

Function Documentation

◆ 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 23 of file TraditionalMmCpuFeaturesLib.c.