diff options
author | Gabe Black <gblack@eecs.umich.edu> | 2007-03-08 00:55:16 -0500 |
---|---|---|
committer | Gabe Black <gblack@eecs.umich.edu> | 2007-03-08 00:55:16 -0500 |
commit | c40d95e4c470ba585316d85cb67d36f5ca9e0bd0 (patch) | |
tree | f5f74e1eeb8174e6e17e79f4be29cc64918354ef /src/arch/sparc | |
parent | 46051c5f651c8a95dde7bb7eb80e86a48749af45 (diff) | |
download | gem5-c40d95e4c470ba585316d85cb67d36f5ca9e0bd0.tar.xz |
Fixed an off-by-one error.
--HG--
extra : convert_revision : 498fef18cf339cabc2c00e4758bc8a0da857daca
Diffstat (limited to 'src/arch/sparc')
-rw-r--r-- | src/arch/sparc/intregfile.hh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/arch/sparc/intregfile.hh b/src/arch/sparc/intregfile.hh index 665c7aa31..83ef1d17b 100644 --- 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: |