Statistics
| Branch: | Revision:

root / hw @ 71ebd6dc

Name Size
  ide
9p.h 402 Bytes
a9mpcore.c 676 Bytes
ac97.c 37.1 kB
acpi.c 5.1 kB
acpi.h 2.8 kB
acpi_piix4.c 16.3 kB
adb.c 12.4 kB
adlib.c 7.4 kB
ads7846.c 3.9 kB
alpha_palcode.c 25.5 kB
an5206.c 2.5 kB
apb_pci.c 13 kB
apb_pci.h 241 Bytes
apic.c 26.9 kB
apic.h 858 Bytes
apm.c 2.2 kB
apm.h 411 Bytes
applesmc.c 7 kB
arm-misc.h 1.2 kB
arm11mpcore.c 3.2 kB
arm_boot.c 8.3 kB
arm_gic.c 21.5 kB
arm_pic.c 1.1 kB
arm_sysctl.c 6.3 kB
arm_timer.c 9.3 kB
armv7m.c 7 kB
armv7m_nvic.c 13.2 kB
audiodev.h 269 Bytes
axis_dev88.c 10 kB
baum.c 20 kB
baum.h 1.2 kB
bitbang_i2c.c 5.4 kB
bitbang_i2c.h 310 Bytes
blizzard.c 28.5 kB
blizzard_template.h 4 kB
boards.h 989 Bytes
bonito.c 24.6 kB
bt-hci-csr.c 12 kB
bt-hci.c 67.5 kB
bt-hid.c 15.9 kB
bt-l2cap.c 42.7 kB
bt-sdp.c 28.8 kB
bt.c 3.5 kB
bt.h 58.5 kB
cbus.c 14.8 kB
cdrom.c 4.2 kB
cirrus_vga.c 96.2 kB
cirrus_vga_rop.h 4.9 kB
cirrus_vga_rop2.h 7.9 kB
cris-boot.c 3 kB
cris-boot.h 201 Bytes
cris_pic_cpu.c 1.7 kB
cs4231.c 4.7 kB
cs4231a.c 20 kB
cuda.c 21.1 kB
debugcon.c 3.2 kB
dec_pci.c 3.2 kB
dec_pci.h 130 Bytes
device-hotplug.c 1.5 kB
devices.h 2.1 kB
dma.c 14.4 kB
dp8393x.c 26.3 kB
ds1225y.c 5.2 kB
ds1338.c 3.2 kB
dummy_m68k.c 2.1 kB
e1000.c 37.2 kB
e1000_hw.h 47.9 kB
ecc.c 2.8 kB
eccmemctl.c 11.2 kB
eepro100.c 65.7 kB
eeprom93xx.c 10.5 kB
eeprom93xx.h 1.3 kB
elf_ops.h 8.7 kB
empty_slot.c 2.1 kB
empty_slot.h 86 Bytes
es1370.c 29.7 kB
escc.c 26.2 kB
escc.h 344 Bytes
esp.c 18.7 kB
esp.h 403 Bytes
etraxfs.c 5.3 kB
etraxfs.h 1.3 kB
etraxfs_dma.c 21.6 kB
etraxfs_dma.h 568 Bytes
etraxfs_eth.c 13.5 kB
etraxfs_pic.c 4.6 kB
etraxfs_ser.c 5.7 kB
etraxfs_timer.c 8.4 kB
event_notifier.c 1.3 kB
event_notifier.h 369 Bytes
fdc.c 63.7 kB
fdc.h 487 Bytes
file-op-9p.h 2.3 kB
firmware_abi.h 1.8 kB
flash.h 2 kB
fmopl.c 35 kB
fmopl.h 6.5 kB
framebuffer.c 3.5 kB
framebuffer.h 450 Bytes
fw_cfg.c 10.9 kB
fw_cfg.h 2.4 kB
g364fb.c 18 kB
grackle_pci.c 4.3 kB
gt64xxx.c 32.7 kB
gumstix.c 3.8 kB
gus.c 8.1 kB
gusemu.h 5.3 kB
gusemu_hal.c 22.6 kB
gusemu_mixer.c 11.9 kB
gustate.h 5 kB
heathrow_pic.c 5.9 kB
hpet.c 22.7 kB
hpet_emul.h 1.8 kB
hw.h 31.6 kB
i2c.c 4.2 kB
i2c.h 2.4 kB
i8254.c 14 kB
i8259.c 14.7 kB
ide.h 957 Bytes
integratorcp.c 15 kB
ioapic.c 7.2 kB
irq.c 2.2 kB
irq.h 800 Bytes
isa-bus.c 4.2 kB
isa.h 1.3 kB
isa_mmio.c 4 kB
jazz_led.c 9.3 kB
lan9118.c 31.4 kB
lance.c 4.6 kB
lm832x.c 14.4 kB
loader.c 19.3 kB
loader.h 1.8 kB
lsi53c895a.c 62.5 kB
m48t59.c 19.5 kB
mac_dbdma.c 21.1 kB
mac_dbdma.h 1.6 kB
mac_nvram.c 5.4 kB
macio.c 4.4 kB
mainstone.c 4.6 kB
mainstone.h 897 Bytes
marvell_88w8618_audio.c 8.1 kB
max111x.c 4 kB
max7310.c 5 kB
mc146818rtc.c 19.1 kB
mc146818rtc.h 287 Bytes
mcf.h 647 Bytes
mcf5206.c 13.8 kB
mcf5208.c 7.9 kB
mcf_fec.c 12.3 kB
mcf_intc.c 3.6 kB
mcf_uart.c 7 kB
microblaze_pic_cpu.c 1.7 kB
mips-bios.h 175 Bytes
mips.h 1.3 kB
mips_addr.c 1.3 kB
mips_cpudevs.h 372 Bytes
mips_fulong2e.c 12.7 kB
mips_int.c 2.2 kB
mips_jazz.c 9.2 kB
mips_malta.c 32.2 kB
mips_mipssim.c 6.8 kB
mips_r4k.c 9 kB
mips_timer.c 4.1 kB
mipsnet.c 7.3 kB
mpcore.c 7.3 kB
msix.c 11.9 kB
msix.h 928 Bytes
msmouse.c 2.6 kB
msmouse.h 72 Bytes
mst_fpga.c 5.1 kB
multiboot.c 11.7 kB
multiboot.h 341 Bytes
musicpal.c 44.7 kB
nand.c 19.3 kB
ne2000-isa.c 4 kB
ne2000.c 22.7 kB
ne2000.h 1.3 kB
nseries.c 43 kB
nvram.h 1.9 kB
omap.h 35.3 kB
omap1.c 108.5 kB
omap2.c 82.2 kB
omap_clk.c 30.1 kB
omap_dma.c 58.9 kB
omap_dss.c 31.3 kB
omap_gpio.c 17.9 kB
omap_gpmc.c 12.3 kB
omap_gptimer.c 12.7 kB
omap_i2c.c 13 kB
omap_intc.c 16.1 kB
omap_l4.c 8.1 kB
omap_lcd_template.h 4.9 kB
omap_lcdc.c 12.5 kB
omap_mmc.c 15.9 kB
omap_sdrc.c 4.7 kB
omap_spi.c 9.5 kB
omap_sx1.c 7.8 kB
omap_synctimer.c 2.6 kB
omap_tap.c 3.3 kB
omap_uart.c 5.4 kB
onenand.c 19.2 kB
openpic.c 46.9 kB
openpic.h 735 Bytes
palm.c 9 kB
parallel.c 17.7 kB
pc.c 29.2 kB
pc.h 5.2 kB
pc_piix.c 10.2 kB
pci-hotplug.c 8.2 kB
pci.c 58.7 kB
pci.h 12 kB
pci_host.c 7.1 kB
pci_host.h 2.1 kB
pci_ids.h 3.4 kB
pci_regs.h 33.1 kB
pcie_host.c 5.5 kB
pcie_host.h 1.5 kB
pckbd.c 14.7 kB
pcmcia.h 1.8 kB
pcnet.c 62.7 kB
pcnet.h 1.2 kB
pcspk.c 4.2 kB
petalogix_s3adsp1800_mmu.c 7.1 kB
pflash_cfi01.c 20 kB
pflash_cfi02.c 21.1 kB
piix4.c 3.6 kB
piix_pci.c 10.6 kB
pixel_ops.h 1.7 kB
pl011.c 8.2 kB
pl022.c 8 kB
pl031.c 5.2 kB
pl050.c 3.9 kB
pl061.c 7.7 kB
pl080.c 9.6 kB
pl110.c 9 kB
pl110_template.h 7 kB
pl181.c 13.7 kB
pl190.c 6.4 kB
pm_smbus.c 4.2 kB
pm_smbus.h 482 Bytes
ppc.c 37.5 kB
ppc.h 1.7 kB
ppc405.h 2.8 kB
ppc405_boards.c 19.7 kB
ppc405_uc.c 65.5 kB
ppc440.c 3.1 kB
ppc440.h 512 Bytes
ppc440_bamboo.c 5.9 kB
ppc4xx.h 2.4 kB
ppc4xx_devs.c 19.5 kB
ppc4xx_pci.c 10.6 kB
ppc_mac.h 3.7 kB
ppc_newworld.c 15.9 kB
ppc_oldworld.c 14 kB
ppc_prep.c 22.6 kB
ppce500.h 696 Bytes
ppce500_mpc8544ds.c 9 kB
ppce500_pci.c 9.5 kB
prep_pci.c 4.2 kB
prep_pci.h 121 Bytes
primecell.h 359 Bytes
ps2.c 18.4 kB
ps2.h 400 Bytes
ptimer.c 6 kB
pxa.h 5.9 kB
pxa2xx.c 64.8 kB
pxa2xx_dma.c 15.6 kB
pxa2xx_gpio.c 9.3 kB
pxa2xx_keypad.c 9.3 kB
pxa2xx_lcd.c 26.9 kB
pxa2xx_mmci.c 14 kB
pxa2xx_pcmcia.c 5.2 kB
pxa2xx_pic.c 9.3 kB
pxa2xx_template.h 11.3 kB
pxa2xx_timer.c 13.2 kB
qdev-addr.c 826 Bytes
qdev-addr.h 277 Bytes
qdev-properties.c 18.4 kB
qdev.c 21.8 kB
qdev.h 10.2 kB
r2d.c 8.7 kB
rc4030.c 21 kB
realview.c 13.7 kB
realview_gic.c 1.9 kB
rtl8139.c 99.3 kB
s390-virtio-bus.c 10.6 kB
s390-virtio-bus.h 2.4 kB
s390-virtio.c 7.3 kB
sb16.c 34.8 kB
sbi.c 3.7 kB
scsi-bus.c 14.7 kB
scsi-defs.h 4.9 kB
scsi-disk.c 33 kB
scsi-generic.c 15 kB
scsi.h 3.1 kB
sd.c 45.2 kB
sd.h 2.8 kB
serial.c 28.9 kB
sh.h 1.5 kB
sh7750.c 21.8 kB
sh7750_regnames.c 2.3 kB
sh7750_regnames.h 127 Bytes
sh7750_regs.h 60.5 kB
sh_intc.c 11.9 kB
sh_intc.h 1.9 kB
sh_pci.c 3.7 kB
sh_pci.h 220 Bytes
sh_serial.c 10.2 kB
sh_timer.c 8.5 kB
sharpsl.h 673 Bytes
shix.c 3.1 kB
slavio_intctl.c 13.5 kB
slavio_misc.c 12.2 kB
slavio_timer.c 14.1 kB
sm501.c 39 kB
sm501_template.h 3.9 kB
smbios.c 7.7 kB
smbios.h 4.5 kB
smbus.c 7.9 kB
smbus.h 3 kB
smbus_eeprom.c 3.8 kB
smc91c111.c 20.3 kB
soc_dma.c 11.6 kB
soc_dma.h 3.6 kB
sparc32_dma.c 8 kB
sparc32_dma.h 446 Bytes
spitz.c 31 kB
ssd0303.c 8.6 kB
ssd0323.c 9.3 kB
ssi-sd.c 8 kB
ssi.c 1.6 kB
ssi.h 1.2 kB
stellaris.c 39.2 kB
stellaris_enet.c 12.5 kB
stellaris_input.c 2.2 kB
sun4c_intctl.c 5.8 kB
sun4m.c 54.7 kB
sun4m.h 1 kB
sun4m_iommu.c 13.1 kB
sun4u.c 27 kB
syborg.c 3.9 kB
syborg.h 578 Bytes
syborg_fb.c 13.1 kB
syborg_interrupt.c 6.5 kB
syborg_keyboard.c 6.9 kB
syborg_pointer.c 7.1 kB
syborg_rtc.c 4 kB
syborg_serial.c 9.6 kB
syborg_timer.c 6.6 kB
syborg_virtio.c 9.1 kB
sysbus.c 4.5 kB
sysbus.h 1.9 kB
tc58128.c 4.3 kB
tc6393xb.c 18.5 kB
tc6393xb_template.h 2.2 kB
tcx.c 17.7 kB
tmp105.c 5.9 kB
tosa.c 7.2 kB
tsc2005.c 15.2 kB
tsc210x.c 33.8 kB
tusb6010.c 23.2 kB
twl92230.c 24.3 kB
unin_pci.c 11.6 kB
usb-bt.c 20.7 kB
usb-bus.c 7.3 kB
usb-hid.c 29.4 kB
usb-hub.c 16.5 kB
usb-msd.c 17.8 kB
usb-musb.c 42.7 kB
usb-net.c 44.8 kB
usb-ohci.c 50.5 kB
usb-ohci.h 139 Bytes
usb-serial.c 19.5 kB
usb-uhci.c 30.6 kB
usb-uhci.h 237 Bytes
usb-wacom.c 11.7 kB
usb.c 6.1 kB
usb.h 9.4 kB
versatile_pci.c 4.5 kB
versatilepb.c 9.7 kB
vga-isa-mm.c 3.8 kB
vga-isa.c 1.7 kB
vga-pci.c 4.6 kB
vga.c 68.8 kB
vga_int.h 8 kB
vga_template.h 15.8 kB
vhost.c 22.2 kB
vhost.h 1.2 kB
vhost_net.c 4.7 kB
vhost_net.h 501 Bytes
virtio-9p-debug.c 13.1 kB
virtio-9p-debug.h 121 Bytes
virtio-9p-local.c 12.3 kB
virtio-9p.c 55.3 kB
virtio-9p.h 4.8 kB
virtio-balloon.c 7.8 kB
virtio-balloon.h 1.5 kB
virtio-blk.c 13.8 kB
virtio-blk.h 2.8 kB
virtio-console.c 3.8 kB
virtio-net.c 27.8 kB
virtio-net.h 7 kB
virtio-pci.c 23 kB
virtio-serial-bus.c 20.9 kB
virtio-serial.h 5 kB
virtio.c 20.8 kB
virtio.h 7.6 kB
vmmouse.c 7.4 kB
vmport.c 3.1 kB
vmware_vga.c 35.7 kB
vmware_vga.h 141 Bytes
vt82c686.c 16.1 kB
vt82c686.h 319 Bytes
watchdog.c 4.2 kB
watchdog.h 1.4 kB
wdt_i6300esb.c 13.8 kB
wdt_ib700.c 3.3 kB
wm8750.c 20.3 kB
xen.h 570 Bytes
xen_backend.c 18.5 kB
xen_backend.h 3.9 kB
xen_blkif.h 3.5 kB
xen_common.h 758 Bytes
xen_console.c 7 kB
xen_devconfig.c 4.7 kB
xen_disk.c 22.2 kB
xen_domainbuild.c 8.5 kB
xen_domainbuild.h 487 Bytes
xen_machine_pv.c 3.5 kB
xen_nic.c 12.3 kB
xenfb.c 30.1 kB
xilinx.h 1.5 kB
xilinx_ethlite.c 7.3 kB
xilinx_intc.c 4.6 kB
xilinx_timer.c 6.2 kB
xilinx_uartlite.c 5.4 kB
zaurus.c 6.7 kB

