diff options
author | Chander Sudanthi <Chander.Sudanthi@arm.com> | 2013-01-07 13:05:39 -0500 |
---|---|---|
committer | Chander Sudanthi <Chander.Sudanthi@arm.com> | 2013-01-07 13:05:39 -0500 |
commit | 694a81e9942724544024266378604fb7d6b3dd40 (patch) | |
tree | 2302dbe89e961c1648a7802b67b243640f05d4ab /src/dev/arm/pl111.hh | |
parent | c3551e82f7087a0c0398ef037c979e0cc24d51ca (diff) | |
download | gem5-694a81e9942724544024266378604fb7d6b3dd40.tar.xz |
ARM: pl111/LCD framebuffer checkpointing fix
Fixed check pointing of the framebuffer. Previously, the pixel size was not
considered in determining the size of the buffer to checkpoint. This patch
checkpoints the entire framebuffer instead of the first quarter.
Diffstat (limited to 'src/dev/arm/pl111.hh')
-rw-r--r-- | src/dev/arm/pl111.hh | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/dev/arm/pl111.hh b/src/dev/arm/pl111.hh index 2245d8124..855fb8bef 100644 --- a/src/dev/arm/pl111.hh +++ b/src/dev/arm/pl111.hh @@ -96,6 +96,8 @@ class Pl111: public AmbaDmaDevice static const int dmaSize = 8; // 64 bits static const int maxOutstandingDma = 16; // 16 deep FIFO of 64 bits + static const int buffer_size = LcdMaxWidth * LcdMaxHeight * sizeof(uint32_t); + enum LcdMode { bpp1 = 0, bpp2, |