History | View | Annotate | Download (23.3 kB)
device_tree: s/qemu_devtree/qemu_fdt globally
The qemu_devtree API is a wrapper around the fdt_ set of APIs.Rename accordingly.
Signed-off-by: Peter Crosthwaite <peter.crosthwaite@xilinx.com>[agraf: also convert hw/arm/virt.c]Signed-off-by: Alexander Graf <agraf@suse.de>
Fix NOR flash device ID reading
Fix NOR flash manufacturer and device ID reading. This nowproperly takes into account device widths and device max widthsas required. The reading of these IDs uses the same max_widthdependent addressing as CFI queries....
Set proper device-width for vexpress flash
Create vexpress specific pflash registrationfunction which properly configures the device-widthof 16 bits (2 bytes) for the NOR flash on thevexpress platform. This change is required forbuffered flash writes to work properly....
hw: Clean up bogus default boot order
We set default boot order "cad" in every single machine definitionexcept "pseries" and "moxiesim", even though very few boards actuallycare for boot order, and "cad" makes sense for even fewer.
Machines that care:...
hw/arm/vexpress: Don't use arm_pic_init_cpu()
Drop the now-deprecated arm_pic_init_cpu() in favour of directlygetting the IRQ line from the ARMCPU object.
Signed-off-by: Peter Maydell <peter.maydell@linaro.org>Message-id: 1375977856-25046-13-git-send-email-peter.maydell@linaro.org
vexpress: Make VEDBoardInfo extend arm_boot_info
Make the VEDBoardInfo struct extend arm_boot_info; this willallow us to get at the VEDBoardInfo information inside callbacksfrom arm/boot code.
Signed-off-by: Peter Maydell <peter.maydell@linaro.org>Message-id: 1373977512-28932-8-git-send-email-peter.maydell@linaro.org
vexpress: Add virtio-mmio transports
Add some virtio-mmio transports to the vexpress board model,together with a modify_dtb hook which adds them to the devicetree so that the kernel will probe for them. We put themin a reserved area of the address map....
hw/arm/vexpress: Add alias for flash at address 0 on A15 board
The A15 Versatile Express board can remap a variety of things at address0. We don't currently emulate the Serial Configuration Controller whichis how the guest can control this remapping, but we can provide the...
cpu: Make first_cpu and next_cpu CPUState
Move next_cpu from CPU_COMMON to CPUState.Move first_cpu variable to qom/cpu.h.
gdbstub needs to use CPUState::env_ptr for now.cpu_copy() no longer needs to save and restore cpu_next.
Acked-by: Paolo Bonzini <pbonzini@redhat.com>...
memory: add owner argument to initialization functions
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
arm: fix location of some include files
The recent rearrangement of include files had some minor errors: devices.h is not ARM specific and should not be in arm/ arm.h should be in arm/
Move these two headers to correct this.
Signed-off-by: Peter Maydell <peter.maydell@linaro.org>...
hw: move headers to include/
Many of these should be cleaned up with proper qdev-/QOM-ification.Right now there are many catch-all headers in include/hw/ARCH dependingon cpu.h, and this makes it necessary to compile these files per-target.However, fixing this does not belong in these patches....
hw/vexpress: Set reset values for daughterboard oscillators
Set the reset values for the VExpress daughterboard oscillatorsvia the new sysctl properties.
Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
hw/vexpress: Pass voltage sensor properties to sysctl device
Pass voltage sensor properties to the sysctl device. Sincethese are daughterboard specific, we specify them via theVEDBoardInfo structure.
hw/vexpress: Pass proc_id via VEDBoardInfo
Pass the daughterboard-specific proc_id property to the code thatcreates the sysctl device via the VEDBoardInfo struct, rather thanby having the daughterboard init function write to a uint32_t*argument. This is a cleaner way to pass the info around, and...
hw: move boards and other isolated files to hw/ARCH