From a3f351ab595d61ddd7a3248fea5ddeea8c5ba65b Mon Sep 17 00:00:00 2001 From: Gabe Black Date: Wed, 6 Dec 2006 05:40:11 -0500 Subject: [PATCH] Added basic flatten function for mips. --HG-- extra : convert_revision : 2c32851584001734d139f36c4d58c5e61067fcfc --- src/arch/mips/regfile/regfile.hh | 5 +++++ 1 file changed, 5 insertions(+) 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); -- 2.30.2