From: Ali Saidi Date: Wed, 21 Mar 2012 15:34:05 +0000 (-0500) Subject: ARM: Fix uninitialized value in ARM RTC model. X-Git-Tag: stable_2012_06_28~169 X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=1981ba21cacce730e97f1c92655d1fe078c8aa1a;p=gem5.git ARM: Fix uninitialized value in ARM RTC model. --- 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; }