target-sh4: fix reset on r2d
Signed-off-by: Aurelien Jarno <aurelien@aurel32.net>
mips/malta: fix board id
Board id can't be written with stl_phys() as it's read-only part ofmemory. Use stl_p() on the memory buffer instead.
lsi53c895a: fix endianness issues
lsi_ram_read*() and lsi_ram_write*() are not consistent, one usesleXX_to_cpu() the other uses nothing. As the comment above the RAMdeclaration says: "Script ram is stored as 32-bit words in hostbyteorder.", remove the leXX_to_cpu() calls....
ppc405_uc: fix a buffer overflow
Fix a buffer overflow, reported by cppcheck:[/src/qemu/hw/ppc405_uc.c:72]: (error) Buffer access out-of-bounds: bd.bi_s_version
The use of field bi_s_version seems to be a typo, it should bebi_r_version.
Signed-off-by: Blue Swirl <blauwirbel@gmail.com>
lan9118: fix a buffer overflow
Fix a buffer overflow, reported by cppcheck:[/src/qemu/hw/lan9118.c:849]: (error) Buffer access out-of-bounds: s.eeprom
All eeprom handling code assumes that the size of eeprom is 128,except lan9118_eeprom_cmd. Fix this by restricting the address passed....
loader: fix a file descriptor leak
Fix a file descriptor leak, reported by cppcheck:[/src/qemu/hw/loader.c:311]: (error) Resource leak: fd
Merge remote branch 'mst/for_anthony' into staging
target-sh4: implement writes to mmaped ITLB
Some Linux kernels seems to implement ITLB/UTLB flushing through bywriting all TLB entries through the memory mapped interface insteadof writing one to MMUCR.TI.
Implement memory mapped ITLB write interface so that such kernels can...
cirrus: delete GCC 4.6 warnings
Commit 92d675d1c1f23f3617e24b63c825074a1d1da44b triggered uninitializedvariables warning with GCC 4.6. Fix them by adding zero initializers.
Acked-by: Blue Swirl <blauwirbel@gmail.com>Signed-off-by: Aurelien Jarno <aurelien@aurel32.net>
cirrus_vga: Declare as little endian
This patch replaces explicit bswaps with endianness hints to themmio layer.
CC: Alexander Graf <agraf@suse.de>Signed-off-by: Blue Swirl <blauwirbel@gmail.com>
View revisions
Also available in: Atom