diff options
author | bellard <bellard@c046a42c-6fe2-441c-8c8c-71466251a162> | 2005-07-02 18:11:44 +0000 |
---|---|---|
committer | bellard <bellard@c046a42c-6fe2-441c-8c8c-71466251a162> | 2005-07-02 18:11:44 +0000 |
commit | 3de388f676e936097f99fb58e8a58c5461eb696e (patch) | |
tree | ab63f67817bf6bb17c1245bbc2e08cae7fe8d2de /hw/ppc_chrp.c | |
parent | 73133662c6db9e58d02716d9517b3947c853de68 (diff) |
more generic i8259 support
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@1487 c046a42c-6fe2-441c-8c8c-71466251a162
Diffstat (limited to 'hw/ppc_chrp.c')
-rw-r--r-- | hw/ppc_chrp.c | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/hw/ppc_chrp.c b/hw/ppc_chrp.c index af57995071..cd0283c5b6 100644 --- a/hw/ppc_chrp.c +++ b/hw/ppc_chrp.c @@ -213,6 +213,11 @@ static int vga_osi_call(CPUState *env) return 1; /* osi_call handled */ } +/* XXX: suppress that */ +static void pic_irq_request(void *opaque, int level) +{ +} + /* PowerPC CHRP hardware initialisation */ static void ppc_chrp_init(int ram_size, int vga_ram_size, int boot_device, DisplayState *ds, const char **fd_filename, @@ -303,7 +308,7 @@ static void ppc_chrp_init(int ram_size, int vga_ram_size, int boot_device, pci_set_pic(pci_bus, set_irq, pic); /* XXX: suppress that */ - pic_init(); + pic_init(pic_irq_request, NULL); /* XXX: use Mac Serial port */ serial_init(0x3f8, 4, serial_hds[0]); @@ -345,7 +350,7 @@ static void ppc_chrp_init(int ram_size, int vga_ram_size, int boot_device, pci_set_pic(pci_bus, set_irq, pic); /* XXX: suppress that */ - pic_init(); + pic_init(pic_irq_request, NULL); /* XXX: use Mac Serial port */ serial_init(0x3f8, 4, serial_hds[0]); |