qemu-irix/hw
aliguori 610626af30 From 67e94ae77f8de4d5d822917f1723cefa7ebfb64d Mon Sep 17 00:00:00 2001
From: Xiantao Zhang <xiantao.zhang@intel.com>
Date: Tue, 3 Mar 2009 13:33:13 +0800
Subject: [PATCH] Split ioapic logic from the current apic.

Add a new ioapic.c to hold ioapic's logic, and also
make it work for ia64.

Signed-off-by: Xiantao Zhang <xiantao.zhang@intel.com>
---
 Makefile.target |    2 +-
 hw/apic.c       |  237 +++----------------------------------------------
 hw/ioapic.c     |  263 +++++++++++++++++++++++++++++++++++++++++++++++++++++++
 hw/pc.h         |    5 +-
 4 files changed, 281 insertions(+), 226 deletions(-)
 create mode 100644 hw/ioapic.c


git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@6827 c046a42c-6fe2-441c-8c8c-71466251a162
2009-03-12 20:25:12 +00:00
..
ac97.c Add and use #defines for PCI device classes 2009-02-01 19:26:20 +00:00
acpi.c Remove some warnings and fix windows build. 2009-02-27 22:16:47 +00:00
adb.c
adlib.c hw: remove error handling from qemu_malloc() callers (Avi Kivity) 2009-02-05 22:06:05 +00:00
ads7846.c
alpha_palcode.c
an5206.c monitor: Rework API (Jan Kiszka) 2009-03-05 23:01:23 +00:00
apb_pci.c Add and use #defines for PCI device classes 2009-02-01 19:26:20 +00:00
apic.c From 67e94ae77f8de4d5d822917f1723cefa7ebfb64d Mon Sep 17 00:00:00 2001 2009-03-12 20:25:12 +00:00
arm-misc.h
arm_boot.c clean build: Fix arm build warnings 2009-03-07 21:48:00 +00:00
arm_gic.c arm: Fix gic_irq_state.level bitfield type 2009-03-07 21:47:53 +00:00
arm_pic.c monitor: Rework API (Jan Kiszka) 2009-03-05 23:01:23 +00:00
arm_sysctl.c hw: remove error handling from qemu_malloc() callers (Avi Kivity) 2009-02-05 22:06:05 +00:00
arm_timer.c
armv7m.c
armv7m_nvic.c
audiodev.h
axis_dev88.c ETRAX: Remove display-state argument from board init. 2009-01-26 21:47:27 +00:00
baum.c Revert part of 6531, fix build failure 2009-02-06 00:49:42 +00:00
baum.h
blizzard.c Fix displaystate (r6344) regression in blizzard 2009-02-09 17:00:41 +00:00
blizzard_template.h
boards.h kvm/powerpc: Add MPC8544DS board support 2009-03-02 16:42:42 +00:00
bt-hci-csr.c
bt-hci.c Sparse fixes: NULL use, header order, ANSI prototypes, static 2009-03-07 15:32:56 +00:00
bt-hid.c Sparse fixes: NULL use, header order, ANSI prototypes, static 2009-03-07 15:32:56 +00:00
bt-l2cap.c Sparse fixes: NULL use, header order, ANSI prototypes, static 2009-03-07 15:32:56 +00:00
bt-sdp.c Sparse fixes: NULL use, header order, ANSI prototypes, static 2009-03-07 15:32:56 +00:00
bt.c
bt.h Clean build: Add bt-host.h 2009-03-10 21:43:35 +00:00
cbus.c
cdrom.c
cirrus_vga.c Sparse fixes: dubious mixing of bitwise and logical operations 2009-03-07 16:03:05 +00:00
cirrus_vga_rop.h
cirrus_vga_rop2.h
cs4231.c hw: remove error handling from qemu_malloc() callers (Avi Kivity) 2009-02-05 22:06:05 +00:00
cs4231a.c hw: remove error handling from qemu_malloc() callers (Avi Kivity) 2009-02-05 22:06:05 +00:00
cuda.c
device-hotplug.c fix pci net hot-remove (Marcelo Tosatti) 2009-02-26 16:40:31 +00:00
devices.h
dma.c Use a dedicated function to request exit from execution loop 2009-03-07 21:28:24 +00:00
ds1225y.c hw: remove error handling from qemu_malloc() callers (Avi Kivity) 2009-02-05 22:06:05 +00:00
dummy_m68k.c
e1000.c qemu: LSI SCSI and e1000 unregister callbacks (Marcelo Tosatti) 2009-02-11 15:21:22 +00:00
e1000_hw.h
ecc.c
eccmemctl.c hw: remove error handling from qemu_malloc() callers (Avi Kivity) 2009-02-05 22:06:05 +00:00
eepro100.c qemu: return PCIDevice on net device init and record devfn (Marcelo Tosatti) 2009-02-11 15:19:52 +00:00
eeprom93xx.c
eeprom93xx.h
es1370.c Add and use #defines for PCI device classes 2009-02-01 19:26:20 +00:00
escc.c hw: remove error handling from qemu_malloc() callers (Avi Kivity) 2009-02-05 22:06:05 +00:00
escc.h
esp.c hw: remove error handling from qemu_malloc() callers (Avi Kivity) 2009-02-05 22:06:05 +00:00
etraxfs.c
etraxfs.h
etraxfs_dma.c hw: remove error handling from qemu_malloc() callers (Avi Kivity) 2009-02-05 22:06:05 +00:00
etraxfs_dma.h
etraxfs_eth.c CRIS: Fix remaining build warnings. 2009-02-22 11:59:59 +00:00
etraxfs_pic.c monitor: Rework API (Jan Kiszka) 2009-03-05 23:01:23 +00:00
etraxfs_ser.c CRIS: Fix remaining build warnings. 2009-02-22 11:59:59 +00:00
etraxfs_timer.c CRIS: Fix remaining build warnings. 2009-02-22 11:59:59 +00:00
fdc.c hw: remove error handling from qemu_malloc() callers (Avi Kivity) 2009-02-05 22:06:05 +00:00
fdc.h
firmware_abi.h Use firmware configuration instead of NVRAM (initial patch by Aurelien Jarno) 2009-03-08 09:51:29 +00:00
flash.h
fmopl.c Revert changes to fmopl.c 2009-02-06 00:15:19 +00:00
fmopl.h
fw_cfg.c hw: remove error handling from qemu_malloc() callers (Avi Kivity) 2009-02-05 22:06:05 +00:00
fw_cfg.h Add new entries to firmware configuration device 2009-03-08 09:34:26 +00:00
g364fb.c hw: remove error handling from qemu_malloc() callers (Avi Kivity) 2009-02-05 22:06:05 +00:00
grackle_pci.c Add and use #defines for PCI device classes 2009-02-01 19:26:20 +00:00
gt64xxx.c Add and use #defines for PCI device classes 2009-02-01 19:26:20 +00:00
gumstix.c
gus.c hw: remove error handling from qemu_malloc() callers (Avi Kivity) 2009-02-05 22:06:05 +00:00
gusemu.h
gusemu_hal.c
gusemu_mixer.c
gustate.h
heathrow_pic.c
hpet.c
hpet_emul.h
hw.h
i2c.c
i2c.h
i8254.c Check if the i8254 timer is active before deactivating it (Alexander Graf) 2009-01-26 20:32:18 +00:00
i8259.c monitor: Rework API (Jan Kiszka) 2009-03-05 23:01:23 +00:00
ide.c Sparse fixes: truncation by cast 2009-03-07 15:46:23 +00:00
integratorcp.c hw: remove error handling from qemu_malloc() callers (Avi Kivity) 2009-02-05 22:06:05 +00:00
ioapic.c From 67e94ae77f8de4d5d822917f1723cefa7ebfb64d Mon Sep 17 00:00:00 2001 2009-03-12 20:25:12 +00:00
iommu.c hw: remove error handling from qemu_malloc() callers (Avi Kivity) 2009-02-05 22:06:05 +00:00
irq.c qemu: add qemu_free_irqs (Marcelo Tosatti) 2009-02-11 15:21:04 +00:00
irq.h qemu: add qemu_free_irqs (Marcelo Tosatti) 2009-02-11 15:21:04 +00:00
isa.h
isa_mmio.c
jazz_led.c hw: remove error handling from qemu_malloc() callers (Avi Kivity) 2009-02-05 22:06:05 +00:00
lm832x.c
lsi53c895a.c lsi: add ISTAT1 register read (Ryan Harper) 2009-03-05 19:01:21 +00:00
m48t59.c hw: remove error handling from qemu_malloc() callers (Avi Kivity) 2009-02-05 22:06:05 +00:00
mac_dbdma.c Use a dedicated function to request exit from execution loop 2009-03-07 21:28:24 +00:00
mac_dbdma.h DB-DMA IDE asynchronous I/O 2009-03-04 07:20:40 +00:00
mac_nvram.c Add it_shift 2009-02-07 10:48:26 +00:00
macio.c Add and use #defines for PCI device classes 2009-02-01 19:26:20 +00:00
mainstone.c
mainstone.h
max111x.c
max7310.c
mc146818rtc.c hw: remove error handling from qemu_malloc() callers (Avi Kivity) 2009-02-05 22:06:05 +00:00
mcf.h
mcf5206.c
mcf5208.c
mcf_fec.c
mcf_intc.c
mcf_uart.c
mips.h
mips_int.c
mips_jazz.c Support epoch of 1980 in RTC emulation for MIPS Magnum 2009-01-24 18:06:21 +00:00
mips_malta.c Additional VGA options for MIPS Malta 2009-02-08 14:51:19 +00:00
mips_mipssim.c
mips_r4k.c Support epoch of 1980 in RTC emulation for MIPS Magnum 2009-01-24 18:06:21 +00:00
mips_timer.c
mipsnet.c hw: remove error handling from qemu_malloc() callers (Avi Kivity) 2009-02-05 22:06:05 +00:00
mpcore.c hw: remove error handling from qemu_malloc() callers (Avi Kivity) 2009-02-05 22:06:05 +00:00
msmouse.c QEMU Microsoft serial mouse emulation 2009-02-08 15:53:20 +00:00
msmouse.h QEMU Microsoft serial mouse emulation 2009-02-08 15:53:20 +00:00
mst_fpga.c hw: remove error handling from qemu_malloc() callers (Avi Kivity) 2009-02-05 22:06:05 +00:00
musicpal.c musicpal: Reorganize IO memory handling (Jan Kiszka) 2009-03-10 19:25:13 +00:00
nand.c
ne2000.c qemu: return PCIDevice on net device init and record devfn (Marcelo Tosatti) 2009-02-11 15:19:52 +00:00
nseries.c Fix displaystate (r6344) regression in blizzard 2009-02-09 17:00:41 +00:00
nvram.h
omap.h
omap1.c
omap2.c
omap_clk.c clean build: Fix arm build warnings 2009-03-07 21:48:00 +00:00
omap_dma.c
omap_dss.c
omap_i2c.c
omap_lcd_template.h
omap_lcdc.c
omap_mmc.c
omap_sx1.c Fix bug in omap_sx1.c introduced by r6344 2009-02-07 15:20:14 +00:00
onenand.c
openpic.c hw/openpic: define list in mpic_init() const 2009-03-02 16:42:14 +00:00
openpic.h kvm/powerpc: Enable MPIC for E500 platform. 2009-03-02 16:42:04 +00:00
palm.c
parallel.c hw: remove error handling from qemu_malloc() callers (Avi Kivity) 2009-02-05 22:06:05 +00:00
pc.c Sparse fixes: move ACPI table definitions to pc.h 2009-03-07 15:50:18 +00:00
pc.h From 67e94ae77f8de4d5d822917f1723cefa7ebfb64d Mon Sep 17 00:00:00 2001 2009-03-12 20:25:12 +00:00
pci-hotplug.c monitor: Rework API (Jan Kiszka) 2009-03-05 23:01:23 +00:00
pci.c monitor: Rework API (Jan Kiszka) 2009-03-05 23:01:23 +00:00
pci.h monitor: Rework API (Jan Kiszka) 2009-03-05 23:01:23 +00:00
pci_host.h
pckbd.c
pcmcia.h monitor: Rework API (Jan Kiszka) 2009-03-05 23:01:23 +00:00
pcnet.c qemu: return PCIDevice on net device init and record devfn (Marcelo Tosatti) 2009-02-11 15:19:52 +00:00
pcspk.c
pflash_cfi01.c hw: remove error handling from qemu_malloc() callers (Avi Kivity) 2009-02-05 22:06:05 +00:00
pflash_cfi02.c hw: remove error handling from qemu_malloc() callers (Avi Kivity) 2009-02-05 22:06:05 +00:00
piix_pci.c Add and use #defines for PCI device classes 2009-02-01 19:26:20 +00:00
pixel_ops.h
pl011.c
pl022.c
pl031.c hw: remove error handling from qemu_malloc() callers (Avi Kivity) 2009-02-05 22:06:05 +00:00
pl050.c
pl061.c
pl080.c
pl110.c
pl110_template.h
pl181.c
pl190.c
ppc.c kvm/powerpc: Add irq support for E500 core 2009-03-02 16:42:32 +00:00
ppc.h kvm/powerpc: Add irq support for E500 core 2009-03-02 16:42:32 +00:00
ppc4xx.h
ppc4xx_devs.c hw: remove error handling from qemu_malloc() callers (Avi Kivity) 2009-02-05 22:06:05 +00:00
ppc4xx_pci.c hw: remove error handling from qemu_malloc() callers (Avi Kivity) 2009-02-05 22:06:05 +00:00
ppc405.h
ppc405_boards.c hw: remove error handling from qemu_malloc() callers (Avi Kivity) 2009-02-05 22:06:05 +00:00
ppc405_uc.c hw: remove error handling from qemu_malloc() callers (Avi Kivity) 2009-02-05 22:06:05 +00:00
ppc440.c
ppc440.h
ppc440_bamboo.c hw: remove error handling from qemu_malloc() callers (Avi Kivity) 2009-02-05 22:06:05 +00:00
ppc_mac.h Use firmware configuration instead of NVRAM (initial patch by Aurelien Jarno) 2009-03-08 09:51:29 +00:00
ppc_newworld.c Use firmware configuration instead of NVRAM (initial patch by Aurelien Jarno) 2009-03-08 09:51:29 +00:00
ppc_oldworld.c Use firmware configuration instead of NVRAM (initial patch by Aurelien Jarno) 2009-03-08 09:51:29 +00:00
ppc_prep.c Use qemu_ram_alloc 2009-02-11 18:04:12 +00:00
ppce500.h kvm/powerpc: Add MPC8544DS board support 2009-03-02 16:42:42 +00:00
ppce500_mpc8544ds.c Sparse fixes: NULL use, header order, ANSI prototypes, static 2009-03-07 15:32:56 +00:00
ppce500_pci.c kvm/powerpc: Add freescale pci controller's support 2009-03-02 16:42:23 +00:00
prep_pci.c Add and use #defines for PCI device classes 2009-02-01 19:26:20 +00:00
primecell.h
ps2.c Add reset irq state for ps2 reboot callback (Dor Laor) 2009-01-26 15:57:52 +00:00
ps2.h
ptimer.c
pxa.h
pxa2xx.c
pxa2xx_dma.c
pxa2xx_gpio.c
pxa2xx_keypad.c
pxa2xx_lcd.c
pxa2xx_mmci.c
pxa2xx_pcmcia.c
pxa2xx_pic.c
pxa2xx_template.h
pxa2xx_timer.c
r2d.c sh4: r2d fix no ide/net case 2009-03-03 06:23:17 +00:00
rc4030.c Add load/save capability to rc4030 chipset 2009-02-08 14:56:04 +00:00
realview.c
realview_gic.c
rtl8139.c qemu: return PCIDevice on net device init and record devfn (Marcelo Tosatti) 2009-02-11 15:19:52 +00:00
sb16.c hw: remove error handling from qemu_malloc() callers (Avi Kivity) 2009-02-05 22:06:05 +00:00
sbi.c hw: remove error handling from qemu_malloc() callers (Avi Kivity) 2009-02-05 22:06:05 +00:00
scsi-disk.c check SCSI read/write requests against max LBA (Rik van Riel) 2009-01-29 19:59:04 +00:00
scsi-disk.h
scsi-generic.c Add specialized block driver scsi generic API (Avi Kivity) 2009-03-12 19:57:08 +00:00
scsi.h
sd.c do not pretend to support low voltage operation 2009-03-07 22:10:40 +00:00
sd.h
serial.c hw: remove error handling from qemu_malloc() callers (Avi Kivity) 2009-02-05 22:06:05 +00:00
sh.h
sh7750.c SH7750/51: add register BCR3, BCR4, PCR, RTCOR, RTCNT, RTCSR, SDMR2, SDMR3 and fix BCR2 support 2009-02-07 15:18:14 +00:00
sh7750_regnames.c SH7750/51: add register BCR3, BCR4, PCR, RTCOR, RTCNT, RTCSR, SDMR2, SDMR3 and fix BCR2 support 2009-02-07 15:18:14 +00:00
sh7750_regnames.h
sh7750_regs.h SH7750/51: add register BCR3, BCR4, PCR, RTCOR, RTCNT, RTCSR, SDMR2, SDMR3 and fix BCR2 support 2009-02-07 15:18:14 +00:00
sh_intc.c hw: remove error handling from qemu_malloc() callers (Avi Kivity) 2009-02-05 22:06:05 +00:00
sh_intc.h
sh_pci.c Define PCI vendor and device IDs in pci.h (Stuart Brady) 2009-01-26 15:37:35 +00:00
sh_serial.c hw: remove error handling from qemu_malloc() callers (Avi Kivity) 2009-02-05 22:06:05 +00:00
sh_timer.c SH4: fix TMU init 2009-02-07 15:18:47 +00:00
sharpsl.h
shix.c monitor: Rework API (Jan Kiszka) 2009-03-05 23:01:23 +00:00
slavio_intctl.c monitor: Rework API (Jan Kiszka) 2009-03-05 23:01:23 +00:00
slavio_misc.c hw: remove error handling from qemu_malloc() callers (Avi Kivity) 2009-02-05 22:06:05 +00:00
slavio_timer.c hw: remove error handling from qemu_malloc() callers (Avi Kivity) 2009-02-05 22:06:05 +00:00
sm501.c
sm501_template.h
smbus.c
smbus.h
smbus_eeprom.c
smc91c111.c
soc_dma.c
soc_dma.h
sparc32_dma.c hw: remove error handling from qemu_malloc() callers (Avi Kivity) 2009-02-05 22:06:05 +00:00
sparc32_dma.h
spitz.c
ssd0303.c
ssd0323.c
ssi-sd.c
stellaris.c
stellaris_enet.c
stellaris_input.c
sun4c_intctl.c monitor: Rework API (Jan Kiszka) 2009-03-05 23:01:23 +00:00
sun4m.c Use firmware configuration instead of NVRAM (initial patch by Aurelien Jarno) 2009-03-08 09:51:29 +00:00
sun4m.h monitor: Rework API (Jan Kiszka) 2009-03-05 23:01:23 +00:00
sun4u.c Use firmware configuration instead of NVRAM (initial patch by Aurelien Jarno) 2009-03-08 09:51:29 +00:00
tc6393xb.c
tc6393xb_template.h
tc58128.c
tcx.c hw: remove error handling from qemu_malloc() callers (Avi Kivity) 2009-02-05 22:06:05 +00:00
tmp105.c
tosa.c Fix tosa_dac_recv warning 2009-02-07 15:19:40 +00:00
tsc210x.c
tsc2005.c
tusb6010.c
twl92230.c
unin_pci.c Activate uninorth AGP bridge 2009-03-07 20:53:18 +00:00
usb-bt.c Sparse fixes: NULL use, header order, ANSI prototypes, static 2009-03-07 15:32:56 +00:00
usb-hid.c hw: remove error handling from qemu_malloc() callers (Avi Kivity) 2009-02-05 22:06:05 +00:00
usb-hub.c hw: remove error handling from qemu_malloc() callers (Avi Kivity) 2009-02-05 22:06:05 +00:00
usb-msd.c monitor: Rework modal password input (Jan Kiszka) 2009-03-05 23:01:15 +00:00
usb-musb.c
usb-net.c hw: remove error handling from qemu_malloc() callers (Avi Kivity) 2009-02-05 22:06:05 +00:00
usb-ohci.c Add and use #defines for PCI device classes 2009-02-01 19:26:20 +00:00
usb-serial.c hw: remove error handling from qemu_malloc() callers (Avi Kivity) 2009-02-05 22:06:05 +00:00
usb-uhci.c hw: remove error handling from qemu_malloc() callers (Avi Kivity) 2009-02-05 22:06:05 +00:00
usb-wacom.c hw: remove error handling from qemu_malloc() callers (Avi Kivity) 2009-02-05 22:06:05 +00:00
usb.c
usb.h monitor: Rework API (Jan Kiszka) 2009-03-05 23:01:23 +00:00
versatile_pci.c Add and use #defines for PCI device classes 2009-02-01 19:26:20 +00:00
versatilepb.c hw: remove error handling from qemu_malloc() callers (Avi Kivity) 2009-02-05 22:06:05 +00:00
vga.c Sparse fixes: truncation by cast 2009-03-07 15:46:23 +00:00
vga_int.h
vga_template.h
virtio-balloon.c Add and use #defines for PCI device classes 2009-02-01 19:26:20 +00:00
virtio-balloon.h
virtio-blk.c qemu: record devfn on block driver instance (Marcelo Tosatti) 2009-02-11 15:20:29 +00:00
virtio-blk.h
virtio-console.c Add and use #defines for PCI device classes 2009-02-01 19:26:20 +00:00
virtio-console.h
virtio-net.c virtio: Remove malloc failure checks (Jan Kiszka) 2009-02-16 15:47:27 +00:00
virtio-net.h qemu: return PCIDevice on net device init and record devfn (Marcelo Tosatti) 2009-02-11 15:19:52 +00:00
virtio.c hw: remove error handling from qemu_malloc() callers (Avi Kivity) 2009-02-05 22:06:05 +00:00
virtio.h Add and use #defines for PCI device classes 2009-02-01 19:26:20 +00:00
vmmouse.c hw: remove error handling from qemu_malloc() callers (Avi Kivity) 2009-02-05 22:06:05 +00:00
vmport.c
vmware_vga.c Sparse fixes: NULL use, header order, ANSI prototypes, static 2009-03-07 15:32:56 +00:00
wm8750.c Sparse fixes: NULL use, header order, ANSI prototypes, static 2009-03-07 15:32:56 +00:00
zaurus.c