TianoCore EDK2
master
Loading...
Searching...
No Matches
SmmTcg2PhysicalPresenceLib.c
Go to the documentation of this file.
1
18
#include <
PiSmm.h
>
19
20
#include "
MmTcg2PhysicalPresenceLibCommon.h
"
21
33
EFI_STATUS
34
EFIAPI
35
Tcg2PhysicalPresenceLibTraditionalConstructor
(
36
IN
EFI_HANDLE
ImageHandle,
37
IN
EFI_SYSTEM_TABLE
*SystemTable
38
)
39
{
40
return
Tcg2PhysicalPresenceLibCommonConstructor
();
41
}
42
49
BOOLEAN
50
IsTcg2PPVerLowerThan_1_3
(
51
VOID
52
)
53
{
54
return
(BOOLEAN)(
AsciiStrnCmp
(PP_INF_VERSION_1_2, (CHAR8 *)
PcdGetPtr
(PcdTcgPhysicalPresenceInterfaceVer),
sizeof
(PP_INF_VERSION_1_2) - 1) >= 0);
55
}
AsciiStrnCmp
INTN EFIAPI AsciiStrnCmp(IN CONST CHAR8 *FirstString, IN CONST CHAR8 *SecondString, IN UINTN Length)
Definition:
String.c:872
IN
#define IN
Definition:
Base.h:279
Tcg2PhysicalPresenceLibCommonConstructor
EFI_STATUS Tcg2PhysicalPresenceLibCommonConstructor(VOID)
Definition:
MmTcg2PhysicalPresenceLibCommon.c:377
MmTcg2PhysicalPresenceLibCommon.h
PcdGetPtr
#define PcdGetPtr(TokenName)
Definition:
PcdLib.h:388
PiSmm.h
IsTcg2PPVerLowerThan_1_3
BOOLEAN IsTcg2PPVerLowerThan_1_3(VOID)
Definition:
SmmTcg2PhysicalPresenceLib.c:50
Tcg2PhysicalPresenceLibTraditionalConstructor
EFI_STATUS EFIAPI Tcg2PhysicalPresenceLibTraditionalConstructor(IN EFI_HANDLE ImageHandle, IN EFI_SYSTEM_TABLE *SystemTable)
Definition:
SmmTcg2PhysicalPresenceLib.c:35
EFI_STATUS
RETURN_STATUS EFI_STATUS
Definition:
UefiBaseType.h:29
EFI_HANDLE
VOID * EFI_HANDLE
Definition:
UefiBaseType.h:33
EFI_SYSTEM_TABLE
Definition:
UefiSpec.h:2028
SecurityPkg
Library
SmmTcg2PhysicalPresenceLib
SmmTcg2PhysicalPresenceLib.c
Generated on Fri Nov 15 2024 18:01:23 for TianoCore EDK2 by
1.9.6