diff options
author | aurel32 | 2008-09-02 18:18:28 +0200 |
---|---|---|
committer | aurel32 | 2008-09-02 18:18:28 +0200 |
commit | 0fd3ca30c44bad68aebf0068403d9c9ce68fb3f6 (patch) | |
tree | d2469a121d433dc978a3c7648ffa1347fa6b0d1e /hw/r2d.c | |
parent | SH4: fix a regression introduced in r5122 (diff) | |
download | qemu-0fd3ca30c44bad68aebf0068403d9c9ce68fb3f6.tar.gz qemu-0fd3ca30c44bad68aebf0068403d9c9ce68fb3f6.tar.xz qemu-0fd3ca30c44bad68aebf0068403d9c9ce68fb3f6.zip |
sh4: CPU versioning.
Trivial patch adding CPU listing and the ability to do per-subtype
CVR/PVR/PRR values. Presently SH7750R and SH7751R definitions are
provided, as these are the ones in present use in-tree.
The CVR value for SH7751R is intentionally restricted so the kernel
boots, though this will want to be switched to the proper CVR value
once system emulation has sufficiently stabilized.
This also makes it trivial to abstract subtype specific registers like
MMU_PTEA and to set up feature bits in line with the kernel probing for
things like conditionalizing FPU/DSP context.
Signed-off-by: Paul Mundt <lethal@linux-sh.org>
Signed-off-by: Aurelien Jarno <aurelien@aurel32.net>
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@5133 c046a42c-6fe2-441c-8c8c-71466251a162
Diffstat (limited to 'hw/r2d.c')
-rw-r--r-- | hw/r2d.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -39,7 +39,7 @@ static void r2d_init(ram_addr_t ram_size, int vga_ram_size, struct SH7750State *s; if (!cpu_model) - cpu_model = "any"; + cpu_model = "SH7751R"; env = cpu_init(cpu_model); if (!env) { |