arm: Fixes based on UBSan and static analysis
[gem5.git] / src / cpu / simple / atomic.cc
index e98da3ea7da614a04cdb4358649a0c1b1bdeadc4..06969f3e3435cc1fd7d3dd48fa5d3155c2fbb15b 100644 (file)
@@ -110,7 +110,8 @@ AtomicSimpleCPU::AtomicSimpleCPU(AtomicSimpleCPUParams *p)
       drain_manager(NULL),
       icachePort(name() + ".icache_port", this),
       dcachePort(name() + ".dcache_port", this),
-      fastmem(p->fastmem)
+      fastmem(p->fastmem), dcache_access(false), dcache_latency(0),
+      ppCommit(nullptr)
 {
     _status = Idle;
 }