TPM TIS device model
PATCH 1/1 TPM TIS device model
This patch adds a TIS device model for a v1.2 TPM to qemu. It is based on the Xen patch from IBM and adopted by removing the Xen-specific stuff. It works with the tpmd daemon of the tpm-emulator package.
The following things are still missing:
* locality support
* cmdline option for the socket name
Greetings,
Bernhard Kauer
Makefile.target +1 -0
@@ -372,6 +372,7 @@ VL_OBJS+= fdc.o mc146818rtc.o serial.o i8259.o i8254.o pcspk.o pc.o VL_OBJS+= cirrus_vga.o mixeng.o apic.o parallel.o acpi.o piix_pci.o VL_OBJS+= usb-uhci.o smbus_eeprom.o +VL_OBJS+= tpm_tis.o CPPFLAGS += -DHAS_AUDIO endif ifeq ($(TARGET_BASE_ARCH), ppc)
hw/pc.c +3 -0
@@ -734,6 +734,9 @@if (i440fx_state) {i440fx_init_memory_mappings (i440fx_state); } + +tpm_tis_init (); +#if 0 /* ??? Need to figure out some way for the user to specify SCSI devices. */
hw/tpm_tis.c +992 -0
992 lines not on this page · raw message