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 | **/
|
---|
22 | UINT32
|
---|
23 | GetCpuMaxLogicalProcessorNumber (
|
---|
24 | VOID
|
---|
25 | )
|
---|
26 | {
|
---|
27 | return PcdGet32 (PcdCpuMaxLogicalProcessorNumber);
|
---|
28 | }
|
---|
Note:
See
TracBrowser
for help on using the repository browser.