## @file\r
-# Provides a secure platform-specific method to clear PK(Platform Key).\r
+# NULL platform secure library instance that always returns TRUE for a user physical present\r
#\r
-# Copyright (c) 2011, 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
-# http://opensource.org/licenses/bsd-license.php\r
-# THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,\r
-# WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.\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
+# SPDX-License-Identifier: BSD-2-Clause-Patent\r
#\r
##\r
\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
+ MODULE_TYPE = BASE\r
VERSION_STRING = 1.0\r
- LIBRARY_CLASS = PlatformSecureLib|DXE_RUNTIME_DRIVER DXE_SMM_DRIVER DXE_DRIVER\r
-\r
+ LIBRARY_CLASS = PlatformSecureLib|DXE_RUNTIME_DRIVER DXE_SMM_DRIVER DXE_DRIVER MM_STANDALONE\r
+ CONSTRUCTOR = PlatformSecureLibNullConstructor\r
\r
#\r
# The following information is for reference only and not required by the build tools.\r
#\r
-# VALID_ARCHITECTURES = IA32 X64 IPF EBC\r
+# VALID_ARCHITECTURES = IA32 X64 EBC\r
#\r
\r
[Sources]\r
\r
[Packages]\r
MdePkg/MdePkg.dec\r
+ SecurityPkg/SecurityPkg.dec\r
+\r
+[Pcd]\r
+ gEfiSecurityPkgTokenSpaceGuid.PcdUserPhysicalPresence ## CONSUMES\r
+\r