hw/pl110.c: Add post-load hook to invalidate display
commit128939a954194e37bbe67d1b94abcba599d30d10
authorPeter Maydell <peter.maydell@linaro.org>
Mon, 19 Dec 2011 12:01:58 +0000 (19 12:01 +0000)
committerPeter Maydell <peter.maydell@linaro.org>
Wed, 4 Jan 2012 10:32:16 +0000 (4 10:32 +0000)
tree11b5f90232ec83b88deec1ac549f92237510bdee
parent624923be11846c3056639986993e0177f931dd44
hw/pl110.c: Add post-load hook to invalidate display

Add a post-load hook which invalidates the display. In particular, if we
don't do this and the display size we've just reloaded is larger than
the default then we will segfault trying to read off the end of the buffer.

Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
hw/pl110.c