diff options
author | Dam Sunwoo <dam.sunwoo@arm.com> | 2013-10-17 10:20:45 -0500 |
---|---|---|
committer | Dam Sunwoo <dam.sunwoo@arm.com> | 2013-10-17 10:20:45 -0500 |
commit | ad614bf24da852ecd28c03a5bcb72ecd24b37238 (patch) | |
tree | 385b6dfcc6bc859ba34f704933232ee2c61bb922 /src/dev/arm/RealView.py | |
parent | 1746eb4a1149a5eace7afb0dc39748b0a7a1a7eb (diff) | |
download | gem5-ad614bf24da852ecd28c03a5bcb72ecd24b37238.tar.xz |
dev: Add option to disable framebuffer .bmp dump in run folder
There is an option to enable/disable all framebuffer dumps, but the
last frame always gets dumped in the run folder with no other way to
disable it. These files can add up very quickly running many experiments.
This patch adds an option to disable them. The default behavior
remains unchanged.
Diffstat (limited to 'src/dev/arm/RealView.py')
-rw-r--r-- | src/dev/arm/RealView.py | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/dev/arm/RealView.py b/src/dev/arm/RealView.py index 167108850..b3c14580e 100644 --- a/src/dev/arm/RealView.py +++ b/src/dev/arm/RealView.py @@ -139,6 +139,8 @@ class Pl111(AmbaDmaDevice): pixel_clock = Param.Clock('24MHz', "Pixel clock") vnc = Param.VncInput(Parent.any, "Vnc server for remote frame buffer display") amba_id = 0x00141111 + enable_capture = Param.Bool(True, "capture frame to system.framebuffer.bmp") + class HDLcd(AmbaDmaDevice): type = 'HDLcd' @@ -149,6 +151,7 @@ class HDLcd(AmbaDmaDevice): vnc = Param.VncInput(Parent.any, "Vnc server for remote frame buffer " "display") amba_id = 0x00141000 + enable_capture = Param.Bool(True, "capture frame to system.framebuffer.bmp") class RealView(Platform): type = 'RealView' |