[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Qemu-devel] [PATCH v4 0/4] QOM'ify SuperH CPU
From: |
Andreas Färber |
Subject: |
[Qemu-devel] [PATCH v4 0/4] QOM'ify SuperH CPU |
Date: |
Mon, 23 Apr 2012 19:15:06 +0200 |
Hello,
This series converts the SuperH CPU to QOM.
Subclasses, the feature flags bugfix and its consequences throughout code
as well as the controversial QOM'ification of the SH7750 SoC are postponed.
I tested it using the sh-test-0.2 test image.
Available at:
git://github.com/afaerber/qemu-cpu.git qom-cpu-sh4.v4
https://github.com/afaerber/qemu-cpu/commits/qom-cpu-sh4.v4
Note: Depends on cris and microblaze series wrt Makefile.target;
branch is for testing and cherry-picking, not for pulling.
Cf. http://wiki.qemu.org/Features/QOM/CPU#Status
Regards,
Andreas
Cc: Aurélien Jarno <address@hidden>
Cc: Peter Maydell <address@hidden>
v3 -> v4:
* Move cpu_reset() to a new realizefn instead of the initfn (inspired by Peter).
* Drop feature flags reset bugfix and its follow-up patches for now.
v2 -> v3:
* #include cpu.h rather than cpu-qom.h in cpu.c to get consistent include order.
* Replace duplicated typedef in cpu.h by relocating #include of cpu-qom.h.
v1 -> v2:
* Rebased, now ordered after microblaze QOM'ification.
* Fix LGPLv2.1 license notice ("Library" vs. "Lesser" bug in German GNU
webpage).
* Split QOM'ification into three steps to show code movements.
* Drop subclasses and SoC QOM'ification for now.
Andreas Färber (4):
target-sh4: QOM'ify CPU
target-sh4: QOM'ify CPU reset
target-sh4: Start QOM'ifying CPU init
target-sh4: Introduce realizefn for SuperHCPU
Makefile.target | 1 +
target-sh4/cpu-qom.h | 73 +++++++++++++++++++++++++++++++++++
target-sh4/cpu.c | 98 ++++++++++++++++++++++++++++++++++++++++++++++++
target-sh4/cpu.h | 2 +
target-sh4/translate.c | 29 ++------------
5 files changed, 179 insertions(+), 24 deletions(-)
create mode 100644 target-sh4/cpu-qom.h
create mode 100644 target-sh4/cpu.c
--
1.7.7
- [Qemu-devel] [PATCH v4 0/4] QOM'ify SuperH CPU,
Andreas Färber <=