[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Qemu-devel] [PATCH 0/4] Semihosting support for LatticeMico32
From: |
Michael Walle |
Subject: |
[Qemu-devel] [PATCH 0/4] Semihosting support for LatticeMico32 |
Date: |
Tue, 22 Apr 2014 20:18:40 +0200 |
As discussed earlier this year, the lm32-sys device is a hack. Therefore,
this patchset adds semihosting support for the lm32 target and make the
tcg tests use it. The last patch finally removes the lm32-sys device.
If no one has any comments or objections, i'll post a pull request in a few
days.
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 | 180 ------------------------------------
qemu-options.hx | 3 +-
target-lm32/Makefile.objs | 1 +
target-lm32/README | 15 ++-
target-lm32/helper.h | 1 +
target-lm32/lm32-semi.c | 212 +++++++++++++++++++++++++++++++++++++++++++
target-lm32/translate.c | 19 +++-
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, 367 insertions(+), 218 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
- [Qemu-devel] [PATCH 0/4] Semihosting support for LatticeMico32,
Michael Walle <=
- [Qemu-devel] [PATCH 3/4] test: lm32: use semihosting for testing, Michael Walle, 2014/04/22
- [Qemu-devel] [PATCH 4/4] lm32: remove lm32_sys, Michael Walle, 2014/04/22
- [Qemu-devel] [PATCH 1/4] test: lm32: make test cases independent, Michael Walle, 2014/04/22
- [Qemu-devel] [PATCH 2/4] target-lm32: add semihosting support, Michael Walle, 2014/04/22
- Re: [Qemu-devel] [PATCH 0/4] Semihosting support for LatticeMico32, Peter Maydell, 2014/04/28