[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Qemu-devel] [PATCH v2 0/2] QOM'ify MIPS CPU
From: |
Andreas Färber |
Subject: |
[Qemu-devel] [PATCH v2 0/2] QOM'ify MIPS CPU |
Date: |
Mon, 16 Apr 2012 03:41:43 +0200 |
Hello,
This series strips down my MIPS QOM'ification patch from the qom-cpu-others
RFC series. Subclasses are postponed.
I've also left out code movement from cpu_state_reset() into the CPU reset
function since the reset code accesses mips_def_t members and that is only
declared in translate_init.c. I'm trying to avoid moving it around since my
RFC shows that its functionality can be replaced by QOM classes and in that
case would be moving/changing again.
Unfortunately there's nothing to see with Thiemo's mips[el]-test 0.2 images,
both on master and with my patches applied. Is that a known issue?
Tested with Aurélien's Debian Squeeze image.
Available from:
git://github.com/afaerber/qemu-cpu.git qom-cpu-mips.v2
https://github.com/afaerber/qemu-cpu/commits/qom-cpu-mips.v2
Regards,
Andreas
Cc: Aurélien Jarno <address@hidden>
Cc: Richard Henderson <address@hidden>
Cc: Stefan Weil <address@hidden>
v1 -> v2:
* Split off from qom-cpu-others series, rebased and split into multiple steps.
* Update argument/variable naming to avoid "klass".
* Fix LGPLv2.1 license notices ("Lesser" vs. "Library" bug in German GNU
webpage).
* Drop subclasses for now.
* Drop CPU reset QOM'ification since it would require to move mips_def_t
definition.
Andreas Färber (2):
target-mips: QOM'ify CPU
target-mips: Start QOM'ifying CPU init
Makefile.target | 3 ++
target-mips/cpu-qom.h | 74 +++++++++++++++++++++++++++++++++++++++++++++++
target-mips/cpu.c | 69 +++++++++++++++++++++++++++++++++++++++++++
target-mips/cpu.h | 2 +
target-mips/translate.c | 5 ++-
5 files changed, 151 insertions(+), 2 deletions(-)
create mode 100644 target-mips/cpu-qom.h
create mode 100644 target-mips/cpu.c
--
1.7.7
- [Qemu-devel] [PATCH v2 0/2] QOM'ify MIPS CPU,
Andreas Färber <=