diff options
Diffstat (limited to 'usr.sbin/bhyve/tpm_ppi.h')
| -rw-r--r-- | usr.sbin/bhyve/tpm_ppi.h | 20 | 
1 files changed, 20 insertions, 0 deletions
| diff --git a/usr.sbin/bhyve/tpm_ppi.h b/usr.sbin/bhyve/tpm_ppi.h new file mode 100644 index 000000000000..3c54c2f6c223 --- /dev/null +++ b/usr.sbin/bhyve/tpm_ppi.h @@ -0,0 +1,20 @@ +/*- + * SPDX-License-Identifier: BSD-2-Clause-FreeBSD + * + * Copyright (c) 2022 Beckhoff Automation GmbH & Co. KG + * Author: Corvin Köhne <c.koehne@beckhoff.com> + */ + +#pragma once + +#include "config.h" + +struct tpm_ppi { +	const char *name; + +	int (*init)(void **sc); +	void (*deinit)(void *sc); +	int (*write_dsdt_regions)(void *sc); +	int (*write_dsdt_dsm)(void *sc); +}; +#define TPM_PPI_SET(x) DATA_SET(tpm_ppi_set, x) | 
