qemu/stubs/tpm.c
<<
>>
Prefs
   1/*
   2 * TPM stubs
   3 *
   4 * This work is licensed under the terms of the GNU GPL, version 2 or later.
   5 * See the COPYING file in the top-level directory.
   6 */
   7
   8#include "qemu/osdep.h"
   9#include "qapi/qapi-commands-tpm.h"
  10#include "sysemu/tpm.h"
  11#include "hw/acpi/tpm.h"
  12
  13int tpm_init(void)
  14{
  15    return 0;
  16}
  17
  18void tpm_cleanup(void)
  19{
  20}
  21
  22TPMInfoList *qmp_query_tpm(Error **errp)
  23{
  24    return NULL;
  25}
  26
  27TpmTypeList *qmp_query_tpm_types(Error **errp)
  28{
  29    return NULL;
  30}
  31
  32TpmModelList *qmp_query_tpm_models(Error **errp)
  33{
  34    return NULL;
  35}
  36
  37void tpm_build_ppi_acpi(TPMIf *tpm, Aml *dev)
  38{
  39}
  40