diff options
author | czhang46 <czhang46@6f19259b-4bc3-4df7-8a09-765794883524> | 2012-11-01 04:46:26 +0000 |
---|---|---|
committer | czhang46 <czhang46@6f19259b-4bc3-4df7-8a09-765794883524> | 2012-11-01 04:46:26 +0000 |
commit | 482114024e0f82cd235e5741aaed437ee371ffbb (patch) | |
tree | 1f818759cc5708e23a38df7ae4f9d04706fa1221 /SecurityPkg/Include | |
parent | 16cd325fc1d7b8f9e668ee8f12fced2b643f1b01 (diff) | |
download | edk2-482114024e0f82cd235e5741aaed437ee371ffbb.zip edk2-482114024e0f82cd235e5741aaed437ee371ffbb.tar.gz edk2-482114024e0f82cd235e5741aaed437ee371ffbb.tar.bz2 |
Add Physical Presence request UI detection logic. Refine UIConfirm ReadKey logic
Signed-off-by : chao zhang <chao.b.zhang@intel.com>
Reviewed-by : dong guo <guo.dong@intel.com>
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@13908 6f19259b-4bc3-4df7-8a09-765794883524
Diffstat (limited to 'SecurityPkg/Include')
-rw-r--r-- | SecurityPkg/Include/Library/TcgPhysicalPresenceLib.h | 18 |
1 files changed, 17 insertions, 1 deletions
diff --git a/SecurityPkg/Include/Library/TcgPhysicalPresenceLib.h b/SecurityPkg/Include/Library/TcgPhysicalPresenceLib.h index 05f2b22..3ef9d0a 100644 --- a/SecurityPkg/Include/Library/TcgPhysicalPresenceLib.h +++ b/SecurityPkg/Include/Library/TcgPhysicalPresenceLib.h @@ -2,7 +2,7 @@ Ihis library is intended to be used by BDS modules.
This library will lock TPM after executing TPM request.
-Copyright (c) 2011, Intel Corporation. All rights reserved.<BR>
+Copyright (c) 2011 - 2012, Intel Corporation. All rights reserved.<BR>
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
@@ -35,4 +35,20 @@ TcgPhysicalPresenceLibProcessRequest ( VOID
);
+/**
+ Check if the pending TPM request needs user input to confirm.
+
+ The TPM request may come from OS. This API will check if TPM request exists and need user
+ input to confirmation.
+
+ @retval TRUE TPM needs input to confirm user physical presence.
+ @retval FALSE TPM doesn't need input to confirm user physical presence.
+
+**/
+BOOLEAN
+EFIAPI
+TcgPhysicalPresenceLibNeedUserConfirm(
+ VOID
+ );
+
#endif
|