Scrub heap pages was disabled because it was slow on the models. Now that Xen
supports real hardware, it's possible to enable by default scrubbing.
Signed-off-by: Julien Grall <julien.grall@linaro.org>
Acked-by: Ian Campbell <ian.campbell@citrix.com>
if ( construct_dom0(dom0) != 0)
panic("Could not set up DOM0 guest OS");
- /* Scrub RAM that is still free and so may go to an unprivileged domain.
- XXX too slow in simulator
- scrub_heap_pages();
- */
+ /* Scrub RAM that is still free and so may go to an unprivileged domain. */
+ scrub_heap_pages();
init_constructors();