TianoCore EDK2 master
Loading...
Searching...
No Matches
QemuTpm.h File Reference
#include <Base.h>

Go to the source code of this file.

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

Definition in file QemuTpm.h.

Macro Definition Documentation

◆ QEMU_TPM_PPI_FUNC_ALLOWED_USR_NOT_REQ

#define QEMU_TPM_PPI_FUNC_ALLOWED_USR_NOT_REQ   (4 << 0)

Definition at line 24 of file QemuTpm.h.

◆ QEMU_TPM_PPI_FUNC_ALLOWED_USR_REQ

#define QEMU_TPM_PPI_FUNC_ALLOWED_USR_REQ   (3 << 0)

Definition at line 23 of file QemuTpm.h.

◆ QEMU_TPM_PPI_FUNC_BIOS_ONLY

#define QEMU_TPM_PPI_FUNC_BIOS_ONLY   (1 << 0)

Definition at line 21 of file QemuTpm.h.

◆ QEMU_TPM_PPI_FUNC_BLOCKED

#define QEMU_TPM_PPI_FUNC_BLOCKED   (2 << 0)

Definition at line 22 of file QemuTpm.h.

◆ QEMU_TPM_PPI_FUNC_MASK

#define QEMU_TPM_PPI_FUNC_MASK   (7 << 0)

Definition at line 25 of file QemuTpm.h.

◆ QEMU_TPM_PPI_FUNC_NOT_IMPLEMENTED

#define QEMU_TPM_PPI_FUNC_NOT_IMPLEMENTED   (0 << 0)

Definition at line 20 of file QemuTpm.h.

◆ QEMU_TPM_PPI_VERSION_1_30

#define QEMU_TPM_PPI_VERSION_1_30   1

Definition at line 61 of file QemuTpm.h.

◆ QEMU_TPM_PPI_VERSION_NONE

#define QEMU_TPM_PPI_VERSION_NONE   0

Definition at line 60 of file QemuTpm.h.

◆ QEMU_TPM_VERSION_1_2

#define QEMU_TPM_VERSION_1_2   1

Definition at line 57 of file QemuTpm.h.

◆ QEMU_TPM_VERSION_2

#define QEMU_TPM_VERSION_2   2

Definition at line 58 of file QemuTpm.h.

◆ QEMU_TPM_VERSION_UNSPEC

#define QEMU_TPM_VERSION_UNSPEC   0

Definition at line 56 of file QemuTpm.h.