]> git.proxmox.com Git - mirror_edk2.git/blobdiff - SecurityPkg/Library/PlatformSecureLibNull/PlatformSecureLibNull.c
SecurityPkg/PlatformSecureLibNull: permit use by MM_STANDALONE modules
[mirror_edk2.git] / SecurityPkg / Library / PlatformSecureLibNull / PlatformSecureLibNull.c
index 0c6ded22f3e6d330889a5eb7000756de6bab28ea..b2be45be7fb6ace7b9e7ccbe05954a1722841349 100644 (file)
@@ -15,6 +15,8 @@ WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
 \r
 **/\r
 \r
+#include <Uefi/UefiBaseType.h>\r
+\r
 BOOLEAN       mUserPhysicalPresence      = FALSE;\r
 \r
 /**\r
@@ -47,21 +49,17 @@ UserPhysicalPresent (
 /**\r
   Save user physical presence state from a PCD to mUserPhysicalPresence.\r
 \r
-  @param  ImageHandle   ImageHandle of the loaded driver.\r
-  @param  SystemTable   Pointer to the EFI System Table.\r
-\r
   @retval  EFI_SUCCESS          PcdUserPhysicalPresence is got successfully.\r
 \r
 **/\r
-EFI_STATUS\r
+RETURN_STATUS\r
 EFIAPI\r
 PlatformSecureLibNullConstructor (\r
-  IN EFI_HANDLE        ImageHandle,\r
-  IN EFI_SYSTEM_TABLE  *SystemTable\r
+  VOID\r
   )\r
 {\r
 \r
   mUserPhysicalPresence = PcdGetBool(PcdUserPhysicalPresence);\r
 \r
-  return EFI_SUCCESS;\r
+  return RETURN_SUCCESS;\r
 }\r