Latest revisions

# Date Author Comment
71ebd6dc 07/11/2010 11:14 pm Isaku Yamahata

pci: fix pci_device_reset

Clear interrupt disable bit on reset, according to PCI spec.
Fix pci_device_reset() with 64bit BAR.

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

1ddda5cd 07/11/2010 08:33 pm Alexander Graf

AppleSMC device emulation

Intel Macs have a chip called the "AppleSMC" which they use to control
certain Apple specific parts of the hardware, like the keyboard background
light.

That chip is also used to store a key that Mac OS X uses to decrypt binaries....

6eab3de1 07/11/2010 08:01 pm Isaku Yamahata

pci: set PCI multi-function bit appropriately.

Set PCI multi-function bit according to multifunction property.
PCI address, devfn ,is exported to users as addr property,
so users can populate pci function(PCIDevice in qemu)
at arbitrary devfn.
It means each function(PCIDevice) don't know whether pci device...

fecb93c4 07/11/2010 08:01 pm Isaku Yamahata

pci: set multifunction property for normal device.

use pci_create_simple_multifunction() for normal device which sets
multifunction bit.
At the moment, only pc_piix.c and mips_malta.c uses multifunction
devices with piix3/4 pci-isa bridge.
And other boards don't populate those devices....

7c7b829e 07/11/2010 08:01 pm Isaku Yamahata

