aboutsummaryrefslogtreecommitdiff
path: root/hw
AgeCommit message (Collapse)Author
2011-04-25rtl8139: add format attribute to DPRINTFBenjamin Poirier
gcc can check the format string for correctness even when debugging output is not enabled. Have to make sure arguments are always available. They are optimized out if unneeded. Signed-off-by: Benjamin Poirier <benjamin.poirier@gmail.com> Cc: Igor V. Kovalenko <igor.v.kovalenko@gmail.com> Reviewed-by: Stefan Hajnoczi <stefanha@linux.vnet.ibm.com> Signed-off-by: Aurelien Jarno <aurelien@aurel32.net>
2011-04-25rtl8139: use variadic macro for debug statementsBenjamin Poirier
Removes double (( )) to make DEBUG_PRINT compatible with real function calls. Change the name to DPRINTF to be consistent with other DPRINTF macros throughout qemu. Include the "RTL8139: " prefix in the macro. This changes some debug output slightly since the prefix wasn't present on all lines. Part of the change was done using the "coccinelle" tool with the following small semantic match: @@ expression E; @@ - DEBUG_PRINT((E)) + DPRINTF(E) Signed-off-by: Benjamin Poirier <benjamin.poirier@gmail.com> Cc: Igor V. Kovalenko <igor.v.kovalenko@gmail.com> Reviewed-by: Stefan Hajnoczi <stefanha@linux.vnet.ibm.com> Signed-off-by: Aurelien Jarno <aurelien@aurel32.net>
2011-04-25rtl8139: use TARGET_FMT_plx in debug messagesBenjamin Poirier
Prevents a compilation failure when DEBUG_RTL8139 is defined: CC libhw32/rtl8139.o cc1: warnings being treated as errors hw/rtl8139.c: In function ‘rtl8139_cplus_transmit_one’: hw/rtl8139.c:1960: error: format ‘%8lx’ expects type ‘long unsigned int’, but argument 5 has type ‘target_phys_addr_t’ make[1]: *** [rtl8139.o] Error 1 Signed-off-by: Benjamin Poirier <benjamin.poirier@gmail.com> Cc: Igor V. Kovalenko <igor.v.kovalenko@gmail.com> Reviewed-by: Stefan Hajnoczi <stefanha@linux.vnet.ibm.com> Signed-off-by: Aurelien Jarno <aurelien@aurel32.net>
2011-04-25Merge remote-tracking branch 'awilliam/ipxe' into stagingAnthony Liguori
2011-04-22vmstate: port mac_dbdmaJuan Quintela
Signed-off-by: Juan Quintela <quintela@redhat.com>
2011-04-22mac_dbdma: create DBDMAState instead of passing one array aroundJuan Quintela
Signed-off-by: Juan Quintela <quintela@redhat.com>
2011-04-22vmstate: port piix4Juan Quintela
Signed-off-by: Juan Quintela <quintela@redhat.com>
2011-04-22piix4: create PIIX4StateJuan Quintela
It only contains a PCIDevice by know, but it makes easy to use migration code Signed-off-by: Juan Quintela <quintela@redhat.com>
2011-04-22vmstate: port mac_nvramJuan Quintela
Signed-off-by: Juan Quintela <quintela@redhat.com>
2011-04-22mac_nvram: size is a size, no need to be a target dependent typeJuan Quintela
Signed-off-by: Juan Quintela <quintela@redhat.com>
2011-04-22vmstate: port nandJuan Quintela
Signed-off-by: Juan Quintela <quintela@redhat.com>
2011-04-22nand: pin values are uint8_tJuan Quintela
Signed-off-by: Juan Quintela <quintela@redhat.com>
2011-04-22vmstate: port max111xJuan Quintela
Signed-off-by: Juan Quintela <quintela@redhat.com>
2011-04-22max111x: input field is only used as uint8_tJuan Quintela
Signed-off-by: Juan Quintela <quintela@redhat.com>
2011-04-22vmstate: port pxa2xx_lcdJuan Quintela
Signed-off-by: Juan Quintela <quintela@redhat.com>
2011-04-22pxa2xx_lcd: up field is used as a bool and migrated as an uint8_tJuan Quintela
Signed-off-by: Juan Quintela <quintela@redhat.com>
2011-04-22pxa2xx_lcd: name anonymous structJuan Quintela
Signed-off-by: Juan Quintela <quintela@redhat.com>
2011-04-22vmstate: stellaris use unused for placeholder entriesJuan Quintela
Signed-off-by: Juan Quintela <quintela@redhat.com>
2011-04-22vmstate: port stellaris gamepadJuan Quintela
Signed-off-by: Juan Quintela <quintela@redhat.com>
2011-04-22vmstate: port syborg_keyboardJuan Quintela
Signed-off-by: Juan Quintela <quintela@redhat.com>
2011-04-22vmstate: port syborg_serialJuan Quintela
Signed-off-by: Juan Quintela <quintela@redhat.com>
2011-04-22vmstate: port stellaris_adcJuan Quintela
Signed-off-by: Juan Quintela <quintela@redhat.com>
2011-04-22vmstate: port syborg_pointerJuan Quintela
Signed-off-by: Juan Quintela <quintela@redhat.com>
2011-04-22vmstate: port ppc4xx_pciJuan Quintela
Signed-off-by: Juan Quintela <quintela@redhat.com>
2011-04-22vmstate: port ppce500_pciJuan Quintela
Signed-off-by: Juan Quintela <quintela@redhat.com>
2011-04-22vmstate: port pxa2xx_pmJuan Quintela
Signed-off-by: Juan Quintela <quintela@redhat.com>
2011-04-22vmstate: port pxa2xx_mmJuan Quintela
Signed-off-by: Juan Quintela <quintela@redhat.com>
2011-04-22vmstate: port pxa2xx_cmJuan Quintela
Signed-off-by: Juan Quintela <quintela@redhat.com>
2011-04-22vmstate: port pxa2xx_i2sJuan Quintela
Signed-off-by: Juan Quintela <quintela@redhat.com>
2011-04-22vmstate: port stellaris gptmJuan Quintela
Signed-off-by: Juan Quintela <quintela@redhat.com>
2011-04-22vmstate: port cudaJuan Quintela
Signed-off-by: Juan Quintela <quintela@redhat.com>
2011-04-22vmstate: port heathrow_picJuan Quintela
Signed-off-by: Juan Quintela <quintela@redhat.com>
2011-04-22vmstate: port pl022 sspJuan Quintela
Signed-off-by: Juan Quintela <quintela@redhat.com>
2011-04-22vmstate: port stellaris sysJuan Quintela
Signed-off-by: Juan Quintela <quintela@redhat.com>
2011-04-22vmstate: port stellaris ssi busJuan Quintela
Signed-off-by: Juan Quintela <quintela@redhat.com>
2011-04-22vmstate: port stellaris i2cJuan Quintela
Signed-off-by: Juan Quintela <quintela@redhat.com>
2011-04-22vmstate: port armv7m nvicJuan Quintela
Signed-off-by: Juan Quintela <quintela@redhat.com>
2011-04-22vmstate: port pl011Juan Quintela
Signed-off-by: Juan Quintela <quintela@redhat.com>
2011-04-22vmstate: port pxa2xx_keypadJuan Quintela
Signed-off-by: Juan Quintela <quintela@redhat.com>
2011-04-22vmstate: port syborg_rtcJuan Quintela
Signed-off-by: Juan Quintela <quintela@redhat.com>
2011-04-22vmstate: port pmtimerJuan Quintela
It was a half conversion. Finish it. enabled can only get values of 0, 1 or 2, was declared as an int but sent as an unint8_t, change its type. Signed-off-by: Juan Quintela <quintela@redhat.com>
2011-04-22vmstate: port sysborg_timerJuan Quintela
Signed-off-by: Juan Quintela <quintela@redhat.com>
2011-04-22vmstate: port arm_timerJuan Quintela
Signed-off-by: Juan Quintela <quintela@redhat.com>
2011-04-22vmstate: port arm sp804Juan Quintela
Signed-off-by: Juan Quintela <quintela@redhat.com>
2011-04-22vmstate: port mipsnetJuan Quintela
Signed-off-by: Juan Quintela <quintela@redhat.com>
2011-04-22vmstate: port m48t59Juan Quintela
Signed-off-by: Juan Quintela <quintela@redhat.com>
2011-04-22vmstate: port ads7846Juan Quintela
Signed-off-by: Juan Quintela <quintela@redhat.com>
2011-04-22vmstate: port adb_mouseJuan Quintela
Signed-off-by: Juan Quintela <quintela@redhat.com>
2011-04-22vmstate: port adb_kbdJuan Quintela
Signed-off-by: Juan Quintela <quintela@redhat.com>
2011-04-20hw/arm_boot.c: move initrd load address up to accommodate large kernelsPeter Maydell
Newer kernels are large enough that they can overlap the address where qemu places the initrd. Move the initrd up so that there is enough space for the kernel again. Unfortunately it's not possible to automatically determine the size of the kernel if it is compressed, so this is the best we can do. Signed-off-by: Peter Maydell <peter.maydell@linaro.org> Signed-off-by: Aurelien Jarno <aurelien@aurel32.net>