Skip to contentSkip to conversation

[4430] Update the etrax machine.

Qemu-devel Edgar E. Iglesias 1 participant 1 message May 11, 2008 Kbuild

lore
Share & tools
lore
#0 lore raw

Revision: 4430

          http://svn.sv.gnu.org/viewvc/?view=rev&root=qemu&revision=4430
Author:   edgar_igl
Date:     2008-05-11 15:07:19 +0000 (Sun, 11 May 2008)

Log Message:
-----------
Update the etrax machine.
* Use CFI-0002 flashes.
* Connect one of the ethernet blocks.
* Simplified irq numbering.

Modified Paths:
--------------
trunk/Makefile.target
trunk/hw/etraxfs.c
trunk/hw/etraxfs_pic.c

Modified: trunk/Makefile.target
===================================================================

Makefile.target +3 -1
@@ -588,12 +588,14 @@
 endif
 ifeq ($(TARGET_BASE_ARCH), cris)
 OBJS+= etraxfs.o
+OBJS+= etraxfs_dma.o
 OBJS+= etraxfs_pic.o
+OBJS+= etraxfs_eth.o
 OBJS+= etraxfs_timer.o
 OBJS+= etraxfs_ser.o
 
 OBJS+= ptimer.o
-OBJS+= pflash_cfi01.o
+OBJS+= pflash_cfi02.o
 endif
 ifeq ($(TARGET_BASE_ARCH), sparc)
 ifeq ($(TARGET_ARCH), sparc64)

Modified: trunk/hw/etraxfs.c
===================================================================

hw/etraxfs.c +42 -19

116 lines not on this page · raw message

Modified: trunk/hw/etraxfs_pic.c
===================================================================

hw/etraxfs_pic.c +1 -0
@@ -154,6 +154,7 @@
 		 __func__, irq, level,
 		 fs->rw_mask, fs->r_vect, fs->r_masked_vect));
 
+	irq -= 1;
 	fs->r_vect &= ~(1 << irq);
 	fs->r_vect |= (!!level << irq);
 	fs->r_masked_vect = fs->r_vect & fs->rw_mask;