Hi Peter, Please pull.
As suggested by you, system calls are now intercepted in lm32_cpu_do_interrupt(). Apart from that i've rebased the submitted patches to the latest master. The following changes since commit 178ac111bca16c08a79b2609ebdc75197bea976a: Merge remote-tracking branch 'remotes/qmp-unstable/queue/qmp' into staging (2014-05-22 19:04:49 +0100) are available in the git repository at: git://github.com/mwalle/qemu tags/lm32-semihosting/20140524 for you to fetch changes up to 25156d10617794f9399d676ccd9a20f52e0c9f21: lm32: remove lm32_sys (2014-05-24 19:43:52 +0200) ---------------------------------------------------------------- Michael Walle (4): test: lm32: make test cases independent target-lm32: add semihosting support test: lm32: use semihosting for testing lm32: remove lm32_sys hw/misc/Makefile.objs | 1 - hw/misc/lm32_sys.c | 179 ----------------------------------- qemu-options.hx | 3 +- target-lm32/Makefile.objs | 1 + target-lm32/README | 15 ++- target-lm32/cpu.h | 1 + target-lm32/helper.c | 14 ++- target-lm32/lm32-semi.c | 215 +++++++++++++++++++++++++++++++++++++++++++ tests/tcg/lm32/Makefile | 15 +-- tests/tcg/lm32/crt.S | 4 +- tests/tcg/lm32/helper.S | 65 +++++++++++++ tests/tcg/lm32/macros.inc | 37 +++++--- tests/tcg/lm32/test_lb.S | 4 + tests/tcg/lm32/test_lbu.S | 4 + tests/tcg/lm32/test_lh.S | 4 + tests/tcg/lm32/test_lhu.S | 4 + tests/tcg/lm32/test_lw.S | 2 + tests/tcg/lm32/test_sb.S | 2 + tests/tcg/lm32/test_scall.S | 4 + tests/tcg/lm32/test_sh.S | 2 + tests/tcg/lm32/test_sw.S | 3 + trace-events | 3 - 22 files changed, 366 insertions(+), 216 deletions(-) delete mode 100644 hw/misc/lm32_sys.c create mode 100644 target-lm32/lm32-semi.c create mode 100644 tests/tcg/lm32/helper.S -- 1.7.10.4