From 5ef62c5c4224afdce2f98fb2c3b43f734ab47f72 Mon Sep 17 00:00:00 2001 From: blueswir1 Date: Sun, 29 Apr 2007 19:54:32 +0000 Subject: [PATCH] More Sparc32 CPUs git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@2744 c046a42c-6fe2-441c-8c8c-71466251a162 --- target-sparc/translate.c | 23 ++++++++++++++++++++--- 1 file changed, 20 insertions(+), 3 deletions(-) diff --git a/target-sparc/translate.c b/target-sparc/translate.c index 645b414..4b8b3d2 100644 --- a/target-sparc/translate.c +++ b/target-sparc/translate.c @@ -3355,11 +3355,28 @@ static const sparc_def_t sparc_defs[] = { .mmu_version = 0x04 << 24, /* Impl 0, ver 4 */ }, { - /* XXX: Replace with real values */ + .name = "Fujitsu MB86907", + .iu_version = 0x05 << 24, /* Impl 0, ver 5 */ + .fpu_version = 4 << 17, /* FPU version 4 (Meiko) */ + .mmu_version = 0x05 << 24, /* Impl 0, ver 5 */ + }, + { + .name = "TI MicroSparc I", + .iu_version = 0x41000000, + .fpu_version = 4 << 17, + .mmu_version = 0x41000000, + }, + { .name = "TI SuperSparc II", .iu_version = 0x40000000, - .fpu_version = 0x00000000, - .mmu_version = 0x00000000, + .fpu_version = 0 << 17, + .mmu_version = 0x04000000, + }, + { + .name = "Ross RT620", + .iu_version = 0x1e000000, + .fpu_version = 1 << 17, + .mmu_version = 0x17000000, }, #endif }; -- 2.7.4