]> git.proxmox.com Git - mirror_edk2.git/blame - SecurityPkg/Library/SmmTcg2PhysicalPresenceLib/MmTcg2PhysicalPresenceLibCommon.h
UefiCpuPkg: Move AsmRelocateApLoopStart from Mpfuncs.nasm to AmdSev.nasm
[mirror_edk2.git] / SecurityPkg / Library / SmmTcg2PhysicalPresenceLib / MmTcg2PhysicalPresenceLibCommon.h
CommitLineData
45939255
KQ
1/** @file\r
2 Handle TPM 2.0 physical presence requests from OS.\r
3\r
4 This library will handle TPM 2.0 physical presence request from OS.\r
5\r
6 Caution: This module requires additional review when modified.\r
7 This driver will have external input - variable.\r
8 This external input must be validated carefully to avoid security issue.\r
9\r
10 Tcg2PhysicalPresenceLibSubmitRequestToPreOSFunction() and Tcg2PhysicalPresenceLibGetUserConfirmationStatusFunction()\r
11 will receive untrusted input and do validation.\r
12\r
13Copyright (c) 2015 - 2020, Intel Corporation. All rights reserved.<BR>\r
14SPDX-License-Identifier: BSD-2-Clause-Patent\r
15\r
16**/\r
17\r
18#ifndef _MM_TCG2_PHYSICAL_PRESENCE_LIB_COMMON_H_\r
19#define _MM_TCG2_PHYSICAL_PRESENCE_LIB_COMMON_H_\r
20\r
21/**\r
22 The constructor function locates MmVariable protocol.\r
23\r
24 It will ASSERT() if that operation fails and it will always return EFI_SUCCESS.\r
25\r
26 @retval EFI_SUCCESS The constructor successfully added string package.\r
27 @retval Other value The constructor can't add string package.\r
28**/\r
29EFI_STATUS\r
30Tcg2PhysicalPresenceLibCommonConstructor (\r
31 VOID\r
32 );\r
33\r
34#endif\r