|
@@ -15,6 +15,8 @@ WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
|
|
|
|
|
|
**/
|
|
|
|
|
|
+#include <Uefi/UefiBaseType.h>
|
|
|
+
|
|
|
BOOLEAN mUserPhysicalPresence = FALSE;
|
|
|
|
|
|
/**
|
|
@@ -47,21 +49,17 @@ UserPhysicalPresent (
|
|
|
/**
|
|
|
Save user physical presence state from a PCD to mUserPhysicalPresence.
|
|
|
|
|
|
- @param ImageHandle ImageHandle of the loaded driver.
|
|
|
- @param SystemTable Pointer to the EFI System Table.
|
|
|
-
|
|
|
@retval EFI_SUCCESS PcdUserPhysicalPresence is got successfully.
|
|
|
|
|
|
**/
|
|
|
-EFI_STATUS
|
|
|
+RETURN_STATUS
|
|
|
EFIAPI
|
|
|
PlatformSecureLibNullConstructor (
|
|
|
- IN EFI_HANDLE ImageHandle,
|
|
|
- IN EFI_SYSTEM_TABLE *SystemTable
|
|
|
+ VOID
|
|
|
)
|
|
|
{
|
|
|
|
|
|
mUserPhysicalPresence = PcdGetBool(PcdUserPhysicalPresence);
|
|
|
|
|
|
- return EFI_SUCCESS;
|
|
|
+ return RETURN_SUCCESS;
|
|
|
}
|