]>
Commit | Line | Data |
---|---|---|
3e062ea4 MK |
1 | /** @file\r |
2 | Internal library function definitions.\r | |
3 | \r | |
4 | Copyright (c) Microsoft Corporation.\r | |
5 | SPDX-License-Identifier: BSD-2-Clause-Patent\r | |
6 | \r | |
7 | **/\r | |
8 | \r | |
9 | #ifndef CPU_FEATURES_LIB_H_\r | |
10 | #define CPU_FEATURES_LIB_H_\r | |
11 | \r | |
2002e950 MK |
12 | /**\r |
13 | Performs library initialization.\r | |
14 | \r | |
15 | This initialization function contains common functionality shared betwen all\r | |
16 | library instance constructors.\r | |
17 | \r | |
18 | **/\r | |
19 | VOID\r | |
20 | CpuFeaturesLibInitialization (\r | |
21 | VOID\r | |
22 | );\r | |
23 | \r | |
3e062ea4 MK |
24 | /**\r |
25 | Internal worker function that is called to complete CPU initialization at the\r | |
26 | end of SmmCpuFeaturesInitializeProcessor().\r | |
27 | \r | |
28 | **/\r | |
29 | VOID\r | |
30 | FinishSmmCpuFeaturesInitializeProcessor (\r | |
31 | VOID\r | |
32 | );\r | |
33 | \r | |
e542e05d MK |
34 | /**\r |
35 | Gets the maximum number of logical processors from the PCD PcdCpuMaxLogicalProcessorNumber.\r | |
36 | \r | |
37 | This access is abstracted from the PCD services to enforce that the PCD be\r | |
38 | FixedAtBuild in the Standalone MM build of this driver.\r | |
39 | \r | |
40 | @return The value of PcdCpuMaxLogicalProcessorNumber.\r | |
41 | \r | |
42 | **/\r | |
43 | UINT32\r | |
44 | GetCpuMaxLogicalProcessorNumber (\r | |
45 | VOID\r | |
46 | );\r | |
47 | \r | |
3e062ea4 | 48 | #endif\r |