On 4/25/07, Wang Cheng Yeh [EMAIL PROTECTED] wrote:
scsi.tex patch reduces unnecessary mismatch.
lsi.txt corrects mismatch condition.
When the mismatch happens, register ia saves the instruction address.
However, QEMU call lsi_bad_phase first, update new dsp and
then save it into register ia.
scsi.tex patch reduces unnecessary mismatch.
lsi.txt corrects mismatch condition.
When the mismatch happens, register ia saves the instruction address.
However, QEMU call lsi_bad_phase first, update new dsp and
then save it into register ia.
The patch correct this problem.
Another fix is in the
--- ../../tmp/qemu-0.9.0/hw/lsi53c895a.c2007-02-06 07:01:
54.0 +0800
+++ lsi53c895a.c2007-03-08 20:50:03.094098835 +0800
@@ -251,7 +251,7 @@
uint32_t ia;
uint32_t sbc;
uint32_t csbc;
-uint32_t scratch[13]; /* SCRATCHA-SCRATCHR */
+uint32_t scratch[18];
? wrote:
--- ../../tmp/qemu-0.9.0/hw/lsi53c895a.c2007-02-06 07:01:
54.0 +0800
+++ lsi53c895a.c2007-03-08 20:50:03.094098835 +0800
@@ -251,7 +251,7 @@
uint32_t ia;
uint32_t sbc;
uint32_t csbc;
-uint32_t scratch[13]; /* SCRATCHA-SCRATCHR */
+
because
(1) address of SCRATCHA is 0x34
(2) address from SCRATCHB to SCRATCHR are 0x5c ~ 0x9f
you just see the code about part (2).
I think the access code is right.
2007/3/19, Thiemo Seufer [EMAIL PROTECTED]:
? wrote:
--- ../../tmp/qemu-0.9.0/hw/lsi53c895a.c2007-02-06 07:01:
--- ../../tmp/qemu-0.9.0/hw/lsi53c895a.c2007-02-06 07:01:
54.0 +0800
+++ lsi53c895a.c2007-03-08 20:50:03.094098835 +0800
@@ -251,7 +251,7 @@
uint32_t ia;
uint32_t sbc;
uint32_t csbc;
-uint32_t scratch[13]; /* SCRATCHA-SCRATCHR */
+uint32_t scratch[18];
Here is the patch with texi updates and the enum set correctly so the
SCSI disk is visible. (I missed moving some lines from my previous level
of this patch.)
Chuck
diff -Nuar -X diff_excludes /hg-qemu/hw/pc.c /qemu-new/hw/pc.c
--- /hg-qemu/hw/pc.c2006-12-13 06:59:35.0 -0500
+++