VirtualBox

source: vbox/trunk/src/VBox/Devices/EFI/FirmwareNew/UefiCpuPkg/Library/SmmCpuFeaturesLib/TraditionalMmCpuFeaturesLib.c@ 89983

Last change on this file since 89983 was 89983, checked in by vboxsync, 4 years ago

Devices/EFI: Merge edk-stable202105 and openssl 1.1.1j and make it build, bugref:4643

  • Property svn:eol-style set to native
File size: 631 bytes
Line 
1/** @file
2 Traditional MM CPU specific programming.
3
4 Copyright (c) Microsoft Corporation.<BR>
5 SPDX-License-Identifier: BSD-2-Clause-Patent
6
7**/
8
9#include <Base.h>
10#include <Library/PcdLib.h>
11#include "CpuFeaturesLib.h"
12
13/**
14 Gets the maximum number of logical processors from the PCD PcdCpuMaxLogicalProcessorNumber.
15
16 This access is abstracted from the PCD services to enforce that the PCD be
17 FixedAtBuild in the Standalone MM build of this driver.
18
19 @return The value of PcdCpuMaxLogicalProcessorNumber.
20
21**/
22UINT32
23GetCpuMaxLogicalProcessorNumber (
24 VOID
25 )
26{
27 return PcdGet32 (PcdCpuMaxLogicalProcessorNumber);
28}
Note: See TracBrowser for help on using the repository browser.

© 2024 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette