summaryrefslogtreecommitdiff
path: root/src/dev/arm/hdlcd.hh
diff options
context:
space:
mode:
Diffstat (limited to 'src/dev/arm/hdlcd.hh')
-rw-r--r--src/dev/arm/hdlcd.hh7
1 files changed, 6 insertions, 1 deletions
diff --git a/src/dev/arm/hdlcd.hh b/src/dev/arm/hdlcd.hh
index acce6f191..4bca0bbbf 100644
--- a/src/dev/arm/hdlcd.hh
+++ b/src/dev/arm/hdlcd.hh
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 2010-2013, 2015 ARM Limited
+ * Copyright (c) 2010-2013, 2015, 2017 ARM Limited
* All rights reserved
*
* The license below extends only to copyright in the software and shall
@@ -116,6 +116,7 @@ class HDLcd: public AmbaDmaDevice
const AddrRangeList addrRanges;
const bool enableCapture;
const Addr pixelBufferSize;
+ const Tick virtRefreshRate;
protected: // Register handling
/** ARM HDLcd register offsets */
@@ -344,6 +345,10 @@ class HDLcd: public AmbaDmaDevice
HDLcd &parent;
};
+ /** Handler for fast frame refresh in KVM-mode */
+ void virtRefresh();
+ EventWrapper<HDLcd, &HDLcd::virtRefresh> virtRefreshEvent;
+
/** Helper to write out bitmaps */
Bitmap bmp;