target/mips: msa: Split helpers for DPADD_U.<H|W|D>
[qemu/ar7.git] / include / hw / ppc / spapr_tpm_proxy.h
blobc574e22ba4b6675fcb91f2d3ef078098e774be3f
1 /*
2 * SPAPR TPM Proxy/Hypercall
4 * Copyright IBM Corp. 2019
6 * Authors:
7 * Michael Roth <mdroth@linux.vnet.ibm.com>
9 * This work is licensed under the terms of the GNU GPL, version 2 or later.
10 * See the COPYING file in the top-level directory.
13 #ifndef HW_SPAPR_TPM_PROXY_H
14 #define HW_SPAPR_TPM_PROXY_H
16 #include "qom/object.h"
17 #include "hw/qdev-core.h"
19 #define TYPE_SPAPR_TPM_PROXY "spapr-tpm-proxy"
20 #define SPAPR_TPM_PROXY(obj) OBJECT_CHECK(SpaprTpmProxy, (obj), \
21 TYPE_SPAPR_TPM_PROXY)
23 typedef struct SpaprTpmProxy {
24 /*< private >*/
25 DeviceState parent;
27 char *host_path;
28 int host_fd;
29 } SpaprTpmProxy;
31 #endif /* HW_SPAPR_TPM_PROXY_H */