On 11/09/2011 05:20 PM, Peter Maydell wrote: > From a really quick glance at Avi's memory/mutators branch I think > the long term plan would be that rather than mapping/unmapping the > region we just call memory_region_set_enabled() which would cope > happily with being asked to enable an already-enabled region. > Is that right?
It is. Call it from both the _write() callback that sets the register, and from post_load(), and you're done. -- error compiling committee.c: too many arguments to function