mirror of
https://github.com/izzy2lost/xemu.git
synced 2026-07-06 00:20:22 -07:00
MIPS Malta system and devices support, by Aurelien Jarno and Stefan Weil.
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@2319 c046a42c-6fe2-441c-8c8c-71466251a162
This commit is contained in:
+4
-2
@@ -361,8 +361,10 @@ VL_OBJS+= grackle_pci.o prep_pci.o unin_pci.o
|
||||
CPPFLAGS += -DHAS_AUDIO
|
||||
endif
|
||||
ifeq ($(TARGET_ARCH), mips)
|
||||
VL_OBJS+= mips_r4k.o mips_timer.o dma.o vga.o serial.o i8254.o i8259.o ide.o
|
||||
VL_OBJS+= mc146818rtc.o #pckbd.o fdc.o m48t59.o
|
||||
VL_OBJS+= mips_r4k.o mips_malta.o mips_timer.o dma.o vga.o serial.o i8254.o i8259.o
|
||||
VL_OBJS+= ide.o gt64xxx.o pckbd.o ps2.o fdc.o mc146818rtc.o usb-uhci.o acpi.o
|
||||
VL_OBJS+= piix_pci.o parallel.o mixeng.o cirrus_vga.o $(SOUND_HW) $(AUDIODRV)
|
||||
DEFINES += -DHAS_AUDIO
|
||||
endif
|
||||
ifeq ($(TARGET_BASE_ARCH), sparc)
|
||||
ifeq ($(TARGET_ARCH), sparc64)
|
||||
|
||||
+590
File diff suppressed because it is too large
Load Diff
@@ -6370,6 +6370,7 @@ void register_machines(void)
|
||||
qemu_register_machine(&prep_machine);
|
||||
#elif defined(TARGET_MIPS)
|
||||
qemu_register_machine(&mips_machine);
|
||||
qemu_register_machine(&mips_malta_machine);
|
||||
#elif defined(TARGET_SPARC)
|
||||
#ifdef TARGET_SPARC64
|
||||
qemu_register_machine(&sun4u_machine);
|
||||
|
||||
@@ -302,6 +302,7 @@ typedef struct CharDriverState {
|
||||
QEMUBH *bh;
|
||||
} CharDriverState;
|
||||
|
||||
CharDriverState *qemu_chr_open(const char *filename);
|
||||
void qemu_chr_printf(CharDriverState *s, const char *fmt, ...);
|
||||
int qemu_chr_write(CharDriverState *s, const uint8_t *buf, int len);
|
||||
void qemu_chr_send_event(CharDriverState *s, int event);
|
||||
@@ -824,6 +825,8 @@ void i440fx_set_smm(PCIDevice *d, int val);
|
||||
int piix3_init(PCIBus *bus, int devfn);
|
||||
void i440fx_init_memory_mappings(PCIDevice *d);
|
||||
|
||||
int piix4_init(PCIBus *bus, int devfn);
|
||||
|
||||
/* openpic.c */
|
||||
typedef struct openpic_t openpic_t;
|
||||
void openpic_set_irq(void *opaque, int n_IRQ, int level);
|
||||
@@ -1059,6 +1062,9 @@ extern QEMUMachine heathrow_machine;
|
||||
/* mips_r4k.c */
|
||||
extern QEMUMachine mips_machine;
|
||||
|
||||
/* mips_malta.c */
|
||||
extern QEMUMachine mips_malta_machine;
|
||||
|
||||
/* mips_timer.c */
|
||||
extern void cpu_mips_clock_init(CPUState *);
|
||||
extern void cpu_mips_irqctrl_init (void);
|
||||
|
||||
Reference in New Issue
Block a user