Statistics
| Branch: | Revision:

root / hw @ d9b09f13

Name Size
  9pfs
  ide
9p.h 402 Bytes
a9mpcore.c 6 kB
ac97.c 37.1 kB
acpi.c 11.9 kB
acpi.h 4.7 kB
acpi_piix4.c 15.6 kB
adb.c 11.9 kB
adb.h 2.3 kB
adlib.c 7.4 kB
ads7846.c 3.8 kB
alpha_dp264.c 5.3 kB
alpha_pci.c 3 kB
alpha_sys.h 548 Bytes
alpha_typhoon.c 22.9 kB
an5206.c 2.5 kB
apb_pci.c 13.7 kB
apb_pci.h 241 Bytes
apic.c 26.5 kB
apic.h 775 Bytes
apm.c 2.2 kB
apm.h 411 Bytes
applesmc.c 7 kB
arm-misc.h 1.2 kB
arm11mpcore.c 6.9 kB
arm_boot.c 8.6 kB
arm_gic.c 24.7 kB
arm_mptimer.c 9.5 kB
arm_pic.c 944 Bytes
arm_sysctl.c 11.8 kB
arm_timer.c 9.4 kB
armv7m.c 7.1 kB
armv7m_nvic.c 13 kB
audiodev.h 337 Bytes
axis_dev88.c 10.5 kB
baum.c 19.6 kB
baum.h 1.2 kB
bitbang_i2c.c 5.6 kB
bitbang_i2c.h 310 Bytes
blizzard.c 28.4 kB
blizzard_template.h 4 kB
boards.h 1 kB
bonito.c 24 kB
bt-hci-csr.c 12 kB
bt-hci.c 67.5 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
cbus.c 14.8 kB
ccid-card-emulated.c 18.3 kB
ccid-card-passthru.c 10.2 kB
ccid.h 1.6 kB
cdrom.c 4.2 kB
cirrus_vga.c 88.1 kB
cirrus_vga_rop.h 5.5 kB
cirrus_vga_rop2.h 7.9 kB
collie.c 1.8 kB
container.c 370 Bytes
cris-boot.c 3 kB
cris-boot.h 201 Bytes
cris_pic_cpu.c 1.6 kB
cs4231.c 4.4 kB
cs4231a.c 20 kB
cuda.c 20.8 kB
debugcon.c 3.2 kB
dec_pci.c 3.7 kB
dec_pci.h 130 Bytes
device-hotplug.c 1.5 kB
devices.h 2.1 kB
dma.c 14.5 kB
dp8393x.c 26.5 kB
ds1225y.c 4.2 kB
ds1338.c 3.2 kB
dummy_m68k.c 2.2 kB
e1000.c 38.6 kB
e1000_hw.h 49 kB
ecc.c 2.8 kB
eccmemctl.c 11 kB
eepro100.c 67.8 kB
eeprom93xx.c 10.4 kB
eeprom93xx.h 1.3 kB
elf_ops.h 8.8 kB
empty_slot.c 2.2 kB
empty_slot.h 86 Bytes
es1370.c 29.6 kB
escc.c 25.8 kB
escc.h 354 Bytes
esp.c 20 kB
esp.h 439 Bytes
etraxfs.h 1.8 kB
etraxfs_dma.c 21.8 kB
etraxfs_dma.h 568 Bytes
etraxfs_eth.c 14.1 kB
etraxfs_pic.c 4.6 kB
etraxfs_ser.c 6.2 kB
etraxfs_timer.c 8.4 kB
fdc.c 60.1 kB
fdc.h 845 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.5 kB
framebuffer.h 450 Bytes
fw_cfg.c 15.6 kB
fw_cfg.h 2.4 kB
g364fb.c 16.7 kB
grackle_pci.c 4.5 kB
grlib.h 3.7 kB
grlib_apbuart.c 5.3 kB
grlib_gptimer.c 10.6 kB
grlib_irqmp.c 9.3 kB
gt64xxx.c 33.4 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
hda-audio.c 26.3 kB
heathrow_pic.c 5.8 kB
hid.c 13.4 kB
hid.h 1.5 kB
hpet.c 22.1 kB
hpet_emul.h 1.8 kB
hw.h 40.3 kB
i2c.c 4.2 kB
i2c.h 2.2 kB
i8254.c 15.1 kB
i8259.c 15.6 kB
ide.h 1.2 kB
integratorcp.c 15.5 kB
intel-hda-defs.h 22.1 kB
intel-hda.c 38.3 kB
intel-hda.h 2.3 kB
ioapic.c 10.1 kB
ioapic.h 897 Bytes
ioh3420.c 6.8 kB
ioh3420.h 306 Bytes
irq.c 2.9 kB
irq.h 969 Bytes
isa-bus.c 5.7 kB
isa.h 2.8 kB
isa_mmio.c 2.6 kB
ivshmem.c 21.8 kB
jazz_led.c 9.7 kB
kvmclock.c 2.8 kB
kvmclock.h 420 Bytes
lan9118.c 31.8 kB
lance.c 4.6 kB
leon3.c 6.6 kB
lm32.h 453 Bytes
lm32_boards.c 10 kB
lm32_hwsetup.h 4.9 kB
lm32_juart.c 3.4 kB
lm32_juart.h 320 Bytes
lm32_pic.c 4.2 kB
lm32_pic.h 372 Bytes
lm32_sys.c 4.4 kB
lm32_timer.c 5.2 kB
lm32_uart.c 6.3 kB
lm4549.c 9 kB
lm4549.h 1 kB
lm832x.c 14.4 kB
loader.c 19.7 kB
loader.h 1.9 kB
lsi53c895a.c 61 kB
m48t59.c 19.8 kB
mac_dbdma.c 21.4 kB
mac_dbdma.h 1.6 kB
mac_nvram.c 5.1 kB
macio.c 4 kB
mainstone.c 5.6 kB
marvell_88w8618_audio.c 8 kB
max111x.c 3.8 kB
max7310.c 4.7 kB
mc146818rtc.c 21.3 kB
mc146818rtc.h 300 Bytes
mcf.h 969 Bytes
mcf5206.c 14.1 kB
mcf5208.c 8.2 kB
mcf_fec.c 12.4 kB
mcf_intc.c 3.7 kB
mcf_uart.c 7 kB
microblaze_pic_cpu.c 1.6 kB
microblaze_pic_cpu.h 171 Bytes
milkymist-ac97.c 8 kB
milkymist-hpdmc.c 3.9 kB
milkymist-hw.h 6.2 kB
milkymist-memcard.c 7.8 kB
milkymist-minimac2.c 13.7 kB
milkymist-pfpu.c 14.1 kB
milkymist-softusb.c 8.7 kB
milkymist-sysctl.c 8.4 kB
milkymist-tmu2.c 13.1 kB
milkymist-uart.c 5.3 kB
milkymist-vgafb.c 7.6 kB
milkymist-vgafb_template.h 2.5 kB
milkymist.c 6.7 kB
mips-bios.h 175 Bytes
mips.h 1 kB
mips_addr.c 1.3 kB
mips_cpudevs.h 372 Bytes
mips_fulong2e.c 12.3 kB
mips_int.c 1.9 kB
mips_jazz.c 10.4 kB
mips_malta.c 33.8 kB
mips_mipssim.c 7.2 kB
mips_r4k.c 8.8 kB
mips_timer.c 4.4 kB
mipsnet.c 7 kB
mpc8544_guts.c 3.8 kB
msi.c 11.1 kB
msi.h 1.4 kB
msix.c 11.9 kB
msix.h 864 Bytes
msmouse.c 2.7 kB
msmouse.h 83 Bytes
mst_fpga.c 5.6 kB
multiboot.c 12.2 kB
multiboot.h 341 Bytes
musicpal.c 44.2 kB
nand.c 22.6 kB
ne2000-isa.c 3.1 kB
ne2000.c 23.1 kB
ne2000.h 962 Bytes
nseries.c 43.4 kB
nvram.h 1.9 kB
omap.h 35.3 kB
omap1.c 115.8 kB
omap2.c 85.5 kB
omap_clk.c 30.3 kB
omap_dma.c 59.2 kB
omap_dss.c 32.1 kB
omap_gpio.c 20.2 kB
omap_gpmc.c 28 kB
omap_gptimer.c 12.9 kB
omap_i2c.c 13.2 kB
omap_intc.c 17.2 kB
omap_l4.c 4.4 kB
omap_lcd_template.h 4.9 kB
omap_lcdc.c 12.4 kB
omap_mmc.c 16 kB
omap_sdrc.c 4.8 kB
omap_spi.c 9.7 kB
omap_sx1.c 8 kB
omap_synctimer.c 2.8 kB
omap_tap.c 3.4 kB
omap_uart.c 5.2 kB
onenand.c 24.3 kB
opencores_eth.c 19 kB
openpic.c 48.1 kB
openpic.h 765 Bytes
palm.c 9.4 kB
parallel.c 17.7 kB
pc.c 33.2 kB
pc.h 7.4 kB
pc_piix.c 18.8 kB
pci-hotplug.c 8.3 kB
pci-stub.c 1.4 kB
pci.c 60.2 kB
pci.h 16.7 kB
pci_bridge.c 12.7 kB
pci_bridge.h 2.1 kB
pci_host.c 4.9 kB
pci_host.h 2.3 kB
pci_ids.h 4 kB
pci_internals.h 2 kB
pci_regs.h 35.4 kB
pcie.c 19.2 kB
pcie.h 5.4 kB
pcie_aer.c 31.5 kB
pcie_aer.h 3.4 kB
pcie_host.c 4.7 kB
pcie_host.h 1.5 kB
pcie_port.c 3.6 kB
pcie_port.h 1.4 kB
pcie_regs.h 7.2 kB
pckbd.c 15.5 kB
pcmcia.h 1.8 kB
pcnet-pci.c 11 kB
pcnet.c 54.2 kB
pcnet.h 2 kB
pcspk.c 4.2 kB
petalogix_ml605_mmu.c 8.9 kB
petalogix_s3adsp1800_mmu.c 7.7 kB
pflash_cfi01.c 19.9 kB
pflash_cfi02.c 21.9 kB
piix4.c 3.7 kB
piix_pci.c 17.6 kB
pixel_ops.h 1.7 kB
pl011.c 7.6 kB
pl022.c 8.1 kB
pl031.c 5.7 kB
pl041.c 16.4 kB
pl041.h 3.4 kB
pl041.hx 2 kB
pl050.c 4.5 kB
pl061.c 8.2 kB
pl080.c 11.1 kB
pl110.c 12.1 kB
pl110_template.h 9.3 kB
pl181.c 13.9 kB
pl190.c 7.3 kB
pm_smbus.c 4.2 kB
pm_smbus.h 482 Bytes
ppc-viosrp.h 6.7 kB
ppc.c 38.3 kB
ppc.h 3.5 kB
ppc405.h 3.1 kB
ppc405_boards.c 20 kB
ppc405_uc.c 66.1 kB
ppc440.c 3.5 kB
ppc440.h 541 Bytes
ppc440_bamboo.c 6.4 kB
ppc4xx.h 2.5 kB
ppc4xx_devs.c 20.3 kB
ppc4xx_pci.c 10.9 kB
ppc_booke.c 7.9 kB
ppc_mac.h 3.1 kB
ppc_newworld.c 15.3 kB
ppc_oldworld.c 11.3 kB
ppc_prep.c 21.5 kB
ppce500_mpc8544ds.c 13.1 kB
ppce500_pci.c 10.1 kB
ppce500_spin.c 5.3 kB
prep_pci.c 4.8 kB
prep_pci.h 250 Bytes
primecell.h 461 Bytes
ps2.c 20.2 kB
ps2.h 400 Bytes
ptimer.c 5.5 kB
pxa.h 5.4 kB
pxa2xx.c 67.5 kB
pxa2xx_dma.c 15.9 kB
pxa2xx_gpio.c 9.7 kB
pxa2xx_keypad.c 9.6 kB
pxa2xx_lcd.c 29 kB
pxa2xx_mmci.c 14.2 kB
pxa2xx_pcmcia.c 5.2 kB
pxa2xx_pic.c 9.4 kB
pxa2xx_template.h 11.3 kB
pxa2xx_timer.c 14.1 kB
qdev-addr.c 1.9 kB
qdev-addr.h 277 Bytes
qdev-properties.c 28.5 kB
qdev.c 39.4 kB
qdev.h 21.2 kB
qxl-logger.c 8.2 kB
qxl-render.c 7.6 kB
qxl.c 57.3 kB
qxl.h 4.3 kB
r2d.c 9.5 kB
rc4030.c 21.2 kB
realview.c 15.1 kB
realview_gic.c 1.1 kB
rtl8139.c 99.8 kB
s390-virtio-bus.c 11.3 kB
s390-virtio-bus.h 2.3 kB
s390-virtio.c 9 kB
sb16.c 34.5 kB
sbi.c 3.8 kB
scsi-bus.c 39.7 kB
scsi-defs.h 10.2 kB
scsi-disk.c 53.6 kB
scsi-generic.c 13.1 kB
scsi.h 6.8 kB
sd.c 46.9 kB
sd.h 2.8 kB
serial.c 27 kB
sga.c 1.8 kB
sh.h 1.6 kB
sh7750.c 23.2 kB
sh7750_regnames.c 2.3 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 kB
sh_serial.c 10.3 kB
sh_timer.c 8.8 kB
sharpsl.h 352 Bytes
shix.c 3.4 kB
slavio_intctl.c 13.6 kB
slavio_misc.c 12.8 kB
slavio_timer.c 13.8 kB
sm501.c 41.3 kB
sm501_template.h 3.8 kB
smbios.c 7.6 kB
smbios.h 4.4 kB
smbus.c 7.9 kB
smbus.h 3.1 kB
smbus_eeprom.c 4.4 kB
smc91c111.c 21.8 kB
soc_dma.c 11.6 kB
soc_dma.h 3.4 kB
spapr.c 20.2 kB
spapr.h 11.9 kB
spapr_hcall.c 19.8 kB
spapr_llan.c 15.3 kB
spapr_pci.c 16.9 kB
spapr_pci.h 1.8 kB
spapr_rtas.c 8.7 kB
spapr_vio.c 19.3 kB
spapr_vio.h 4 kB
spapr_vscsi.c 28 kB
spapr_vty.c 4.8 kB
sparc32_dma.c 8.7 kB
sparc32_dma.h 446 Bytes
spitz.c 31.6 kB
srp.h 6.3 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.4 kB
stellaris_input.c 2.3 kB
strongarm.c 40.5 kB
strongarm.h 1.5 kB
sun4c_intctl.c 5.9 kB
sun4m.c 56.8 kB
sun4m.h 1.1 kB
sun4m_iommu.c 12.9 kB
sun4u.c 27.2 kB
sysbus.c 6.6 kB
sysbus.h 2.8 kB
tc58128.c 4.2 kB
tc6393xb.c 17.8 kB
tc6393xb_template.h 2.1 kB
tcx.c 18.7 kB
tmp105.c 5.9 kB
tosa.c 7.5 kB
tsc2005.c 15.2 kB
tsc210x.c 33.8 kB
tusb6010.c 24.4 kB
twl92230.c 24.3 kB
unin_pci.c 12.2 kB
usb-bt.c 17.2 kB
usb-bus.c 12.2 kB
usb-ccid.c 40.7 kB
usb-desc.c 11.7 kB
usb-desc.h 3.8 kB
usb-ehci.c 67.8 kB
usb-hid.c 19.7 kB
usb-hub.c 15.9 kB
usb-libhw.c 2 kB
usb-msd.c 17.9 kB
usb-musb.c 43.8 kB
usb-net.c 43.1 kB
usb-ohci.c 52.7 kB
usb-ohci.h 139 Bytes
usb-serial.c 16.8 kB
usb-uhci.c 33.1 kB
usb-uhci.h 237 Bytes
usb-wacom.c 10 kB
usb.c 10.9 kB
usb.h 12 kB
versatile_pci.c 3.5 kB
versatilepb.c 11.2 kB
vexpress.c 8 kB
vga-isa-mm.c 4.3 kB
vga-isa.c 2.8 kB
vga-pci.c 3 kB
vga.c 68.5 kB
vga_int.h 8.1 kB
vga_template.h 15.8 kB
vhost.c 25.4 kB
vhost.h 1.4 kB
vhost_net.c 6.4 kB
vhost_net.h 574 Bytes
virtex_ml507.c 8.4 kB
virtio-balloon.c 7.1 kB
virtio-balloon.h 1.5 kB
virtio-blk.c 16.8 kB
virtio-blk.h 2.9 kB
virtio-console.c 4.5 kB
virtio-net.c 31.2 kB
virtio-net.h 7.4 kB
virtio-pci.c 27.6 kB
virtio-pci.h 1.3 kB
virtio-serial-bus.c 25.2 kB
virtio-serial.h 5.7 kB
virtio.c 25.7 kB
virtio.h 8.7 kB
vmmouse.c 7.5 kB
vmport.c 4.3 kB
vmware_vga.c 33.5 kB
vmware_vga.h 349 Bytes
vt82c686.c 14.6 kB
vt82c686.h 323 Bytes
watchdog.c 4.2 kB
watchdog.h 1.4 kB
wdt_i6300esb.c 13.7 kB
wdt_ib700.c 3.5 kB
wm8750.c 20.1 kB
xen.h 1.5 kB
xen_backend.c 21 kB
xen_backend.h 3.8 kB
xen_blkif.h 3.5 kB
xen_common.h 3.2 kB
xen_console.c 7.3 kB
xen_devconfig.c 4.8 kB
xen_disk.c 23.1 kB
xen_domainbuild.c 8.5 kB
xen_domainbuild.h 487 Bytes
xen_machine_pv.c 3.5 kB
xen_nic.c 13.7 kB
xen_platform.c 10.8 kB
xenfb.c 30.5 kB
xics.c 12.3 kB
xics.h 1.5 kB
xilinx.h 2.7 kB
xilinx_axidma.c 12.8 kB
xilinx_axidma.h 1 kB
xilinx_axienet.c 22.1 kB
xilinx_ethlite.c 6.9 kB
xilinx_intc.c 4.7 kB
xilinx_timer.c 6.3 kB
xilinx_uartlite.c 5.5 kB
xio3130_downstream.c 6.2 kB
xio3130_downstream.h 406 Bytes
xio3130_upstream.c 5.2 kB
xio3130_upstream.h 319 Bytes
xtensa_bootparam.h 528 Bytes
xtensa_lx60.c 9.6 kB
xtensa_pic.c 5.6 kB
xtensa_sim.c 4 kB
z2.c 8.9 kB
zaurus.c 6.9 kB

