qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Qemu-devel] [6348] ppc_oldworld: remove i8259


From: Aurelien Jarno
Subject: [Qemu-devel] [6348] ppc_oldworld: remove i8259
Date: Fri, 16 Jan 2009 19:45:19 +0000

Revision: 6348
          http://svn.sv.gnu.org/viewvc/?view=rev&root=qemu&revision=6348
Author:   aurel32
Date:     2009-01-16 19:45:19 +0000 (Fri, 16 Jan 2009)

Log Message:
-----------
ppc_oldworld: remove i8259

Signed-off-by: Aurelien Jarno <address@hidden>

Modified Paths:
--------------
    trunk/hw/ppc_oldworld.c

Modified: trunk/hw/ppc_oldworld.c
===================================================================
--- trunk/hw/ppc_oldworld.c     2009-01-16 19:43:46 UTC (rev 6347)
+++ trunk/hw/ppc_oldworld.c     2009-01-16 19:45:19 UTC (rev 6348)
@@ -125,7 +125,6 @@
     PCIBus *pci_bus;
     MacIONVRAMState *nvr;
     int vga_bios_size, bios_size;
-    qemu_irq *dummy_irq;
     int pic_mem_index, nvram_mem_index, dbdma_mem_index, cuda_mem_index;
     int escc_mem_index, ide_mem_index[2];
     int ppc_boot_device;
@@ -301,9 +300,6 @@
                  vga_ram_offset, vga_ram_size,
                  vga_bios_offset, vga_bios_size);
 
-    /* XXX: suppress that */
-    dummy_irq = i8259_init(NULL);
-
     escc_mem_index = escc_init(0x80013000, pic[0x0f], pic[0x10], serial_hds[0],
                                serial_hds[1], ESCC_CLOCK, 4);
 
@@ -364,7 +360,7 @@
     if (graphic_depth != 15 && graphic_depth != 32 && graphic_depth != 8)
         graphic_depth = 15;
 
-    m48t59 = m48t59_init(dummy_irq[8], 0xFFF04000, 0x0074, NVRAM_SIZE, 59);
+    m48t59 = m48t59_init(0, 0xFFF04000, 0x0074, NVRAM_SIZE, 59);
     nvram.opaque = m48t59;
     nvram.read_fn = &m48t59_read;
     nvram.write_fn = &m48t59_write;






reply via email to

[Prev in Thread] Current Thread [Next in Thread]