/* * NetBSD uses L2 shadow pages to support PAE with Xen. However, Xen does not * handle them correctly during save/restore, leading to incorrect page * tracking and pinning during restore. * For save/restore to succeed, two functions are introduced: * - pmap_map_recursive_entries(), used by resume code to set the recursive * mapping entries to their correct value * - pmap_unmap_recursive_entries(), used by suspend code to clear all * PDIR_SLOT_PTE entries */