]> git.proxmox.com Git - mirror_edk2.git/blame - SecurityPkg/Include/Library/TcgPhysicalPresenceLib.h
Fix build fail.
[mirror_edk2.git] / SecurityPkg / Include / Library / TcgPhysicalPresenceLib.h
CommitLineData
607599bf 1/** @file\r
2 Ihis library is intended to be used by BDS modules.\r
3 This library will lock TPM after executing TPM request.\r
4\r
5Copyright (c) 2011, Intel Corporation. All rights reserved.<BR>\r
6This program and the accompanying materials \r
7are licensed and made available under the terms and conditions of the BSD License \r
8which accompanies this distribution. The full text of the license may be found at \r
9http://opensource.org/licenses/bsd-license.php\r
10\r
11THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS, \r
12WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.\r
13\r
14**/\r
15\r
16#ifndef _TCG_PHYSICAL_PRESENCE_LIB_H_\r
17#define _TCG_PHYSICAL_PRESENCE_LIB_H_\r
18\r
19/**\r
20 Check and execute the pending TPM request and Lock TPM.\r
21\r
22 The TPM request may come from OS or BIOS. This API will display request information and wait \r
23 for user confirmation if TPM request exists. The TPM request will be sent to TPM device after\r
24 the TPM request is confirmed, and one or more reset may be required to make TPM request to \r
25 take effect. At last, it will lock TPM to prevent TPM state change by malware.\r
26 \r
27 This API should be invoked after console in and console out are all ready as they are required\r
28 to display request information and get user input to confirm the request. This API should also \r
29 be invoked as early as possible as TPM is locked in this function.\r
30 \r
31**/\r
32VOID\r
33EFIAPI\r
34TcgPhysicalPresenceLibProcessRequest (\r
35 VOID\r
36 );\r
37\r
38#endif\r