VirtualBox

source: vbox/trunk/src/VBox/Devices/EFI/FirmwareNew/UefiCpuPkg/Library/SmmCpuFeaturesLib/CpuFeaturesLib.h@ 99404

Last change on this file since 99404 was 99404, checked in by vboxsync, 23 months ago

Devices/EFI/FirmwareNew: Update to edk2-stable202302 and make it build, bugref:4643

  • Property svn:eol-style set to native
File size: 1.1 KB
Line 
1/** @file
2 Internal library function definitions.
3
4 Copyright (c) Microsoft Corporation.
5 SPDX-License-Identifier: BSD-2-Clause-Patent
6
7**/
8
9#ifndef CPU_FEATURES_LIB_H_
10#define CPU_FEATURES_LIB_H_
11
12#include <Library/SmmCpuFeaturesLib.h>
13#include <Library/BaseLib.h>
14#include <Library/PcdLib.h>
15#include <Library/MemoryAllocationLib.h>
16#include <Library/DebugLib.h>
17
18/**
19 Performs library initialization.
20
21 This initialization function contains common functionality shared betwen all
22 library instance constructors.
23
24**/
25VOID
26CpuFeaturesLibInitialization (
27 VOID
28 );
29
30/**
31 Internal worker function that is called to complete CPU initialization at the
32 end of SmmCpuFeaturesInitializeProcessor().
33
34**/
35VOID
36FinishSmmCpuFeaturesInitializeProcessor (
37 VOID
38 );
39
40/**
41 Gets the maximum number of logical processors from the PCD PcdCpuMaxLogicalProcessorNumber.
42
43 This access is abstracted from the PCD services to enforce that the PCD be
44 FixedAtBuild in the Standalone MM build of this driver.
45
46 @return The value of PcdCpuMaxLogicalProcessorNumber.
47
48**/
49UINT32
50GetCpuMaxLogicalProcessorNumber (
51 VOID
52 );
53
54#endif
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