pci_bridge: make pci bridge aware of pci multi function bit.

make pci bridge aware of pci multi function property and let pci generic
code to set the bit.

Cc: Blue Swirl <>
Signed-off-by: Isaku Yamahata <>
Signed-off-by: Blue Swirl <>

49823868 07/11/2010 08:00 pm Isaku Yamahata

pci: introduce multifunction property.

introduce multifunction property.
Also introduce new convenient device creation function which
will be used later.

For bisectability this patch doesn't do anything, but sets the property
resulting in no functional changes....

f4594a3b 07/11/2010 08:00 pm Isaku Yamahata

qdev: implement qdev_prop_set_bit().

implement qdev_prop_set_bit().

Signed-off-by: Isaku Yamahata <>
Signed-off-by: Blue Swirl <>

e327e323 07/11/2010 08:00 pm Isaku Yamahata

pci: remove PCIDeviceInfo::header_type

replace PCIDeviceInfo::header_type with is_bridge
as suggested by Michael S. Tsirkin <>

Signed-off-by: Isaku Yamahata <>
Signed-off-by: Blue Swirl <>

b80d4a98 07/11/2010 08:00 pm Isaku Yamahata

pci: don't overwrite multi functio bit in pci header type.

Don't overwrite pci header type.
Otherwise, multi function bit which pci_init_header_type() sets
appropriately is lost.
Anyway PCI_HEADER_TYPE_NORMAL is zero, so it is unnecessary to zero
which is already zero cleared....

6fa84913 07/11/2010 08:00 pm Isaku Yamahata

pci: insert assert that auto-assigned-address function is single function device.

Auto-assigned-address pci function (passing devfn = -1) is always
single function.
This patch adds assert() to guarantee that auto-assigned-address function
is always single function device at function = 0....

View revisions

Also available in: Atom