summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorGabe Black <gblack@eecs.umich.edu>2010-10-10 20:37:50 -0700
committerGabe Black <gblack@eecs.umich.edu>2010-10-10 20:37:50 -0700
commit63fa65613eb654e819721930782a13f1177f31c2 (patch)
tree78b8e4a754ff0512f86c1933f65d40b6bebec7b7 /src
parentb4a76f0b0b2d0910bb1c1f3781717ec6747014b1 (diff)
downloadgem5-63fa65613eb654e819721930782a13f1177f31c2.tar.xz
Alpha: Force all the IPRs to an initial, determinstic value when cleared.
Diffstat (limited to 'src')
-rw-r--r--src/arch/alpha/isa.hh1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/arch/alpha/isa.hh b/src/arch/alpha/isa.hh
index 574b50841..01666c783 100644
--- a/src/arch/alpha/isa.hh
+++ b/src/arch/alpha/isa.hh
@@ -81,6 +81,7 @@ namespace AlphaISA
lock_flag = 0;
lock_addr = 0;
intr_flag = 0;
+ memset(ipr, 0, sizeof(ipr));
}
void serialize(EventManager *em, std::ostream &os);