From c7ba218da1639a054b5ca1c259530305562fa571 Mon Sep 17 00:00:00 2001 From: blueswir1 Date: Tue, 22 Jul 2008 07:07:34 +0000 Subject: Add T1 and T2 CPUs, add a Sun4v machine git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@4923 c046a42c-6fe2-441c-8c8c-71466251a162 --- target-sparc/helper.c | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) (limited to 'target-sparc/helper.c') diff --git a/target-sparc/helper.c b/target-sparc/helper.c index 06265dc6a4..85b9d5ca11 100644 --- a/target-sparc/helper.c +++ b/target-sparc/helper.c @@ -1115,6 +1115,28 @@ static const sparc_def_t sparc_defs[] = { .nwindows = 8, .features = CPU_DEFAULT_FEATURES, }, + { + .name = "Sun UltraSparc T1", + // defined in sparc_ifu_fdp.v and ctu.h + .iu_version = ((0x3eULL << 48) | (0x23ULL << 32) | (0x02ULL << 24) + | (MAXTL << 8)), + .fpu_version = 0x00000000, + .mmu_version = mmu_sun4v, + .nwindows = 8, + .features = CPU_DEFAULT_FEATURES | CPU_FEATURE_HYPV | CPU_FEATURE_CMT + | CPU_FEATURE_GL, + }, + { + .name = "Sun UltraSparc T2", + // defined in tlu_asi_ctl.v and n2_revid_cust.v + .iu_version = ((0x3eULL << 48) | (0x24ULL << 32) | (0x02ULL << 24) + | (MAXTL << 8)), + .fpu_version = 0x00000000, + .mmu_version = mmu_sun4v, + .nwindows = 8, + .features = CPU_DEFAULT_FEATURES | CPU_FEATURE_HYPV | CPU_FEATURE_CMT + | CPU_FEATURE_GL, + }, { .name = "NEC UltraSparc I", .iu_version = ((0x22ULL << 48) | (0x10ULL << 32) | (0x40ULL << 24) -- cgit v1.2.3