projects
/
gem5.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
46051c5
)
Fixed an off-by-one error.
author
Gabe Black
<gblack@eecs.umich.edu>
Thu, 8 Mar 2007 05:55:16 +0000
(
00:55
-0500)
committer
Gabe Black
<gblack@eecs.umich.edu>
Thu, 8 Mar 2007 05:55:16 +0000
(
00:55
-0500)
--HG--
extra : convert_revision :
498fef18cf339cabc2c00e4758bc8a0da857daca
src/arch/sparc/intregfile.hh
patch
|
blob
|
history
diff --git
a/src/arch/sparc/intregfile.hh
b/src/arch/sparc/intregfile.hh
index 665c7aa313e2fa44b3d96906884f35ad23b42d1b..83ef1d17bd0fac7f316b0f3ffa2df8357b24a661 100644
(file)
--- a/
src/arch/sparc/intregfile.hh
+++ b/
src/arch/sparc/intregfile.hh
@@
-82,7
+82,7
@@
namespace SparcISA
IntReg * regView[NumFrames];
static const int RegGlobalOffset = 0;
- static const int FrameOffset =
MaxGL
* RegsPerFrame;
+ static const int FrameOffset =
(MaxGL + 1)
* RegsPerFrame;
int offset[NumFrames];
public: