TianoCore EDK2
master
Loading...
Searching...
No Matches
PlatformSecureLibNull.c
Go to the documentation of this file.
1
12
#include <
Uefi/UefiBaseType.h
>
13
14
BOOLEAN mUserPhysicalPresence =
FALSE
;
15
33
BOOLEAN
34
EFIAPI
35
UserPhysicalPresent
(
36
VOID
37
)
38
{
39
return
mUserPhysicalPresence;
40
}
41
48
RETURN_STATUS
49
EFIAPI
50
PlatformSecureLibNullConstructor
(
51
VOID
52
)
53
{
54
mUserPhysicalPresence =
PcdGetBool
(PcdUserPhysicalPresence);
55
56
return
RETURN_SUCCESS
;
57
}
RETURN_SUCCESS
#define RETURN_SUCCESS
Definition:
Base.h:1066
FALSE
#define FALSE
Definition:
Base.h:307
PcdGetBool
#define PcdGetBool(TokenName)
Definition:
PcdLib.h:401
PlatformSecureLibNullConstructor
RETURN_STATUS EFIAPI PlatformSecureLibNullConstructor(VOID)
Definition:
PlatformSecureLibNull.c:50
UserPhysicalPresent
BOOLEAN EFIAPI UserPhysicalPresent(VOID)
Definition:
PlatformSecureLibNull.c:35
UefiBaseType.h
SecurityPkg
Library
PlatformSecureLibNull
PlatformSecureLibNull.c
Generated on Fri Nov 15 2024 18:01:23 for TianoCore EDK2 by
1.9.6