dev-arm: Read correct version of ICC_BPR register
[gem5.git] / src / dev / arm / flash_device.cc
index 3dc8d5bd20381027bbdd93cff3283b64548ff475..ba28cff4bfc675cca21f80a2b834f9c876e31e00 100644 (file)
@@ -88,7 +88,7 @@ FlashDevice::FlashDevice(const FlashDeviceParams* p):
     blocksPerDisk(0),
     planeMask(numPlanes - 1),
     planeEventQueue(numPlanes),
-    planeEvent(this)
+    planeEvent([this]{ actionComplete(); }, name())
 {
 
     /*