X-Git-Url: https://git.proxmox.com/?a=blobdiff_plain;f=SecurityPkg%2FLibrary%2FPlatformSecureLibNull%2FPlatformSecureLibNull.inf;h=979a33705de08d5d0620a5acb775ccc39cc8f8c9;hb=28ce4cb3590bc3aaa91c3be75429d4e8722415e2;hp=ce0b2cebcf78c1ad9bbca260236c9531a1044200;hpb=ecc722ad418a926af4e383f8977444717786fe20;p=mirror_edk2.git diff --git a/SecurityPkg/Library/PlatformSecureLibNull/PlatformSecureLibNull.inf b/SecurityPkg/Library/PlatformSecureLibNull/PlatformSecureLibNull.inf index ce0b2cebcf..979a33705d 100644 --- a/SecurityPkg/Library/PlatformSecureLibNull/PlatformSecureLibNull.inf +++ b/SecurityPkg/Library/PlatformSecureLibNull/PlatformSecureLibNull.inf @@ -1,7 +1,12 @@ ## @file -# Provides a secure platform-specific method to detect physically present user. +# NULL platform secure library instance that alway returns TRUE for a user physical present # -# Copyright (c) 2011, Intel Corporation. All rights reserved.
+# NULL PlatformSecureLib instance does NOT really detect whether a physical present +# user exists but returns TRUE directly. This instance can be used to verify security +# related features during platform enabling and development. It should be replaced +# by a platform-specific method(e.g. Button pressed) in a real platform for product. +# +# Copyright (c) 2011 - 2018, Intel Corporation. All rights reserved.
# This program and the accompanying materials # are licensed and made available under the terms and conditions of the BSD License # which accompanies this distribution. The full text of the license may be found at @@ -14,16 +19,17 @@ [Defines] INF_VERSION = 0x00010005 BASE_NAME = PlatformSecureLibNull + MODULE_UNI_FILE = PlatformSecureLibNull.uni FILE_GUID = 7FA68D82-10A4-4e71-9524-D3D9500D3CDF MODULE_TYPE = DXE_DRIVER VERSION_STRING = 1.0 LIBRARY_CLASS = PlatformSecureLib|DXE_RUNTIME_DRIVER DXE_SMM_DRIVER DXE_DRIVER - + CONSTRUCTOR = PlatformSecureLibNullConstructor # # The following information is for reference only and not required by the build tools. # -# VALID_ARCHITECTURES = IA32 X64 IPF EBC +# VALID_ARCHITECTURES = IA32 X64 EBC # [Sources] @@ -31,3 +37,8 @@ [Packages] MdePkg/MdePkg.dec + SecurityPkg/SecurityPkg.dec + +[Pcd] + gEfiSecurityPkgTokenSpaceGuid.PcdUserPhysicalPresence ## CONSUMES +