Latest revisions

# Date Author Comment
3799ce4a 12/21/2011 06:04 am Andrzej Zaborowski

sd: Remember to reset .expecting_acmd on reset.

Signed-off-by: Andrzej Zaborowski <>

fcfa9351 12/21/2011 06:01 am Peter Maydell

hw/sd.c: Clear status bits when read via response r6

Response format r6 includes a subset of the status bits;
clear the clear-on-read bits which are read by an r6 response.

Signed-off-by: Peter Maydell <>
Signed-off-by: Andrzej Zaborowski <>

1d06cb7a 12/21/2011 06:01 am Peter Maydell

hw/sd.c: Correct handling of APP_CMD status bit

Fix some bugs in our implementation of the APP_CMD status bit: * the response to an ACMD should have APP_CMD set, not cleared * if an illegal ACMD is sent then the next command should be
handled as a normal command...

10a412da 12/21/2011 06:01 am Peter Maydell

hw/sd.c: Correct handling of type B SD status bits

Correct how we handle the type B ("cleared on valid command")
status bits. In particular, the CURRENT_STATE bits in a response
should be the state of the card when it received that command,
not the state when it received the preceding command. (This is...

5b08bfe2 12/21/2011 06:01 am Peter Maydell

hw/sd.c: Set ILLEGAL_COMMAND for ACMDs in invalid state

App commands in an invalid state should set ILLEGAL_COMMAND, not
merely return a zero response.

Signed-off-by: Peter Maydell <>
Signed-off-by: Andrzej Zaborowski <>

b1f517ed 12/21/2011 06:01 am Peter Maydell

hw/sd.c: Handle CRC and locked-card errors in normal code path

Handle returning CRC and locked-card errors in the same code path
we use for other responses. This makes no difference in behaviour
but means that these error responses will be printed by the debug...

53bb8cc4 12/21/2011 06:01 am Peter Maydell

hw/sd.c: Handle illegal commands in sd_do_command

Add an extra sd_illegal value to the sd_rsp_type_t enum so that
sd_app_command() and sd_normal_command() can tell sd_do_command()
that the command was illegal. This is needed so we can do things
like reset certain status bits only on receipt of a valid command....

e30d5938 12/21/2011 06:01 am Peter Maydell

hw/sd.c: When setting ADDRESS_ERROR bit, don't clear everything else

Fix a typo that meant that ADDRESS_ERRORs setting or clearing write
protection would clear every other bit in the status register.

Signed-off-by: Peter Maydell <>...

abda1f37 12/21/2011 06:01 am Peter Maydell

hw/sd.c: On CRC error, set CRC error status bit rather than clearing it

If we fail to validate the CRC for an SD command we should be setting
COM_CRC_ERROR, not clearing it. (This bug actually has no effect currently
because sd_req_crc_validate() always returns success.)...

b8d334c8 12/21/2011 06:01 am Peter Maydell

hw/sd.c: Add comment regarding CARD_STATUS_* defines

Add a clarifying comment about what the CARD_STATUS_[ABC]
macros are defining.

Signed-off-by: Peter Maydell <>
Signed-off-by: Andrzej Zaborowski <>

View revisions

Also available in: Atom