Disable PAE when switching to the hibernate resume pagetables. This involves
authorkettenis <kettenis@openbsd.org>
Sun, 26 Apr 2015 11:09:32 +0000 (11:09 +0000)
committerkettenis <kettenis@openbsd.org>
Sun, 26 Apr 2015 11:09:32 +0000 (11:09 +0000)
commit918c66aceae53c85351ae2aef2609cefd399f792
tree28364f599422d0ce06c28f8acabcb582a6ceb235
parent4f0d76e558a7c5c9f4d830955d4a1e8bc65cf985
Disable PAE when switching to the hibernate resume pagetables.  This involves
a slightly conmplicated dance where we stash the PAE PDPTEs into the
hibernate resume pagetables and use those before turning off PAE.
Makes (un)hibernate work with the new PAE pmap.

ok mlarkin@
sys/arch/i386/i386/acpi_wakecode.S
sys/arch/i386/i386/hibernate_machdep.c