qemu-e2k/hw/tpm
Stefan Berger 6cd65969da tpm_tis: Return 0 for every register in case of failure mode
Rather than returning ~0, return 0 for every register in case of failure
mode. The '0' is better to indicate that there's no device there. It avoids
SeaBIOS detecting a device and getting stuck on it trying to read and write
its registers.

Signed-off-by: Stefan Berger <stefanb@linux.vnet.ibm.com>
Reviewed-by: Marc-André Lureau <marcandre.lureau@redhat.com>
2017-11-15 06:47:35 -05:00
..
Makefile.objs tpm: Added support for TPM emulator 2017-10-13 07:34:33 -04:00
tpm_emulator.c tpm-emulator: protect concurrent ctrl_chr access 2017-11-15 06:47:35 -05:00
tpm_int.h tpm: move recv_data_callback to TPM interface 2017-10-19 11:42:33 -04:00
tpm_ioctl.h tpm: Added support for TPM emulator 2017-10-13 07:34:33 -04:00
tpm_passthrough.c tpm: move recv_data_callback to TPM interface 2017-10-19 11:42:33 -04:00
tpm_tis.c tpm_tis: Return 0 for every register in case of failure mode 2017-11-15 06:47:35 -05:00
tpm_util.c tpm-tis: move TPMState to TIS header 2017-10-19 11:42:30 -04:00
tpm_util.h tpm-passthrough: move reusable code to utils 2017-10-13 07:34:33 -04:00