Statistics
| Branch: | Revision:

root / hw @ cf09458d

Name Size
  9pfs
  alpha
  arm
  cris
  dataplane
  i386
  ide
  kvm
  lm32
  m68k
  microblaze
  mips
  openrisc
  pci
  ppc
  s390x
  sh4
  sparc
  sparc64
  unicore32
  usb
  xtensa
Makefile.objs 7.4 kB
a15mpcore.c 3.8 kB
a9mpcore.c 4.7 kB
a9scu.c 4.3 kB
ac97.c 38.9 kB
acpi.c 15.3 kB
acpi.h 4.8 kB
acpi_ich9.c 7.2 kB
acpi_ich9.h 1.6 kB
acpi_piix4.c 18.4 kB
adb.c 15 kB
adb.h 2.6 kB
adlib.c 7.4 kB
ads7846.c 4.2 kB
alpha_sys.h 488 Bytes
alpha_typhoon.c 23.4 kB
apb_pci.c 15.8 kB
apb_pci.h 265 Bytes
apic-msidef.h 619 Bytes
apic.c 23.4 kB
apic.h 1 kB
apic_common.c 10.6 kB
apic_internal.h 4.6 kB
apm.c 2.7 kB
apm.h 490 Bytes
applesmc.c 7.3 kB
arm-misc.h 2.3 kB
arm11mpcore.c 8.8 kB
arm_gic.c 21.5 kB
arm_gic_common.c 6.2 kB
arm_gic_internal.h 5.1 kB
arm_l2x0.c 4.8 kB
arm_mptimer.c 8.5 kB
arm_sysctl.c 11.9 kB
arm_timer.c 10.6 kB
armv7m_nvic.c 18 kB
audiodev.h 392 Bytes
bitbang_i2c.c 6 kB
bitbang_i2c.h 313 Bytes
blizzard.c 28.5 kB
blizzard_template.h 4 kB
block-common.c 1.9 kB
block-common.h 2.5 kB
boards.h 1.2 kB
bonito.c 25.3 kB
bt-hci-csr.c 12 kB
bt-hci.c 67.4 kB
bt-hid.c 15.1 kB
bt-l2cap.c 42.7 kB
bt-sdp.c 28.8 kB
bt.c 3.5 kB
bt.h 56.4 kB
cadence_gem.c 39.3 kB
cadence_ttc.c 12.2 kB
cadence_uart.c 13.2 kB
cbus.c 14.8 kB
ccid-card-emulated.c 18.5 kB
ccid-card-passthru.c 10.5 kB
ccid.h 1.9 kB
cdrom.c 4.2 kB
cirrus_vga.c 89.5 kB
cirrus_vga_rop.h 5.5 kB
cirrus_vga_rop2.h 7.9 kB
cirrus_vga_template.h 2.9 kB
cris-boot.h 242 Bytes
cs4231.c 4.7 kB
cs4231a.c 20.3 kB
cuda.c 20.3 kB
debugcon.c 4 kB
debugexit.c 2.1 kB
dec_pci.c 4.6 kB
dec_pci.h 173 Bytes
devices.h 2.1 kB
dma.c 15.3 kB
dp8393x.c 26.4 kB
ds1225y.c 4.5 kB
ds1338.c 6.2 kB
e1000.c 44 kB
e1000_hw.h 49.6 kB
ecc.c 3 kB
eccmemctl.c 11.2 kB
eepro100.c 69.1 kB
eeprom93xx.c 10.5 kB
eeprom93xx.h 1.3 kB
elf_ops.h 9.4 kB
empty_slot.c 2.3 kB
empty_slot.h 133 Bytes
es1370.c 30.2 kB
escc.c 25.9 kB
escc.h 377 Bytes
esp-pci.c 14.3 kB
esp.c 19.3 kB
esp.h 3.1 kB
etraxfs.h 1.9 kB
etraxfs_dma.c 22.1 kB
etraxfs_dma.h 822 Bytes
etraxfs_eth.c 16.5 kB
etraxfs_pic.c 4.9 kB
etraxfs_ser.c 6.4 kB
etraxfs_timer.c 8.8 kB
exynos4210.h 4.7 kB
exynos4210_combiner.c 15.1 kB
exynos4210_fimd.c 67.6 kB
exynos4210_gic.c 14 kB
exynos4210_i2c.c 9.9 kB
exynos4210_mct.c 41.7 kB
exynos4210_pmu.c 23.2 kB
exynos4210_pwm.c 11.9 kB
exynos4210_rtc.c 16.1 kB
exynos4210_uart.c 19.2 kB
fdc.c 68.8 kB
fdc.h 718 Bytes
firmware_abi.h 1.8 kB
flash.h 2.1 kB
fmopl.c 35.1 kB
fmopl.h 6.5 kB
framebuffer.c 3.3 kB
framebuffer.h 497 Bytes
fw_cfg.c 16.1 kB
fw_cfg.h 2.4 kB
g364fb.c 17.8 kB
grackle_pci.c 5.1 kB
grlib.h 3.6 kB
grlib_apbuart.c 7.7 kB
grlib_gptimer.c 10.9 kB
grlib_irqmp.c 9.5 kB
gt64xxx.c 34.1 kB
gus.c 8.4 kB
gusemu.h 5.3 kB
gusemu_hal.c 22.6 kB
gusemu_mixer.c 11.9 kB
gustate.h 5 kB
hd-geometry.c 5.5 kB
hda-audio.c 31 kB
heathrow_pic.c 5.8 kB
hid.c 14.1 kB
hid.h 2.5 kB
hpet.c 23.1 kB
hpet_emul.h 1.8 kB
hw.h 2.2 kB
i2c.c 5.2 kB
i2c.h 2.7 kB
i82374.c 4.6 kB
i82378.c 7.4 kB
i8254.c 10 kB
i8254.h 2.1 kB
i8254_common.c 8.7 kB
i8254_internal.h 3 kB
i8259.c 12.9 kB
i8259_common.c 5 kB
i8259_internal.h 2.8 kB
i82801b11.c 3.9 kB
ich9.h 8.1 kB
ide.h 1 kB
imx.h 674 Bytes
imx_avic.c 11.7 kB
imx_ccm.c 8.1 kB
imx_serial.c 12.7 kB
imx_timer.c 18.3 kB
intel-hda-defs.h 22.1 kB
intel-hda.c 39.4 kB
intel-hda.h 2.7 kB
ioapic.c 7.4 kB
ioapic.h 897 Bytes
ioapic_common.c 3.3 kB
ioapic_internal.h 3.4 kB
ioh3420.c 6.9 kB
ioh3420.h 313 Bytes
ipack.c 2.8 kB
ipack.h 2.4 kB
ipoctal232.c 16.5 kB
irq.c 3.7 kB
irq.h 1.6 kB
isa-bus.c 7.3 kB
isa.h 3.3 kB
isa_mmio.c 2.5 kB
ivshmem.c 22.7 kB
jazz_led.c 8.6 kB
lan9118.c 39.1 kB
lance.c 4.9 kB
lm32.h 498 Bytes
lm32_hwsetup.h 4.9 kB
lm32_juart.c 3.6 kB
lm32_juart.h 320 Bytes
lm32_pic.c 4.5 kB
lm32_pic.h 412 Bytes
lm32_sys.c 4.6 kB
lm32_timer.c 5.4 kB
lm32_uart.c 6.5 kB
lm4549.c 9 kB
lm4549.h 1 kB
lm832x.c 14.7 kB
loader.c 21.2 kB
loader.h 1.9 kB
lpc_ich9.c 17.2 kB
lsi53c895a.c 60.9 kB
m25p80.c 19.3 kB
m48t59.c 20.3 kB
mac_dbdma.c 21.5 kB
mac_dbdma.h 1.7 kB
mac_nvram.c 5.7 kB
macio.c 8.6 kB
marvell_88w8618_audio.c 8.3 kB
max111x.c 4.4 kB
max7310.c 4.9 kB
mc146818rtc.c 27.7 kB
mc146818rtc.h 313 Bytes
mc146818rtc_regs.h 2.1 kB
mcf.h 907 Bytes
mcf_fec.c 12.3 kB
mcf_uart.c 7 kB
megasas.c 68.8 kB
mfi.h 36.4 kB
microblaze_boot.h 322 Bytes
microblaze_pic_cpu.h 173 Bytes
milkymist-ac97.c 8.3 kB
milkymist-hpdmc.c 4.2 kB
milkymist-hw.h 5.6 kB
milkymist-memcard.c 8.1 kB
milkymist-minimac2.c 14 kB
milkymist-pfpu.c 14.3 kB
milkymist-softusb.c 9 kB
milkymist-sysctl.c 8.9 kB
milkymist-tmu2.c 13.3 kB
milkymist-uart.c 5.6 kB
milkymist-vgafb.c 8 kB
milkymist-vgafb_template.h 2.5 kB
mips-bios.h 175 Bytes
mips.h 911 Bytes
mips_cpudevs.h 380 Bytes
mipsnet.c 7.2 kB
mst_fpga.c 6 kB
multiboot.h 341 Bytes
nand.c 23.2 kB
ne2000-isa.c 3.4 kB
ne2000.c 22.7 kB
ne2000.h 1011 Bytes
null-machine.c 666 Bytes
nvram.h 1.3 kB
omap.h 31.4 kB
omap_clk.c 30.3 kB
omap_dma.c 59.4 kB
omap_dss.c 31.9 kB
omap_gpio.c 20.6 kB
omap_gpmc.c 28.5 kB
omap_gptimer.c 12.8 kB
omap_i2c.c 13.6 kB
omap_intc.c 17.7 kB
omap_l4.c 4.3 kB
omap_lcd_template.h 4.9 kB
omap_lcdc.c 13.4 kB
omap_mmc.c 16 kB
omap_sdrc.c 4.8 kB
omap_spi.c 10.3 kB
omap_synctimer.c 2.8 kB
omap_tap.c 3.4 kB
omap_uart.c 5.1 kB
onenand.c 24.6 kB
opencores_eth.c 18.7 kB
openpic.c 45.3 kB
openpic.h 598 Bytes
pam.c 3.3 kB
pam.h 3.3 kB
parallel.c 17.9 kB
pc-testdev.c 5.6 kB
pc.h 6.6 kB
pc87312.c 10.9 kB
pc87312.h 1.9 kB
pc_sysfw.c 7.9 kB
pci_bridge_dev.c 4.7 kB
pckbd.c 15.9 kB
pcmcia.h 1.9 kB
pcnet-pci.c 11 kB
pcnet.c 54.5 kB
pcnet.h 2.1 kB
pcspk.c 5.4 kB
pcspk.h 1.5 kB
pflash_cfi01.c 21.9 kB
pflash_cfi02.c 23.9 kB
piix4.c 3.8 kB
piix_pci.c 19.4 kB
pl011.c 8.4 kB
pl022.c 8.5 kB
pl031.c 7.1 kB
pl041.c 16.7 kB
pl041.h 3.4 kB
pl041.hx 2 kB
pl050.c 5.1 kB
pl061.c 8.7 kB
pl080.c 11.7 kB
pl110.c 13.3 kB
pl110_template.h 9.4 kB
pl181.c 15.4 kB
pl190.c 7.8 kB
pm_smbus.c 4.5 kB
pm_smbus.h 380 Bytes
ppc-viosrp.h 6.7 kB
ppc.h 3.7 kB
ppc405.h 3 kB
ppc4xx.h 2.5 kB
ppc4xx_pci.c 11.2 kB
ppce500_pci.c 11.9 kB
ppce500_pci.h 158 Bytes
prep_pci.c 6.9 kB
primecell.h 292 Bytes
ps2.c 20.4 kB
ps2.h 1.6 kB
ptimer.c 6 kB
ptimer.h 1.3 kB
puv3.h 1.6 kB
puv3_dma.c 2.5 kB
puv3_gpio.c 3.4 kB
puv3_intc.c 3.2 kB
puv3_ost.c 3.6 kB
puv3_pm.c 3.2 kB
pxa.h 5.2 kB
pxa2xx_dma.c 16.1 kB
pxa2xx_keypad.c 9.6 kB
pxa2xx_lcd.c 29.6 kB
pxa2xx_mmci.c 14.2 kB
pxa2xx_pcmcia.c 5.3 kB
pxa2xx_template.h 11.3 kB
pxa2xx_timer.c 15.9 kB
q35.c 9.8 kB
q35.h 6.1 kB
qdev-addr.c 1.9 kB
qdev-addr.h 310 Bytes
qdev-core.h 9.5 kB
qdev-dma.h 352 Bytes
qdev-properties-system.c 9.4 kB
qdev-properties.c 23.3 kB
qdev-properties.h 6.6 kB
qdev.c 22.3 kB
qdev.h 116 Bytes
qxl-logger.c 8.6 kB
qxl-render.c 8.8 kB
qxl.c 75.8 kB
qxl.h 4.8 kB
rc4030.c 21.1 kB
realview_gic.c 2.1 kB
rtl8139.c 101.3 kB
sb16.c 34.8 kB
sbi.c 4 kB
scsi-bus.c 52.9 kB
scsi-defs.h 10.7 kB
scsi-disk.c 74.7 kB
scsi-generic.c 14.1 kB
scsi.h 8.9 kB
sd.c 48.5 kB
sd.h 2.9 kB
sdhci.c 43.3 kB
sdhci.h 12.3 kB
serial-isa.c 3.9 kB
serial-pci.c 7.9 kB
serial.c 23.4 kB
serial.h 3.4 kB
sga.c 2 kB
sh.h 1.6 kB
sh7750_regnames.h 127 Bytes
sh7750_regs.h 60.5 kB
sh_intc.c 13.3 kB
sh_intc.h 2 kB
sh_pci.c 5.5 kB
sh_serial.c 10.3 kB
sh_timer.c 8.8 kB
sharpsl.h 340 Bytes
slavio_intctl.c 13.8 kB
slavio_misc.c 13.1 kB
slavio_timer.c 14.1 kB
sm501.c 41.2 kB
sm501_template.h 3.8 kB
smbios.h 4.4 kB
smbus.c 8.1 kB
smbus.h 3.5 kB
smbus_eeprom.c 4.8 kB
smbus_ich9.c 3.7 kB
smc91c111.c 22 kB
soc_dma.c 11.6 kB
soc_dma.h 3.4 kB
spapr.h 13.3 kB
spapr_llan.c 15.8 kB
spapr_nvram.c 5.5 kB
spapr_pci.c 26.3 kB
spapr_pci.h 2.7 kB
spapr_vio.h 4.7 kB
spapr_vscsi.c 28.4 kB
spapr_vty.c 5.7 kB
sparc32_dma.c 8.9 kB
sparc32_dma.h 422 Bytes
srp.h 6.3 kB
ssd0303.c 8.9 kB
ssd0323.c 9.7 kB
ssi-sd.c 8.5 kB
ssi.c 4.1 kB
ssi.h 3.2 kB
stellaris_enet.c 12.7 kB
stellaris_input.c 2.3 kB
stream.c 504 Bytes
stream.h 871 Bytes
strongarm.c 42.1 kB
strongarm.h 1.5 kB
sun4c_intctl.c 5.6 kB
sun4m.h 1 kB
sun4m_iommu.c 13 kB
sysbus.c 8.3 kB
sysbus.h 3.1 kB
tc58128.c 4.2 kB
tc6393xb.c 17.9 kB
tc6393xb_template.h 2.1 kB
tcx.c 20.5 kB
tmp105.c 6.7 kB
tmp105.h 1 kB
tmp105_regs.h 1.1 kB
tpci200.c 18.7 kB
tsc2005.c 15.2 kB
tsc210x.c 33.8 kB
tusb6010.c 24.5 kB
twl92230.c 24.5 kB
uboot_image.h 5.9 kB
unin_pci.c 14.6 kB
usb.h 18.3 kB
versatile_i2c.c 3 kB
versatile_pci.c 4.2 kB
vfio_pci.c 63 kB
vga-isa-mm.c 4.3 kB
vga-isa.c 3.3 kB
vga-pci.c 6.5 kB
vga.c 71.8 kB
vga.h 6.5 kB
vga_int.h 7.5 kB
vga_template.h 14.2 kB
vhost.c 31.5 kB
vhost.h 2 kB
vhost_net.c 8.3 kB
vhost_net.h 796 Bytes
virtio-balloon.c 11 kB
virtio-balloon.h 1.5 kB
virtio-blk.c 19.4 kB
virtio-blk.h 2.9 kB
virtio-bus.c 4.6 kB
virtio-bus.h 3.4 kB
virtio-console.c 5.2 kB
virtio-net.c 40.9 kB
virtio-net.h 7.8 kB
virtio-pci.c 48.1 kB
virtio-pci.h 2.7 kB
virtio-rng.c 4.9 kB
virtio-rng.h 592 Bytes
virtio-scsi.c 21.8 kB
virtio-scsi.h 1.2 kB
virtio-serial-bus.c 28.6 kB
virtio-serial.h 5.9 kB
virtio.c 29.2 kB
virtio.h 11.3 kB
vmmouse.c 7.8 kB
vmport.c 4.7 kB
vmware_vga.c 36 kB
vt82c686.c 13.6 kB
vt82c686.h 323 Bytes
watchdog.c 4.2 kB
watchdog.h 1.4 kB
wdt_i6300esb.c 13.8 kB
wdt_ib700.c 3.8 kB
wm8750.c 20.3 kB
xen-host-pci-device.c 9.6 kB
xen-host-pci-device.h 1.7 kB
xen.h 1.7 kB
xen_apic.c 2.2 kB
xen_backend.c 21.2 kB
xen_backend.h 3.9 kB
xen_blkif.h 3.5 kB
xen_common.h 3.8 kB
xen_console.c 7.9 kB
xen_devconfig.c 4.8 kB
xen_disk.c 29.7 kB
xen_domainbuild.h 490 Bytes
xen_nic.c 13.8 kB
xen_platform.c 11.9 kB
xen_pt.c 26.3 kB
xen_pt.h 8.8 kB
xen_pt_config_init.c 57.2 kB
xen_pt_msi.c 16.8 kB
xenfb.c 30.5 kB
xgmac.c 14.5 kB
xics.h 1.6 kB
xilinx.h 2.7 kB
xilinx_axidma.c 13.3 kB
xilinx_axienet.c 22.8 kB
xilinx_ethlite.c 7.5 kB
xilinx_intc.c 5 kB
xilinx_spi.c 9.5 kB
xilinx_spips.c 17.1 kB
xilinx_timer.c 6.8 kB
xilinx_uartlite.c 5.8 kB
xio3130_downstream.c 6.4 kB
xio3130_downstream.h 413 Bytes
xio3130_upstream.c 5.4 kB
xio3130_upstream.h 326 Bytes
xtensa_bootparam.h 528 Bytes
zaurus.c 7.1 kB
zynq_slcr.c 14.5 kB

