ARM: Fix uninitialized value in ARM RTC model.
authorAli Saidi <Ali.Saidi@ARM.com>
Wed, 21 Mar 2012 15:34:05 +0000 (10:34 -0500)
committerAli Saidi <Ali.Saidi@ARM.com>
Wed, 21 Mar 2012 15:34:05 +0000 (10:34 -0500)
src/dev/arm/rtc_pl031.cc

index 4895b1d4f4e849f617b7552ccc11efc22a8e2019..8896b16ebc8ae9fa3de19ffc296b39817662ecdb 100644 (file)
@@ -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;
 }