8110fa1d94
Generated using: $ ./scripts/codeconverter/converter.py -i \ --pattern=TypeCheckMacro $(git grep -l '' -- '*.[ch]') Reviewed-by: Daniel P. Berrangé <berrange@redhat.com> Reviewed-by: Juan Quintela <quintela@redhat.com> Message-Id: <20200831210740.126168-12-ehabkost@redhat.com> Reviewed-by: Juan Quintela <quintela@redhat.com> Message-Id: <20200831210740.126168-13-ehabkost@redhat.com> Message-Id: <20200831210740.126168-14-ehabkost@redhat.com> Signed-off-by: Eduardo Habkost <ehabkost@redhat.com>
33 lines
715 B
C
33 lines
715 B
C
/*
|
|
* SPAPR TPM Proxy/Hypercall
|
|
*
|
|
* Copyright IBM Corp. 2019
|
|
*
|
|
* Authors:
|
|
* Michael Roth <mdroth@linux.vnet.ibm.com>
|
|
*
|
|
* This work is licensed under the terms of the GNU GPL, version 2 or later.
|
|
* See the COPYING file in the top-level directory.
|
|
*/
|
|
|
|
#ifndef HW_SPAPR_TPM_PROXY_H
|
|
#define HW_SPAPR_TPM_PROXY_H
|
|
|
|
#include "qom/object.h"
|
|
#include "hw/qdev-core.h"
|
|
|
|
#define TYPE_SPAPR_TPM_PROXY "spapr-tpm-proxy"
|
|
typedef struct SpaprTpmProxy SpaprTpmProxy;
|
|
DECLARE_INSTANCE_CHECKER(SpaprTpmProxy, SPAPR_TPM_PROXY,
|
|
TYPE_SPAPR_TPM_PROXY)
|
|
|
|
struct SpaprTpmProxy {
|
|
/*< private >*/
|
|
DeviceState parent;
|
|
|
|
char *host_path;
|
|
int host_fd;
|
|
};
|
|
|
|
#endif /* HW_SPAPR_TPM_PROXY_H */
|