TianoCore EDK2
master
Loading...
Searching...
No Matches
StandaloneMmCpuFeaturesLib.c
Go to the documentation of this file.
1
10
#include <
PiMm.h
>
11
#include <
Library/PcdLib.h
>
12
#include "
CpuFeaturesLib.h
"
13
23
UINT32
24
GetCpuMaxLogicalProcessorNumber
(
25
VOID
26
)
27
{
28
return
FixedPcdGet32
(PcdCpuMaxLogicalProcessorNumber);
29
}
30
40
EFI_STATUS
41
EFIAPI
42
StandaloneMmCpuFeaturesLibConstructor
(
43
IN
EFI_HANDLE
ImageHandle,
44
IN
EFI_MM_SYSTEM_TABLE
*SystemTable
45
)
46
{
47
CpuFeaturesLibInitialization
();
48
49
return
EFI_SUCCESS
;
50
}
CpuFeaturesLibInitialization
VOID CpuFeaturesLibInitialization(VOID)
Definition:
AmdSmmCpuFeaturesLib.c:42
CpuFeaturesLib.h
IN
#define IN
Definition:
Base.h:279
PcdLib.h
FixedPcdGet32
#define FixedPcdGet32(TokenName)
Definition:
PcdLib.h:92
PiMm.h
GetCpuMaxLogicalProcessorNumber
UINT32 GetCpuMaxLogicalProcessorNumber(VOID)
Definition:
StandaloneMmCpuFeaturesLib.c:24
StandaloneMmCpuFeaturesLibConstructor
EFI_STATUS EFIAPI StandaloneMmCpuFeaturesLibConstructor(IN EFI_HANDLE ImageHandle, IN EFI_MM_SYSTEM_TABLE *SystemTable)
Definition:
StandaloneMmCpuFeaturesLib.c:42
EFI_STATUS
RETURN_STATUS EFI_STATUS
Definition:
UefiBaseType.h:29
EFI_HANDLE
VOID * EFI_HANDLE
Definition:
UefiBaseType.h:33
EFI_SUCCESS
#define EFI_SUCCESS
Definition:
UefiBaseType.h:112
_EFI_MM_SYSTEM_TABLE
Definition:
PiMmCis.h:249
UefiCpuPkg
Library
SmmCpuFeaturesLib
StandaloneMmCpuFeaturesLib.c
Generated on Fri Nov 15 2024 18:01:26 for TianoCore EDK2 by
1.9.6