projects
/
gem5.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
12c5bd2
)
Added basic flatten function for mips.
author
Gabe Black
<gblack@eecs.umich.edu>
Wed, 6 Dec 2006 10:40:11 +0000
(
05:40
-0500)
committer
Gabe Black
<gblack@eecs.umich.edu>
Wed, 6 Dec 2006 10:40:11 +0000
(
05:40
-0500)
--HG--
extra : convert_revision :
2c32851584001734d139f36c4d58c5e61067fcfc
src/arch/mips/regfile/regfile.hh
patch
|
blob
|
history
diff --git
a/src/arch/mips/regfile/regfile.hh
b/src/arch/mips/regfile/regfile.hh
index dee883c4af0c2ced8f884be0c85840d2d730ec5d..7b57b31f520c8507c445efbd4360e30317cf7667 100644
(file)
--- 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);