summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorGabe Black <gblack@eecs.umich.edu>2006-12-06 05:40:11 -0500
committerGabe Black <gblack@eecs.umich.edu>2006-12-06 05:40:11 -0500
commita3f351ab595d61ddd7a3248fea5ddeea8c5ba65b (patch)
treef2d99ce5b96ae992a3ee333975527cbc68f0f6c7 /src
parent12c5bd2305a83c65d068686ec2d6588bde769805 (diff)
downloadgem5-a3f351ab595d61ddd7a3248fea5ddeea8c5ba65b.tar.xz
Added basic flatten function for mips.
--HG-- extra : convert_revision : 2c32851584001734d139f36c4d58c5e61067fcfc
Diffstat (limited to 'src')
-rw-r--r--src/arch/mips/regfile/regfile.hh5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/arch/mips/regfile/regfile.hh b/src/arch/mips/regfile/regfile.hh
index dee883c4a..7b57b31f5 100644
--- a/src/arch/mips/regfile/regfile.hh
+++ b/src/arch/mips/regfile/regfile.hh
@@ -173,6 +173,11 @@ namespace MipsISA
}
};
+ static inline int flattenIntIndex(ThreadContext * tc, int reg)
+ {
+ return reg;
+ }
+
void copyRegs(ThreadContext *src, ThreadContext *dest);
void copyMiscRegs(ThreadContext *src, ThreadContext *dest);