* Fabrice Bellard [EMAIL PROTECTED] [2007-11-07 18:35]:
A few more remarks :
- tpm_register() must be called in hw/pc.c.
- you must also handle incomplete write and reads. Use something like
unix_write() in vl.c and the equivalent for read.
- The code seems to be Unix specific so it
* Fabrice Bellard [EMAIL PROTECTED] [2007-11-06 20:47]:
Thomas Bleher wrote:
* Fabrice Bellard [EMAIL PROTECTED] [2007-11-05 16:40]:
Thomas Bleher wrote:
+result = write(s-tpm_fd, s-send_data, s-send_data_index);
+if (result s-send_data_index) {
+fprintf
* Thomas Bleher [EMAIL PROTECTED] [2007-11-01 16:55]:
* Thiemo Seufer [EMAIL PROTECTED] [2007-10-31 17:14]:
Thomas Bleher wrote:
* Thiemo Seufer [EMAIL PROTECTED] [2007-10-31 13:54]:
Thomas Bleher wrote:
--- /dev/null
+++ b/hw/tpm.c
@@ -0,0 +1,219 @@
+/*
+ * TPM
* Thiemo Seufer [EMAIL PROTECTED] [2007-10-31 17:14]:
Thomas Bleher wrote:
* Thiemo Seufer [EMAIL PROTECTED] [2007-10-31 13:54]:
Thomas Bleher wrote:
--- /dev/null
+++ b/hw/tpm.c
@@ -0,0 +1,219 @@
+/*
+ * TPM emulation
+ * Written by Thomas Bleher [EMAIL PROTECTED
ps2.o vga.o $(SOUND_HW) dma.o $(AUDIODRV)
diff --git a/hw/tpm.c b/hw/tpm.c
new file mode 100644
index 000..eaebd46
--- /dev/null
+++ b/hw/tpm.c
@@ -0,0 +1,219 @@
+/*
+ * TPM emulation
+ * Written by Thomas Bleher [EMAIL PROTECTED].
+ *
+ * This driver emulates a TPM chip. TPM chips are quite
, although
this hasn't been tested yet.
---
* Thiemo Seufer [EMAIL PROTECTED] [2007-10-31 13:54]:
Thomas Bleher wrote:
--- /dev/null
+++ b/hw/tpm.c
@@ -0,0 +1,219 @@
+/*
+ * TPM emulation
+ * Written by Thomas Bleher [EMAIL PROTECTED].
+ *
+ * This driver emulates a TPM chip. TPM