Latest revisions

# Date Author Comment
3a861c46 03/26/2013 09:02 pm Alex Williamson

pci: Create and register a new PCI Express TypeInfo

This will allow us to differentiate Express and Legacy buses.

Signed-off-by: Alex Williamson <>
Signed-off-by: Michael S. Tsirkin <>

cf09458d 03/26/2013 09:02 pm Alex Williamson

pci: Move PCI and PCIE type defines

Move these so that we can reference them from a more common header
instead of including pci_bus.h everywhere.

Signed-off-by: Alex Williamson <>
Signed-off-by: Michael S. Tsirkin <>

ba7d8515 03/26/2013 09:02 pm Alex Williamson

pci: Teach PCI Bridges about VGA routing

Each PCI Bridge has a set of implied VGA regions that are enabled when
the VGA bit is set in the bridge control register. This allows VGA
devices behind bridges. Unfortunately with VGA Enable, which we
formerly allowed but didn't back, comes along some required VGA...

45eb768c 03/26/2013 09:02 pm Michael S. Tsirkin

pci_bridge: factor out common code

Reuse common code in pcie_port, override the hardwired-to-0
bits per PCI Express spec.
No functional change but makes the code easier to follow.

Signed-off-by: Michael S. Tsirkin <>

600d05b9 03/26/2013 09:02 pm Michael S. Tsirkin

