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