]> git.proxmox.com Git - mirror_edk2.git/blobdiff - SecurityPkg/Library/PlatformSecureLibNull/PlatformSecureLibNull.inf
SecurityPkg: Clean up source files
[mirror_edk2.git] / SecurityPkg / Library / PlatformSecureLibNull / PlatformSecureLibNull.inf
index dc119f2b1ca841de2c824049d7a1f7311ee0f222..2f2ea4fc254c0177be48d426a6c1fce15f23dce8 100644 (file)
@@ -1,7 +1,12 @@
 ## @file\r
-#  Provides a secure platform-specific method to clear PK(Platform Key).\r
+#  NULL platform secure library instance that alway returns TRUE for a user physical present\r
 #\r
-# Copyright (c) 2011, Intel Corporation. All rights reserved.<BR>\r
+#  NULL PlatformSecureLib instance does NOT really detect whether a physical present\r
+#  user exists but returns 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 - 2018, Intel Corporation. All rights reserved.<BR>\r
 # This program and the accompanying materials\r
 # are licensed and made available under the terms and conditions of the BSD License\r
 # which accompanies this distribution. The full text of the license may be found at\r
 [Defines]\r
   INF_VERSION                    = 0x00010005\r
   BASE_NAME                      = PlatformSecureLibNull\r
+  MODULE_UNI_FILE                = PlatformSecureLibNull.uni\r
   FILE_GUID                      = 7FA68D82-10A4-4e71-9524-D3D9500D3CDF\r
   MODULE_TYPE                    = DXE_DRIVER\r
   VERSION_STRING                 = 1.0\r
   LIBRARY_CLASS                  = PlatformSecureLib|DXE_RUNTIME_DRIVER DXE_SMM_DRIVER DXE_DRIVER\r
-\r
+  CONSTRUCTOR                    = PlatformSecureLibNullConstructor\r
 \r
 #\r
 # The following information is for reference only and not required by the build tools.\r
@@ -31,3 +37,8 @@
 \r
 [Packages]\r
   MdePkg/MdePkg.dec\r
+  SecurityPkg/SecurityPkg.dec\r
+\r
+[Pcd]\r
+  gEfiSecurityPkgTokenSpaceGuid.PcdUserPhysicalPresence    ## CONSUMES\r
+\r