Hi Peter, this is a pull request for various updates and fixes for the LatticeMico32 target.
Please pull. changes since v4: - rebased - incorporated all fixes suggested by Peter Maydell during v4 review. changes since v3: - rebased - signed pull request changes since v2: - rebased - replaced ifdef HOST_WORDS_BIGENDIAN with be16_to_cpu() in "milkymist-vgafb: swap pixel data in source buffer" - bumped "target-lm32: move model features to LM32CPU" to v2 patch with minor fixes found by Andreas Faerber - new patch "hw/lm32: print error if cpu model is not found" changes since v1: - rebased - dropped patch "target-lm32: register helper functions". This is no longer needed. - added patch "target-lm32: stop VM on illegal or unknown instruction". Was posted as request for comments before. But since there were no comments, include it here. Thanks, michael The following changes since commit 9396b05a5a35d344dc5eaed6fb0dff96c49d5f50: Merge remote-tracking branch 'remotes/mcayland/qemu-openbios' into staging (2014-02-04 16:16:37 +0000) are available in the git repository at: git://github.com/mwalle/qemu tags/lm32-fixes/20140204 for you to fetch changes up to f41152bd9d01ab327c19a3828bb7896d67cf0752: hw/lm32: print error if cpu model is not found (2014-02-04 19:47:39 +0100) ---------------------------------------------------------------- target-lm32: fixes ---------------------------------------------------------------- Antony Pavlov (1): milkymist-uart: use qemu_chr_fe_write_all() instead of qemu_chr_fe_write() Michael Walle (11): lm32_sys: increase test case name length limit tests: lm32: new rule for single test cases lm32_uart/lm32_juart: use qemu_chr_fe_write_all() milkymist-vgafb: swap pixel data in source buffer target-lm32: kill cpu_abort() calls target-lm32: move model features to LM32CPU target-lm32: add breakpoint/watchpoint support lm32_sys: print test result on stderr lm32_sys: dump cpu state if test case fails target-lm32: stop VM on illegal or unknown instruction hw/lm32: print error if cpu model is not found hw/char/lm32_juart.c | 2 +- hw/char/lm32_uart.c | 2 +- hw/char/milkymist-uart.c | 2 +- hw/display/milkymist-vgafb_template.h | 2 +- hw/lm32/lm32_boards.c | 10 ++ hw/lm32/milkymist.c | 5 + hw/misc/lm32_sys.c | 8 +- target-lm32/TODO | 2 - target-lm32/cpu-qom.h | 6 + target-lm32/cpu.c | 188 +++++++++++++++++++++++++++- target-lm32/cpu.h | 34 +++-- target-lm32/helper.c | 218 ++++++++++++++------------------- target-lm32/helper.h | 4 + target-lm32/op_helper.c | 75 +++++++++++- target-lm32/translate.c | 193 +++++++++++++++++------------ tests/tcg/lm32/Makefile | 8 +- 16 files changed, 539 insertions(+), 220 deletions(-) -- 1.7.10.4