]> git.proxmox.com Git - mirror_edk2.git/blob - SecurityPkg/Tcg/Tcg2Config/Tcg2Internal.h
UefiCpuPkg: Move AsmRelocateApLoopStart from Mpfuncs.nasm to AmdSev.nasm
[mirror_edk2.git] / SecurityPkg / Tcg / Tcg2Config / Tcg2Internal.h
1 /** @file
2 The internal header file defines the common structures for PEI and DXE modules.
3
4 Copyright (c) 2019, Intel Corporation. All rights reserved.<BR>
5 SPDX-License-Identifier: BSD-2-Clause-Patent
6
7 **/
8
9 #ifndef __TCG2_INTERNAL_H__
10 #define __TCG2_INTERNAL_H__
11
12 #define EFI_TCG2_EVENT_LOG_FORMAT_DEFAULT EFI_TCG2_EVENT_LOG_FORMAT_TCG_1_2
13 #define EFI_TCG2_EVENT_LOG_FORMAT_ALL (EFI_TCG2_EVENT_LOG_FORMAT_TCG_1_2 | EFI_TCG2_EVENT_LOG_FORMAT_TCG_2)
14
15 #define TPM_INSTANCE_ID_LIST { \
16 {TPM_DEVICE_INTERFACE_NONE, TPM_DEVICE_NULL}, \
17 {TPM_DEVICE_INTERFACE_TPM12, TPM_DEVICE_1_2}, \
18 {TPM_DEVICE_INTERFACE_TPM20_DTPM, TPM_DEVICE_2_0_DTPM}, \
19 }
20
21 typedef struct {
22 GUID TpmInstanceGuid;
23 UINT8 TpmDevice;
24 } TPM_INSTANCE_ID;
25
26 #endif