diff options
author | Ali Saidi <Ali.Saidi@ARM.com> | 2011-04-04 11:42:23 -0500 |
---|---|---|
committer | Ali Saidi <Ali.Saidi@ARM.com> | 2011-04-04 11:42:23 -0500 |
commit | c56eb8fb3c8974ebd63a760c54c1012c4357ebe5 (patch) | |
tree | eeabbf7bc535fb6ab181da0eab4c3f5c605d6fa8 /src/dev/arm | |
parent | 6fd271ffb37a304715c5a93950ca1d4c9595a518 (diff) | |
download | gem5-c56eb8fb3c8974ebd63a760c54c1012c4357ebe5.tar.xz |
ARM: Fix checkpointing case where PL111 is powered off.
Diffstat (limited to 'src/dev/arm')
-rw-r--r-- | src/dev/arm/pl111.cc | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/src/dev/arm/pl111.cc b/src/dev/arm/pl111.cc index 98d231f3b..e5da82e73 100644 --- a/src/dev/arm/pl111.cc +++ b/src/dev/arm/pl111.cc @@ -713,9 +713,11 @@ Pl111::unserialize(Checkpoint *cp, const std::string §ion) schedule(dmaDoneEvent[x], dma_done_event_tick[x]); } - updateVideoParams(); - if (vncserver) - vncserver->setDirty(); + if (lcdControl.lcdpwr) { + updateVideoParams(); + if (vncserver) + vncserver->setDirty(); + } } void |