hw/net/stellaris_enet: Avoid unintended sign extension
Add a cast to avoid an unintended sign extension thatwould mean we returned 0xffffffff in the high 32 bitsfor an IA0 read if bit 31 in the MAC address was 1.(This is harmless since we'll only be doing 4 byte...
hw/timer/arm_timer: Avoid array overrun for bad addresses
The integrator's timer read/write functions log an error forbad addresses in guest accesses, but were falling through andusing an out of bounds array index rather than returning early.Fix this....
hw/misc/arm_sysctl: Fix bad boundary check on mb clock accesses
Fix incorrect use of sizeof() rather than ARRAY_SIZE() to guardaccesses into the mb_clock[] array, which was allowing a maliciousguest to overwrite the end of the array.
Signed-off-by: Peter Maydell <peter.maydell@linaro.org>...
ppc/virtex_ml507: Define macros for irq/memory maps
Define macros for the interrupt and memory maps for the sake of selfdocumentation.
Signed-off-by: Peter Crosthwaite <peter.crosthwaite@xilinx.com>Signed-off-by: Edgar E. Iglesias <edgar.iglesias@xilinx.com>
microblaze/ml605: Define macros for irq/memory maps
Define (missing) macros for the interrupt and memory maps for the sakeof self documentation.
xilinx: Inline usages of xilinx_intc_create()
Inline these usages. Converts these init to at least a semi-recent QOMstyling.
xilinx: Inline usages of xilinx_timer_create()
xilinx: Inline usage of xilinx_ethlite_create()
Inline the only usage. Converts this init to at least a semi-recent QOMstyling.
xilinx: Inline usages of xilinx_axi*_init()
Inline the only usage of each of xilinx_axiethernet_init andxilinx_axidma_init. Converts this init to at least a semi-recent QOMstyling.
xilinx: Delete hw/include/xilinx.h
This is now obsolete - remove the header and all its inclusions.
View all revisions | View revisions
Also available in: Atom