OvmfPkg[all]  0.1
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros Pages
QemuTpm.h File Reference

Data Structures

struct  QEMU_TPM_PPI
 
struct  QEMU_FWCFG_TPM_CONFIG
 

Macros

#define QEMU_TPM_PPI_FUNC_NOT_IMPLEMENTED   (0 << 0)
 
#define QEMU_TPM_PPI_FUNC_BIOS_ONLY   (1 << 0)
 
#define QEMU_TPM_PPI_FUNC_BLOCKED   (2 << 0)
 
#define QEMU_TPM_PPI_FUNC_ALLOWED_USR_REQ   (3 << 0)
 
#define QEMU_TPM_PPI_FUNC_ALLOWED_USR_NOT_REQ   (4 << 0)
 
#define QEMU_TPM_PPI_FUNC_MASK   (7 << 0)
 
#define QEMU_TPM_VERSION_UNSPEC   0
 
#define QEMU_TPM_VERSION_1_2   1
 
#define QEMU_TPM_VERSION_2   2
 
#define QEMU_TPM_PPI_VERSION_NONE   0
 
#define QEMU_TPM_PPI_VERSION_1_30   1
 

Detailed Description

Macro and type definitions corresponding to the QEMU TPM interface.

Refer to "docs/specs/tpm.txt" in the QEMU source directory.

Copyright (C) 2018, Red Hat, Inc. Copyright (c) 2018, IBM Corporation. All rights reserved.

SPDX-License-Identifier: BSD-2-Clause-Patent

Macro Definition Documentation

#define QEMU_TPM_PPI_FUNC_ALLOWED_USR_NOT_REQ   (4 << 0)
#define QEMU_TPM_PPI_FUNC_ALLOWED_USR_REQ   (3 << 0)
#define QEMU_TPM_PPI_FUNC_BIOS_ONLY   (1 << 0)
#define QEMU_TPM_PPI_FUNC_BLOCKED   (2 << 0)
#define QEMU_TPM_PPI_FUNC_MASK   (7 << 0)
#define QEMU_TPM_PPI_FUNC_NOT_IMPLEMENTED   (0 << 0)
#define QEMU_TPM_PPI_VERSION_1_30   1
#define QEMU_TPM_PPI_VERSION_NONE   0
#define QEMU_TPM_VERSION_1_2   1
#define QEMU_TPM_VERSION_2   2
#define QEMU_TPM_VERSION_UNSPEC   0