mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-08 10:13:56 -06:00
Reorganise Sun4m to allow other machine types
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@2570 c046a42c-6fe2-441c-8c8c-71466251a162
This commit is contained in:
parent
8a08f9a809
commit
36cd921035
3 changed files with 135 additions and 64 deletions
4
vl.h
4
vl.h
|
@ -1143,7 +1143,7 @@ extern CPUReadMemoryFunc *PPC_io_read[];
|
|||
void PPC_debug_write (void *opaque, uint32_t addr, uint32_t val);
|
||||
|
||||
/* sun4m.c */
|
||||
extern QEMUMachine sun4m_machine;
|
||||
extern QEMUMachine ss5_machine;
|
||||
void pic_set_irq_cpu(int irq, int level, unsigned int cpu);
|
||||
|
||||
/* iommu.c */
|
||||
|
@ -1169,7 +1169,7 @@ void tcx_init(DisplayState *ds, uint32_t addr, uint8_t *vram_base,
|
|||
unsigned long vram_offset, int vram_size, int width, int height);
|
||||
|
||||
/* slavio_intctl.c */
|
||||
void *slavio_intctl_init();
|
||||
void *slavio_intctl_init(uint32_t addr, uint32_t addrg);
|
||||
void slavio_intctl_set_cpu(void *opaque, unsigned int cpu, CPUState *env);
|
||||
void slavio_pic_info(void *opaque);
|
||||
void slavio_irq_info(void *opaque);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue