diff options
Diffstat (limited to 'usr.sbin/bhyve/tpm_device.h')
| -rw-r--r-- | usr.sbin/bhyve/tpm_device.h | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/usr.sbin/bhyve/tpm_device.h b/usr.sbin/bhyve/tpm_device.h new file mode 100644 index 000000000000..0dd4c27999df --- /dev/null +++ b/usr.sbin/bhyve/tpm_device.h @@ -0,0 +1,20 @@ +/*- + * SPDX-License-Identifier: BSD-2-Clause + * + * Copyright (c) 2023 Beckhoff Automation GmbH & Co. KG + * Author: Corvin Köhne <corvink@FreeBSD.org> + */ + +#pragma once + +#include <vmmapi.h> + +#include "config.h" + +struct tpm_device; + +int tpm_device_create(struct tpm_device **new_dev, struct vmctx *vm_ctx, + nvlist_t *nvl); +void tpm_device_destroy(struct tpm_device *dev); + +int init_tpm(struct vmctx *ctx); |
