qemu-irix/hw
Aurelien Jarno 68d001928b mips/malta: fix CBUS UART interrupt pin
According to the MIPS Malta Developement Platform User's Manual, the
i8259 interrupt controller is supposed to be connected to the hardware
IRQ0, and the CBUS UART to the hardware interrupt 2.

In QEMU they are both connected to hardware interrupt 0, the CBUS UART
interrupt being wrong. This patch fixes that. It should be noted that
the irq array in QEMU includes the software interrupts, hence
env->irq[2] is the first hardware interrupt.

Cc: Ralf Baechle <ralf@linux-mips.org>
Reviewed-by: Eric Johnson <ericj@mips.com>
Signed-off-by: Aurelien Jarno <aurelien@aurel32.net>
2012-11-15 14:37:55 +01:00
..
9pfs
alpha
arm
cris
i386
ide
kvm cpus: Pass CPUState to run_on_cpu() 2012-10-31 04:12:23 +01:00
lm32
m68k
microblaze
mips
openrisc
ppc PPC: e500: Map PIO space into core memory region 2012-10-29 11:45:56 +01:00
s390x s390: sclp ascii console support 2012-10-29 19:41:56 +01:00
sh4
sparc
sparc64
unicore32
usb Merge remote-tracking branch 'bonzini/scsi-next' into staging 2012-11-14 08:50:45 -06:00
xtensa
9p.h
Makefile.objs
a9mpcore.c
a15mpcore.c
ac97.c ac97: convert PIO to new memory api read/write 2012-10-29 11:45:54 +01:00
acpi.c
acpi.h
acpi_piix4.c
adb.c ppc: add missing static 2012-11-01 19:49:45 +01:00
adb.h ppc: add missing static 2012-11-01 19:49:45 +01:00
adlib.c
ads7846.c
alpha_dp264.c
alpha_pci.c
alpha_sys.h
alpha_typhoon.c
an5206.c
apb_pci.c
apb_pci.h
apic-msidef.h
apic.c cpus: Pass CPUState to qemu_cpu_is_self() 2012-10-31 01:02:39 +01:00
apic.h
apic_common.c apic: Store X86CPU in APICCommonState 2012-10-30 22:38:37 +01:00
apic_internal.h apic: Store X86CPU in APICCommonState 2012-10-30 22:38:37 +01:00
apm.c
apm.h
applesmc.c
arm-misc.h arm_boot: Change initrd load address to "halfway through RAM" 2012-11-01 17:04:11 +01:00
arm11mpcore.c hw/arm11mpcore: Use LOG_GUEST_ERROR rather than hw_error() 2012-10-30 07:45:09 +00:00
arm_boot.c arm_boot: Change initrd load address to "halfway through RAM" 2012-11-01 17:04:11 +01:00
arm_gic.c hw/arm_gic: Use LOG_GUEST_ERROR 2012-10-30 07:45:10 +00:00
arm_gic_common.c
arm_gic_internal.h
arm_l2x0.c hw/arm_l2x0: Use LOG_GUEST_ERROR 2012-10-30 07:45:10 +00:00
arm_mptimer.c
arm_pic.c
arm_sysctl.c hw/arm_sysctl: Use LOG_GUEST_ERROR 2012-10-30 07:45:10 +00:00
arm_timer.c hw/arm_timer: Use LOG_GUEST_ERROR and LOG_UNIMP 2012-10-30 07:45:10 +00:00
armv7m.c
armv7m_nvic.c hw/armv7m_nvic: Use LOG_GUEST_ERROR and LOG_UNIMP 2012-10-30 07:45:10 +00:00
audiodev.h
axis_dev88.c
baum.c
baum.h
bitbang_i2c.c
bitbang_i2c.h
blizzard.c console: untangle gfx & txt updates 2012-11-01 13:10:06 +01:00
blizzard_template.h
block-common.c
block-common.h
boards.h
bonito.c
bt-hci-csr.c
bt-hci.c
bt-hid.c
bt-l2cap.c
bt-sdp.c
bt.c
bt.h
cadence_gem.c
cadence_ttc.c
cadence_uart.c cadence_uart: More debug information 2012-11-01 19:42:35 +01:00
cbus.c
ccid-card-emulated.c
ccid-card-passthru.c
ccid.h
cdrom.c
cirrus_vga.c cirrus_vga: allow configurable vram size 2012-10-30 23:39:50 -02:00
cirrus_vga_rop.h
cirrus_vga_rop2.h
cirrus_vga_template.h
collie.c
cris-boot.c
cris-boot.h
cris_pic_cpu.c
cs4231.c
cs4231a.c
cuda.c
debugcon.c
dec_pci.c
dec_pci.h
device-hotplug.c
devices.h
dma.c
dp8393x.c
ds1225y.c
ds1338.c
dummy_m68k.c
e1000.c e1000: pre-initialize RAH/RAL registers 2012-11-01 12:02:17 +01:00
e1000_hw.h
ecc.c
eccmemctl.c
eepro100.c
eeprom93xx.c
eeprom93xx.h
elf_ops.h
empty_slot.c
empty_slot.h
es1370.c es1370: convert PIO to new memory api read/write 2012-10-29 11:45:55 +01:00
escc.c
escc.h
esp-pci.c
esp.c
esp.h
etraxfs.h
etraxfs_dma.c
etraxfs_dma.h
etraxfs_eth.c
etraxfs_pic.c
etraxfs_ser.c
etraxfs_timer.c
exynos4_boards.c hw/exynos4_boards: Don't prematurely explode QEMUMachineInitArgs 2012-10-30 07:45:08 +00:00
exynos4210.c
exynos4210.h
exynos4210_combiner.c
exynos4210_fimd.c console: untangle gfx & txt updates 2012-11-01 13:10:06 +01:00
exynos4210_gic.c
exynos4210_i2c.c
exynos4210_mct.c
exynos4210_pmu.c
exynos4210_pwm.c
exynos4210_rtc.c
exynos4210_uart.c
fdc.c
fdc.h
fifo.c
fifo.h
firmware_abi.h
flash.h
fmopl.c
fmopl.h
framebuffer.c
framebuffer.h
fw_cfg.c
fw_cfg.h
g364fb.c console: untangle gfx & txt updates 2012-11-01 13:10:06 +01:00
grackle_pci.c
grlib.h
grlib_apbuart.c
grlib_gptimer.c
grlib_irqmp.c
gt64xxx.c
gumstix.c
gus.c
gusemu.h
gusemu_hal.c
gusemu_mixer.c
gustate.h
hd-geometry.c
hda-audio.c
heathrow_pic.c
hid.c
hid.h
highbank.c
hpet.c
hpet_emul.h
hw.h aio: introduce AioContext, move bottom halves there 2012-10-30 09:30:53 +01:00
i2c.c
i2c.h
i8254.c i8254: convert PIO to new memory api read/write 2012-10-29 11:45:55 +01:00
i8254.h
i8254_common.c
i8254_internal.h
i8259.c
i8259_common.c
i8259_internal.h
i82374.c
i82378.c
ide.h
imx.h
imx_avic.c
imx_ccm.c
imx_serial.c
imx_timer.c
integratorcp.c
intel-hda-defs.h
intel-hda.c
intel-hda.h
ioapic.c
ioapic.h
ioapic_common.c
ioapic_internal.h
ioh3420.c
ioh3420.h
irq.c
irq.h
isa-bus.c
isa.h
isa_mmio.c
ivshmem.c
jazz_led.c console: untangle gfx & txt updates 2012-11-01 13:10:06 +01:00
kvmvapic.c kvmvapic: Fix TB invalidation after instruction patching 2012-11-10 12:25:17 +00:00
kzm.c
lan9118.c
lance.c
leon3.c
lm32.h
lm32_boards.c
lm32_hwsetup.h
lm32_juart.c
lm32_juart.h
lm32_pic.c
lm32_pic.h
lm32_sys.c
lm32_timer.c
lm32_uart.c
lm832x.c
lm4549.c
lm4549.h
loader.c
loader.h
lsi53c895a.c
m25p80.c
m48t59.c m48t59: remove unused m48t59_set_addr 2012-11-10 13:49:20 +00:00
mac_dbdma.c
mac_dbdma.h
mac_nvram.c
macio.c
mainstone.c hw/mainstone: Don't prematurely explode QEMUMachineInitArgs 2012-10-30 07:45:08 +00:00
marvell_88w8618_audio.c
max111x.c
max7310.c
mc146818rtc.c mc146818rtc: convert PIO to new memory api read/write 2012-10-29 11:45:55 +01:00
mc146818rtc.h
mc146818rtc_regs.h
mcf.h
mcf5206.c
mcf5208.c
mcf_fec.c
mcf_intc.c
mcf_uart.c
megasas.c megasas: Correct target/lun mapping 2012-11-12 16:42:56 +01:00
mfi.h megasas: Correct target/lun mapping 2012-11-12 16:42:56 +01:00
microblaze_boot.c
microblaze_boot.h
microblaze_pic_cpu.c
microblaze_pic_cpu.h
milkymist-ac97.c
milkymist-hpdmc.c
milkymist-hw.h
milkymist-memcard.c
milkymist-minimac2.c
milkymist-pfpu.c
milkymist-softusb.c
milkymist-sysctl.c
milkymist-tmu2.c
milkymist-uart.c
milkymist-vgafb.c console: untangle gfx & txt updates 2012-11-01 13:10:06 +01:00
milkymist-vgafb_template.h
milkymist.c
mips-bios.h
mips.h
mips_addr.c
mips_cpudevs.h
mips_fulong2e.c
mips_int.c
mips_jazz.c
mips_malta.c mips/malta: fix CBUS UART interrupt pin 2012-11-15 14:37:55 +01:00
mips_mipssim.c
mips_r4k.c
mips_timer.c
mipsnet.c
mpc8544_guts.c
msi.c msi: Add msi_get_message() 2012-10-29 17:59:06 +02:00
msi.h msi: Add msi_get_message() 2012-10-29 17:59:06 +02:00
msix.c
msix.h
msmouse.c
msmouse.h
mst_fpga.c
multiboot.c
multiboot.h
musicpal.c console: untangle gfx & txt updates 2012-11-01 13:10:06 +01:00
nand.c
ne2000-isa.c
ne2000.c
ne2000.h
nseries.c Merge remote-tracking branch 'kraxel/pixman.v3' into staging 2012-11-01 11:14:39 -05:00
null-machine.c
nvram.h m48t59: remove unused m48t59_set_addr 2012-11-10 13:49:20 +00:00
omap.h
omap1.c
omap2.c
omap_clk.c
omap_dma.c
omap_dss.c
omap_gpio.c
omap_gpmc.c
omap_gptimer.c
omap_i2c.c
omap_intc.c
omap_l4.c
omap_lcd_template.h
omap_lcdc.c console: untangle gfx & txt updates 2012-11-01 13:10:06 +01:00
omap_mmc.c
omap_sdrc.c
omap_spi.c
omap_sx1.c hw/omap_sx1: Don't prematurely explode QEMUMachineInitArgs 2012-10-30 07:45:08 +00:00
omap_synctimer.c
omap_tap.c
omap_uart.c
onenand.c
opencores_eth.c
openpic.c
openpic.h
openrisc_pic.c
openrisc_sim.c
openrisc_timer.c
palm.c console: untangle gfx & txt updates 2012-11-01 13:10:06 +01:00
parallel.c
pc.c target-i386: Initialize APIC at CPU level 2012-10-30 22:38:37 +01:00
pc.h
pc_piix.c pc: Drop redundant test for ROM memory region 2012-11-01 19:50:57 +01:00
pc_sysfw.c
pci-hotplug.c
pci-stub.c
pci.c pci: Add class 0xc05 as 'SMBus' 2012-10-29 17:59:06 +02:00
pci.h pci: introduce pci_swizzle_map_irq_fn() for standardized interrupt pin swizzle 2012-10-29 17:59:06 +02:00
pci_bridge.c pci: avoid destroying bridge address space windows in a transaction 2012-10-29 18:39:49 +02:00
pci_bridge.h
pci_bridge_dev.c
pci_host.c
pci_host.h
pci_ids.h pci: Add class 0xc05 as 'SMBus' 2012-10-29 17:59:06 +02:00
pci_internals.h pci: avoid destroying bridge address space windows in a transaction 2012-10-29 18:39:49 +02:00
pci_regs.h
pcie.c
pcie.h
pcie_aer.c
pcie_aer.h
pcie_host.c pcie: Convert PCIExpressHost to use the QOM. 2012-10-29 17:59:45 +02:00
pcie_host.h pcie: Convert PCIExpressHost to use the QOM. 2012-10-29 17:59:45 +02:00
pcie_port.c
pcie_port.h
pcie_regs.h
pckbd.c pckbd: convert PIO to new memory api read/write 2012-10-29 11:45:55 +01:00
pcmcia.h
pcnet-pci.c
pcnet.c
pcnet.h
pcspk.c
pcspk.h
petalogix_ml605_mmu.c
petalogix_s3adsp1800_mmu.c
pflash_cfi01.c pflash_cfi01: Fix debug mode printfery 2012-10-30 07:45:11 +00:00
pflash_cfi02.c pflash_cfi0x: QOMified 2012-10-30 07:45:11 +00:00
piix4.c
piix_pci.c
pixel_ops.h
pl011.c
pl022.c
pl031.c
pl041.c
pl041.h
pl041.hx
pl050.c hw/pl050: Use LOG_GUEST_ERROR 2012-10-30 07:45:08 +00:00
pl061.c hw/pl061: Use LOG_GUEST_ERROR 2012-10-30 07:45:09 +00:00
pl080.c hw/pl080: Use LOG_GUEST_ERROR and LOG_UNIMP 2012-10-30 07:45:09 +00:00
pl110.c Merge remote-tracking branch 'kraxel/pixman.v3' into staging 2012-11-01 11:14:39 -05:00
pl110_template.h
pl181.c
pl190.c hw/pl190: Use LOG_UNIMP rather than hw_error() 2012-10-30 07:45:09 +00:00
pm_smbus.c
pm_smbus.h
ppc-viosrp.h
ppc.c Merge branch 'trivial-patches' of git://github.com/stefanha/qemu 2012-11-03 12:55:05 +00:00
ppc.h
ppc4xx.h
ppc4xx_devs.c
ppc4xx_pci.c
ppc405.h
ppc405_boards.c
ppc405_uc.c
ppc440_bamboo.c
ppc_booke.c
ppc_mac.h
ppc_newworld.c
ppc_oldworld.c
ppc_prep.c
ppce500_pci.c PPC: e500: Map PIO space into core memory region 2012-10-29 11:45:56 +01:00
ppce500_spin.c cpus: Pass CPUState to run_on_cpu() 2012-10-31 04:12:23 +01:00
prep_pci.c
primecell.h
ps2.c
ps2.h
ptimer.c
ptimer.h
puv3.c
puv3.h
puv3_dma.c
puv3_gpio.c
puv3_intc.c
puv3_ost.c
puv3_pm.c
pxa.h
pxa2xx.c
pxa2xx_dma.c
pxa2xx_gpio.c
pxa2xx_keypad.c
pxa2xx_lcd.c console: untangle gfx & txt updates 2012-11-01 13:10:06 +01:00
pxa2xx_mmci.c
pxa2xx_pcmcia.c
pxa2xx_pic.c
pxa2xx_template.h
pxa2xx_timer.c
qdev-addr.c
qdev-addr.h
qdev-dma.h
qdev-monitor.c
qdev-properties.c
qdev.c
qdev.h
qxl-logger.c
qxl-render.c qxl: stop direct access to DisplaySurface fields. 2012-11-01 14:00:04 +01:00
qxl.c spice: fix initialization order 2012-11-05 11:54:49 +01:00
qxl.h
r2d.c
rc4030.c
realview.c hw/realview.c: Don't prematurely explode QEMUMachineInitArgs 2012-10-30 07:45:07 +00:00
realview_gic.c
rtl8139.c rtl8139: convert PIO to new memory api read/write 2012-10-29 11:45:55 +01:00
s390-virtio-bus.c
s390-virtio-bus.h
s390-virtio.c s390: sclp event support 2012-10-29 19:41:56 +01:00
sb16.c
sbi.c
scsi-bus.c
scsi-defs.h
scsi-disk.c scsi-disk: flush cache after disabling it 2012-11-12 15:00:27 +01:00
scsi-generic.c
scsi.h
sd.c hw/sd.c: add SD card save/load support 2012-10-30 07:45:12 +00:00
sd.h hw/sd.c: Fix erase for high capacity cards 2012-10-30 07:45:12 +00:00
serial-isa.c
serial-pci.c
serial.c serial: convert PIO to new memory api read/write 2012-10-29 11:45:55 +01:00
serial.h
sga.c
sh.h
sh7750.c
sh7750_regnames.c
sh7750_regnames.h
sh7750_regs.h
sh_intc.c
sh_intc.h
sh_pci.c
sh_serial.c
sh_timer.c
sharpsl.h
shix.c
shpc.c
shpc.h
slavio_intctl.c
slavio_misc.c
slavio_timer.c
slotid_cap.c
slotid_cap.h
sm501.c console: untangle gfx & txt updates 2012-11-01 13:10:06 +01:00
sm501_template.h
smbios.c
smbios.h
smbus.c
smbus.h
smbus_eeprom.c
smc91c111.c
soc_dma.c
soc_dma.h
spapr.c spapr: Pass PowerPCCPU to spapr_hypercall() 2012-10-31 01:02:45 +01:00
spapr.h spapr: Pass PowerPCCPU to hypercalls 2012-10-31 01:02:46 +01:00
spapr_events.c pseries: Implement qemu initiated shutdowns using EPOW events 2012-10-29 11:45:54 +01:00
spapr_hcall.c cpus: Pass CPUState to [qemu_]cpu_has_work() 2012-10-31 04:11:37 +01:00
spapr_iommu.c spapr: Pass PowerPCCPU to hypercalls 2012-10-31 01:02:46 +01:00
spapr_llan.c spapr: Pass PowerPCCPU to hypercalls 2012-10-31 01:02:46 +01:00
spapr_pci.c Revert "PPC: pseries: Remove hack for PIO window" 2012-11-01 13:02:21 +01:00
spapr_pci.h Revert "PPC: pseries: Remove hack for PIO window" 2012-11-01 13:02:21 +01:00
spapr_rtas.c cpus: Pass CPUState to qemu_cpu_kick() 2012-10-31 01:02:45 +01:00
spapr_vio.c spapr: Pass PowerPCCPU to hypercalls 2012-10-31 01:02:46 +01:00
spapr_vio.h
spapr_vscsi.c
spapr_vty.c spapr: Pass PowerPCCPU to hypercalls 2012-10-31 01:02:46 +01:00
sparc32_dma.c
sparc32_dma.h
spitz.c hw/spitz: Don't prematurely explode QEMUMachineInitArgs 2012-10-30 07:45:07 +00:00
srp.h
ssd0303.c console: untangle gfx & txt updates 2012-11-01 13:10:06 +01:00
ssd0323.c console: untangle gfx & txt updates 2012-11-01 13:10:06 +01:00
ssi-sd.c
ssi.c
ssi.h
stellaris.c
stellaris_enet.c
stellaris_input.c
stream.c
stream.h
strongarm.c
strongarm.h
sun4c_intctl.c sun4c: remove unused functions 2012-11-10 13:49:20 +00:00
sun4m.c cpus: Pass CPUState to qemu_cpu_kick() 2012-10-31 01:02:45 +01:00
sun4m.h sun4c: remove unused functions 2012-11-10 13:49:20 +00:00
sun4m_iommu.c
sun4u.c cpus: Pass CPUState to qemu_cpu_kick() 2012-10-31 01:02:45 +01:00
sysbus.c
sysbus.h
tc6393xb.c console: untangle gfx & txt updates 2012-11-01 13:10:06 +01:00
tc6393xb_template.h
tc58128.c
tcx.c console: untangle gfx & txt updates 2012-11-01 13:10:06 +01:00
tmp105.c
tosa.c
tsc210x.c
tsc2005.c
tusb6010.c
twl92230.c
unin_pci.c
usb.h usb: split packet result into actual_length + status 2012-11-08 18:41:46 +01:00
versatile_i2c.c hw/versatile_i2c: Use LOG_GUEST_ERROR 2012-10-30 07:45:11 +00:00
versatile_pci.c
versatilepb.c hw/versatilepb: Don't prematurely explode QEMUMachineInitArgs 2012-10-30 07:45:07 +00:00
vexpress.c hw/vexpress.c: Don't prematurely explode QEMUMachineInitArgs 2012-10-30 07:45:07 +00:00
vfio_pci.c vfio-pci: Use common msi_get_message 2012-11-13 12:27:40 -07:00
vga-isa-mm.c
vga-isa.c
vga-pci.c
vga.c vmware_vga: Allow simple drivers to work without using the fifo 2012-11-03 13:26:54 +00:00
vga.h
vga_int.h vmware_vga: Allow simple drivers to work without using the fifo 2012-11-03 13:26:54 +00:00
vga_template.h
vhost.c
vhost.h
vhost_net.c virtio-net: enable mrg buf header in tap on linux 2012-10-29 18:25:23 +02:00
vhost_net.h
virtex_ml507.c
virtio-balloon.c
virtio-balloon.h
virtio-blk.c
virtio-blk.h
virtio-console.c
virtio-net.c virtio-net: enable mrg buf header in tap on linux 2012-10-29 18:25:23 +02:00
virtio-net.h
virtio-pci.c virtio-pci: convert PIO to new memory api read/write 2012-10-29 11:45:54 +01:00
virtio-pci.h
virtio-scsi.c virtio-scsi: use dma_context_memory 2012-11-12 16:44:57 +01:00
virtio-scsi.h
virtio-serial-bus.c
virtio-serial.h
virtio.c
virtio.h
vmmouse.c
vmport.c vmport: convert PIO to new memory api read/write 2012-10-29 11:45:55 +01:00
vmware_vga.c vmware_vga: Add back some info in local state partially reverting aa32b38c 2012-11-10 12:26:48 +00:00
vt82c686.c
vt82c686.h
watchdog.c
watchdog.h
wdt_i6300esb.c
wdt_ib700.c
wm8750.c
xen-host-pci-device.c
xen-host-pci-device.h
xen.h
xen_apic.c
xen_backend.c
xen_backend.h
xen_blkif.h
xen_common.h
xen_console.c
xen_devconfig.c
xen_disk.c
xen_domainbuild.c
xen_domainbuild.h
xen_machine_pv.c
xen_nic.c
xen_platform.c xen_platform: convert PIO to new memory api read/write 2012-10-29 11:45:56 +01:00
xen_pt.c
xen_pt.h
xen_pt_config_init.c
xen_pt_msi.c
xenfb.c xenfb: fix build breakage caused by console cleanup series 2012-11-02 11:12:30 -05:00
xgmac.c
xics.c Merge remote-tracking branch 'afaerber/qom-cpu' into staging 2012-11-01 11:12:32 -05:00
xics.h
xilinx.h
xilinx_axidma.c
xilinx_axienet.c
xilinx_ethlite.c
xilinx_intc.c
xilinx_spi.c
xilinx_spips.c
xilinx_timer.c
xilinx_uartlite.c
xilinx_zynq.c xilinx_zynq: add USB controllers 2012-11-01 15:17:57 +01:00
xio3130_downstream.c
xio3130_downstream.h
xio3130_upstream.c
xio3130_upstream.h
xtensa_bootparam.h
xtensa_lx60.c
xtensa_pic.c cpus: Pass CPUState to [qemu_]cpu_has_work() 2012-10-31 04:11:37 +01:00
xtensa_sim.c
z2.c
zaurus.c
zynq_slcr.c