[4164] MIPS Magnum R4000 machine
Revision: 4164
http://svn.sv.gnu.org/viewvc/?view=rev&root=qemu&revision=4164 Author: aurel32 Date: 2008-04-07 19:47:14 +0000 (Mon, 07 Apr 2008)
Log Message:
-----------
MIPS Magnum R4000 machine
Modified Paths:
--------------
trunk/Makefile.target
trunk/hw/boards.h
trunk/hw/mips.h
trunk/vl.c
Added Paths:
-----------
trunk/hw/mips_jazz.c
trunk/hw/rc4030.cModified: trunk/Makefile.target
===================================================================
Makefile.target +5 -5
@@ -559,14 +559,14 @@ OBJS+= pflash_cfi02.o ppc4xx_devs.o ppc405_uc.o ppc405_boards.o endif ifeq ($(TARGET_BASE_ARCH), mips) -OBJS+= mips_r4k.o mips_malta.o mips_pica61.o mips_mipssim.o -OBJS+= mips_timer.o mips_int.o dma.o vga.o serial.o i8254.o i8259.o -OBJS+= jazz_led.o +OBJS+= mips_r4k.o mips_jazz.o mips_malta.o mips_pica61.o mips_mipssim.o +OBJS+= mips_timer.o mips_int.o dma.o vga.o serial.o i8254.o i8259.o rc4030.o +OBJS+= g364fb.o jazz_led.o OBJS+= ide.o gt64xxx.o pckbd.o ps2.o fdc.o mc146818rtc.o usb-uhci.o acpi.o ds1225y.o -OBJS+= piix_pci.o parallel.o cirrus_vga.o $(SOUND_HW) +OBJS+= piix_pci.o parallel.o cirrus_vga.o pcspk.o $(SOUND_HW) OBJS+= mipsnet.o OBJS+= pflash_cfi01.o -CPPFLAGS += -DHAS_AUDIO +CPPFLAGS += -DHAS_AUDIO -DHAS_AUDIO_CHOICE endif ifeq ($(TARGET_BASE_ARCH), cris) OBJS+= etraxfs.o
Modified: trunk/hw/boards.h
===================================================================
hw/boards.h +3 -0
@@ -36,6 +36,9 @@/* mips_r4k.c */ extern QEMUMachine mips_machine; +/* mips_jazz.c */ +extern QEMUMachine mips_magnum_machine; +/* mips_malta.c */ extern QEMUMachine mips_malta_machine;
Modified: trunk/hw/mips.h
===================================================================
hw/mips.h +8 -0
@@ -9,6 +9,11 @@void *ds1225y_init (target_phys_addr_t mem_base,const char *filename);void ds1225y_set_protection (void *opaque,int protection); +/* g364fb.c */ +int g364fb_mm_init (DisplayState *ds, +int vram_size,int it_shift, +target_phys_addr_t vram_base,target_phys_addr_t ctrl_base); +/* mipsnet.c */ void mipsnet_init (int base,qemu_irq irq,NICInfo *nd);
@@ -22,4 +27,7 @@extern void cpu_mips_clock_init (CPUState *);extern void cpu_mips_irqctrl_init (void ); +/* rc4030.c */ +qemu_irq *rc4030_init (qemu_irq timer,qemu_irq jazz_bus); +#endif
Added: trunk/hw/mips_jazz.c
===================================================================
hw/mips_jazz.c +275 -0
275 lines not on this page · raw message
Added: trunk/hw/rc4030.c
===================================================================
hw/rc4030.c +608 -0
608 lines not on this page · raw message
Modified: trunk/vl.c
===================================================================
vl.c +2 -2
@@ -26,7 +26,6 @@#include "hw/usb.h" #include "hw/pcmcia.h" #include "hw/pc.h" -#include "hw/fdc.h" #include "hw/audiodev.h" #include "hw/isa.h" #include "net.h"
@@ -8002,6 +8001,7 @@qemu_register_machine (&taihu_machine);#elif defined(TARGET_MIPS )qemu_register_machine (&mips_machine); +qemu_register_machine (&mips_magnum_machine);qemu_register_machine (&mips_malta_machine);qemu_register_machine (&mips_pica61_machine);qemu_register_machine (&mips_mipssim_machine);
@@ -8056,7 +8056,7 @@ #ifdef HAS_AUDIO struct soundhw soundhw[] = { #ifdef HAS_AUDIO_CHOICE -#ifdef TARGET_I386 +#if defined(TARGET_I386) || defined(TARGET_MIPS) { "pcspk", "PC speaker",
Quoted 3 lines
Log Message:
-----------
MIPS Magnum R4000 machine
You also need to add documentation.
Paul
Quoted 5 lines · Aurelien Jarno
Revision: 4164
http://svn.sv.gnu.org/viewvc/?view=rev&root=qemu&revision=4164 Author: aurel32 Date: 2008-04-07 19:47:14 +0000 (Mon, 07 Apr 2008)
Quoted 9 lines
Log Message:
-----------
MIPS Magnum R4000 machineAdded Paths:
-----------trunk/hw/mips_jazz.c trunk/hw/rc4030.c
Please be consistent.
The added files are encoded in unicode, whereas existing ones are not.
Also, diff.exe on Windows (provided with MSYS) considers unicode files as binary, which means that I can't provide patches for them...
Hervé
Quoted 10 lines · Hervé Poussineau
Quoted 9 lines · Aurelien Jarno
Revision: 4164
http://svn.sv.gnu.org/viewvc/?view=rev&root=qemu&revision=4164 Author: aurel32 Date: 2008-04-07 19:47:14 +0000 (Mon, 07 Apr 2008)Log Message:
-----------
MIPS Magnum R4000 machine
Quoted 8 lines
Quoted 5 lines
Added Paths:
-----------trunk/hw/mips_jazz.c trunk/hw/rc4030.cPlease be consistent.
The added files are encoded in unicode, whereas existing ones are not.
Wrong they are not encoded in unicode (should be UTF-16 from your description on IRC), but in UTF-8. It's your software which convert them to UTF-16.
Also a few other files are *already* encoded in UTF-8 in the SVN.
Quoted 2 lines
Also, diff.exe on Windows (provided with MSYS) considers unicode files as binary, which means that I can't provide patches for them...
Then you software is buggy.
The only workaround I can see from the software point of view is to remove the accents from you name in those files, so that they are changed to plain ASCII. But in that case, please don't submit patches with non-ASCII chars. Also I won't change other files already in UTF-8.
Signature · 4 lines
.''`. Aurelien Jarno | GPG: 1024D/F1BCDB73 : :' : Debian developer | Electrical Engineer `. `' [email protected] | [email protected] `- people.debian.org/~aurel32 | www.aurel32.net