pci_bridge: drop formatting from source

We use the same formatting for all files, it
doesn't make sense to have formatting directives only
in pci bridge header.

Signed-off-by: Michael S. Tsirkin <>

e5368f0d 03/26/2013 09:02 pm Alex Williamson

pci: Fix INTx routing notifier recursion

For some reason we recurse to fire the INTx routing notifier for each
child of a bus, for each possible device of a bus. That means that if
we add a root port, the notifier gets called for that bridge 256
times. If we add an upstream switch behind that root port, 256^2. But...

659fefee 03/26/2013 09:02 pm Alex Williamson

pci_bridge: Use a default map_irq function

The PCI bridge spec defines a default swizzle for translating INTx
IRQs from secondary bus to primary. Use this by default for any
bridge that doesn't set a function.

Signed-off-by: Alex Williamson <>...

ea7cfed6 03/26/2013 09:02 pm Alex Williamson

pci_bridge: Remove duplicate IRQ swizzle function

pci_bridge_dev_map_irq_fn() is identical to pci_swizzle_map_irq_fn(),
which is now the default for all PCI bridges. We can therefore remove
this function and the pci_bridge_map_irq() call that used it.

Signed-off-by: Alex Williamson <>...

8c7f3dd0 03/26/2013 09:02 pm Stefan Hajnoczi

pci: refuse empty ROM files

A zero size ROM file is invalid and should produce a warning.
Attempting to use a zero size file ends up hitting an assertion
qemu_ram_set_idstr() because RAMBlocks with duplicate addresses are
allocated - due to zero size the allocator doesn't increment the next...

e01fd687 03/26/2013 09:02 pm Alex Williamson

pci: Add PCI VGA helpers

Allow devices to register VGA memory regions for handling PCI spec
defined VGA I/O port and MMIO areas. PCI will attach these to the
bus address spaces and enable them according to the device command
register value.

Signed-off-by: Alex Williamson <>...

View revisions

Also available in: Atom