diff options
author | Mike Larkin <mlarkin@cvs.openbsd.org> | 2009-11-24 17:00:02 +0000 |
---|---|---|
committer | Mike Larkin <mlarkin@cvs.openbsd.org> | 2009-11-24 17:00:02 +0000 |
commit | 2d7c096b13915d581dcff6bfe4928b058a6ee29a (patch) | |
tree | 41ae2a0983a31771f80fb41aed31be5f837fc1d4 /sys/arch/i386 | |
parent | 91b0184fb6307e543a68f54380bebe94334ad6e1 (diff) |
Poke CR3 one last time before resuming. Suggested by deraadt@.
ok deraadt@
Diffstat (limited to 'sys/arch/i386')
-rw-r--r-- | sys/arch/i386/i386/acpi_wakecode.S | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/sys/arch/i386/i386/acpi_wakecode.S b/sys/arch/i386/i386/acpi_wakecode.S index 2b0ff810e92..3f80542bf8a 100644 --- a/sys/arch/i386/i386/acpi_wakecode.S +++ b/sys/arch/i386/i386/acpi_wakecode.S @@ -305,6 +305,10 @@ _C_LABEL(acpi_protected_mode_resume): push acpi_saved_fl popfl + /* Poke CR3 one more time. Might not be necessary */ + movl acpi_saved_cr3,%eax + movl %eax,%cr3 + /* * Return to the OS. We've previously saved the resume * address in acpi_saved_ret (via a call to acpi_savecpu |