summaryrefslogtreecommitdiff
path: root/src/dev
diff options
context:
space:
mode:
authorAli Saidi <Ali.Saidi@ARM.com>2012-03-21 10:34:05 -0500
committerAli Saidi <Ali.Saidi@ARM.com>2012-03-21 10:34:05 -0500
commit1981ba21cacce730e97f1c92655d1fe078c8aa1a (patch)
tree02a3c1c14a0755eac70fa62b97a2e382dcf15f9f /src/dev
parentc9e4bca8d8deea063a09bf852b0d37dc129bc227 (diff)
downloadgem5-1981ba21cacce730e97f1c92655d1fe078c8aa1a.tar.xz
ARM: Fix uninitialized value in ARM RTC model.
Diffstat (limited to 'src/dev')
-rw-r--r--src/dev/arm/rtc_pl031.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/dev/arm/rtc_pl031.cc b/src/dev/arm/rtc_pl031.cc
index 4895b1d4f..8896b16eb 100644
--- a/src/dev/arm/rtc_pl031.cc
+++ b/src/dev/arm/rtc_pl031.cc
@@ -52,8 +52,8 @@ using namespace AmbaDev;
PL031::PL031(Params *p)
: AmbaIntDevice(p), timeVal(mkutctime(&p->time)), lastWrittenTick(0),
- loadVal(0), matchVal(0), rawInt(false), pendingInt(false),
- matchEvent(this)
+ loadVal(0), matchVal(0), rawInt(false), maskInt(false),
+ pendingInt(false), matchEvent(this)
{
pioSize = 0xfff;
}