blob: b7a5c1926e4d3a302f47942ed0431bab8fb577ab [file] [log] [blame]
/** @file
Traditional MM CPU specific programming.
Copyright (c) Microsoft Corporation.<BR>
SPDX-License-Identifier: BSD-2-Clause-Patent
**/
#include <Base.h>
#include <Library/PcdLib.h>
#include "CpuFeaturesLib.h"
/**
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.
@return The value of PcdCpuMaxLogicalProcessorNumber.
**/
UINT32
GetCpuMaxLogicalProcessorNumber (
VOID
)
{
return PcdGet32 (PcdCpuMaxLogicalProcessorNumber);
}