summaryrefslogtreecommitdiff
path: root/src/dev/arm/pl111.hh
diff options
context:
space:
mode:
authorAndreas Hansson <andreas.hansson@arm.com>2013-01-07 13:05:36 -0500
committerAndreas Hansson <andreas.hansson@arm.com>2013-01-07 13:05:36 -0500
commitfffdc6a45019639cd8f899fa81eeb732db3e6f8c (patch)
tree83daf8a2680a8d45974c632ccc68055712f69d65 /src/dev/arm/pl111.hh
parent79b44773023fa7a5e3e83f70d9a4f4809b10b003 (diff)
downloadgem5-fffdc6a45019639cd8f899fa81eeb732db3e6f8c.tar.xz
dev: Fix the Pl111 timings by separating pixel and DMA clock
This patch fixes the Pl111 timings by creating a separate clock for the pixel timings. The device clock is used for all interactions with the memory system, just like the AHB clock on the actual module. The result without this patch is that the module only is allowed to send one request every tick of the 24MHz clock which causes a huge backlog.
Diffstat (limited to 'src/dev/arm/pl111.hh')
-rw-r--r--src/dev/arm/pl111.hh3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/dev/arm/pl111.hh b/src/dev/arm/pl111.hh
index 49512fcc0..2388e1c7a 100644
--- a/src/dev/arm/pl111.hh
+++ b/src/dev/arm/pl111.hh
@@ -227,6 +227,9 @@ class Pl111: public AmbaDmaDevice
/** Cursor masked interrupt status register - const */
InterruptReg clcdCrsrMis;
+ /** Pixel clock */
+ Tick pixelClock;
+
/** VNC server */
VncInput *vnc;