]> git.proxmox.com Git - mirror_edk2.git/blobdiff - SecurityPkg/Library/PlatformSecureLibNull/PlatformSecureLibNull.c
Fix compatibility issue when using IPF image with PE32 magic value in the OptionalHeader.
[mirror_edk2.git] / SecurityPkg / Library / PlatformSecureLibNull / PlatformSecureLibNull.c
index cfce97e2844d34c7051325974a7e0b063ae71c24..1450ac44abe77dd0d9bdfbb24cc320cd05957450 100644 (file)
@@ -1,5 +1,8 @@
 /** @file\r
-  Provides a secure platform-specific method to detect physically present user.\r
+  NULL PlatformSecureLib instance does NOT really detect whether a physical present \r
+  user exists but return TRUE directly. This instance can be used to verify security\r
+  related features during platform enabling and development. It should be replaced\r
+  by a platform-specific method(e.g. Button pressed) in a real platform for product.\r
 \r
 Copyright (c) 2011 - 2012, Intel Corporation. All rights reserved.<BR>\r
 This program and the accompanying materials \r
@@ -35,5 +38,5 @@ UserPhysicalPresent (
   VOID\r
   )\r
 {\r
-  return FALSE;\r
+  return TRUE;\r
 }\r