History | View | Annotate | Download (5.8 kB)
arm_gic: Support setting/getting binary point reg
Add a binary_point field to the gic emulation structure and supportsetting/getting this register now when we have it. We don't actuallysupport interrupt grouping yet, oh well.
Reviewed-by: Peter Maydell <peter.maydell@linaro.org>...
arm_gic: Add GICC_APRn state to the GICState
The GICC_APRn registers are not currently supported by the ARM GIC v2.0emulation. This patch adds the missing state.
Note that we also change the number of APRs to use a define GIC_NR_APRSbased on the maximum number of preemption levels. This patch also adds...
arm_gic: Keep track of SGI sources
Right now the arm gic emulation doesn't keep track of the source of anSGI (which apparently Linux guests don't use, or they're fine withassuming CPU 0 always).
Add the necessary matrix on the GICState structure and maintain the data...
Merge remote-tracking branch 'afaerber/tags/qom-devices-for-anthony' into staging
QOM infrastructure fixes and device conversions
arm_gic: Rename GIC_X_TRIGGER to GIC_X_EDGE_TRIGGER
TRIGGER can really mean mean anything (e.g. was it triggered, is itlevel-triggered, is it edge-triggered, etc.). Rename to EDGE_TRIGGER tomake the code comprehensible without looking up the data structure....
qdev: Replace no_user by cannot_instantiate_with_device_add_yet
In an ideal world, machines can be built by wiring devices togetherwith configuration, not code. Unfortunately, that's not the world welive in right now. We still have quite a few devices that need to be...
sysbus: Set cannot_instantiate_with_device_add_yet
device_add plugs devices into suitable bus. For "real" buses, thatactually connects the device. For sysbus, the connections need to bemade separately, and device_add can't do that. The device would be...
arm_gic: Extract headers hw/intc/arm_gic{,_common}.h
Rename NCPU to GIC_NCPU and move GICState away from gic_internal.h.
Reviewed-by: Peter Maydell <peter.maydell@linaro.org>Signed-off-by: Andreas Färber <afaerber@suse.de>
arm_gic: QOM cast cleanup
Signed-off-by: Andreas Färber <afaerber@suse.de>
hw: move interrupt controllers to hw/intc/, configure with default-configs/
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
hw: move private headers to hw/ subdirectories.
Many headers are used only in a single directory. These can bekept in hw/.