s390: compile fixes
The s390 target doesn't compile out of the box anymore. This patch fixes allthe obvious glitches that got introduced in the last few weeks.
Signed-off-by: Alexander Graf <agraf@suse.de>Signed-off-by: Aurelien Jarno <aurelien@aurel32.net>
qdev: sysbus_get_default must not return a NULL pointer (fix regression)
Every system should have some sort of main system bus,so sysbus_get_default should always return a valid bus.
Without this patch, at least mipssim and malta no longerstart but raise a null pointer access exception (caused by...
sparc32: ledma extra registers need tracing too
Also trace the extra registers, and update the comments with newinfo from Artyom Tarasenko.
Signed-off-by: Bob Breuer <breuerr@mc.net>Signed-off-by: Blue Swirl <blauwirbel@gmail.com>
wdt_ib700: Fix accidental use of SoftFloat int64 type
softfloat.h's int64 type has least-width semantics.Since we're assigning an int64_t, use plain int64_t.
Signed-off-by: Andreas Färber <andreas.faerber@web.de>...
apic: Fix accidental use of SoftFloat uint32 type
softfloat.h's uint32 type has least-width semantics.Surrounding code uses uint32_t, so use uint32_t here, too.
ahci: delete write-only variables (v2)
Avoid these warnings with GCC 4.6.0:/src/qemu/hw/ide/ahci.c: In function 'ahci_reset_port':/src/qemu/hw/ide/ahci.c:810:14: error: variable 'tfd' set but not used [-Werror=unused-but-set-variable]/src/qemu/hw/ide/ahci.c: In function 'handle_cmd':...
vga: Declare as little endian
This patch replaces explicit bswaps with endianness hints to themmio layer.
CC: Alexander Graf <agraf@suse.de>Acked-by: Alexander Graf <agraf@suse.de>Signed-off-by: Blue Swirl <blauwirbel@gmail.com>
sparc32: ledma extra registers
ledma has 0x20 bytes of registers according to OBP, and at least Solaris9reads the 5th register which is beyond what we've mapped. So let's setupa flag (inspired by a previous patch from Blue Swirl) to identify ledmafrom espdma, and map another 16 bytes of registers which return 0....
ide: Build fix for via.c
Signed-off-by: Kevin Wolf <kwolf@redhat.com>
ide: Fix build for cmd646.c
Signed-off-by: Kevin Wolf <kwolf@redhat.com>Acked-by: Andreas Färber <andreas.faerber@web.de>
View revisions
Also available in: Atom