hw/arm_boot.c: Consistently use ram_size from arm_boot_info struct
Clean up the mix of getting the RAM size from the global ram_sizeand from the ram_size field in the arm_boot_info structure, sothat we always use the structure field.
Signed-off-by: Peter Maydell <peter.maydell@linaro.org>...
hw/arm_boot.c: Check for RAM sizes exceeding ATAGS capacity
The legacy ATAGS format for passing information to the kernel onlyallows RAM sizes which fit in 32 bits; enforce this restrictionrather than silently doing something weird.
hw/arm_boot.c: Support DTBs which use 64 bit addresses
Support the case where the device tree blob specifies that#address-cells and #size-cells are greater than 1. (Thisis needed for device trees which can handle 64 bit physicaladdresses and thus total RAM sizes over 4GB.)...
hw/pl011.c: Avoid crash on read when no chr backend present
Add a missing guard that meant we would segfault if the guest readUARTDR on a PL011 serial device which had no chr backend connected.(This didn't happen for Linux guests because Linux reads the flags...
hw/arm_boot.c: Make ram_size a uint64_t
Make the RAM size in arm_boot_info a uint64_t so it can expressthe larger RAM sizes that may be seen in LPAE systems.
Signed-off-by: Peter Maydell <peter.maydell@linaro.org>Reviewed-by: Peter A. G. Crosthwaite <peter.crosthwaite@petalogix.com>
Merge remote-tracking branch 'kwolf/for-anthony' into staging
Merge remote-tracking branch 'qemu-kvm/uq/master' into staging
Merge remote-tracking branch 'kraxel/usb.57' into staging
constify value pointer for qdev_prop_set_string
qdev_prop_set_string uses object_property_set_str, which takesa const char * for the value. Lets propagate the constnessinto qdev_prop_set_string.
Signed-off-by: Christian Borntraeger <borntraeger@de.ibm.com>...
fdc: fix relative seek
Signed-off-by: Pavel Hrdina <phrdina@redhat.com>Signed-off-by: Kevin Wolf <kwolf@redhat.com>
View revisions
Also available in: Atom