VirtualBox

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

最後變更 在這個檔案從95013是 89983,由 vboxsync 提交於 4 年 前

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

  • 屬性 svn:eol-style 設為 native
檔案大小: 631 位元組
 
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}
注意: 瀏覽 TracBrowser 來幫助您使用儲存庫瀏覽器

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