summaryrefslogtreecommitdiffstats
path: root/sys/arch/amd64/include/hibernate_var.h (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Split the ACPI resume trampoline into code and data, move the data page tomlarkin2014-12-081-13/+13
| | | | | | | .rodata (kernel copies to the RW page), protect the code page with RX permissions, protect the code page with RW permissions. ok deraadt@
* Previous diff changed the location of the ACPI S3/S4 trampoline, which hasmlarkin2014-11-221-2/+2
| | | | | | | | | a common #defined location for both i386 and amd64. This diff fixes i386 to match. Also fix a tab/space issue in amd64 hibernate_var.h discussed with deraadt
* Split the MP trampoline into two pages, one for code and one for data/stackmlarkin2014-11-221-13/+13
| | | | | | and then protect the code page as RX and the data/stack page as RW (NX). ok deraadt@
* Move some hibernate #defines to pte.h and eliminate some duplicate definesmlarkin2014-10-011-8/+2
| | | | | | | from hibernate code that were already defined in pte.h (with different names). No functional change. ok sf@, deraadt@
* HIBERNATE_SELTABLE is not used anymore. Remove, and reclaim its stolenmlarkin2014-01-051-6/+4
| | | | page.
* Don't use the first 64KB for anything, including tramps. Move tramps andmlarkin2014-01-051-14/+14
| | | | | | | hibernate goo up after 64KB to avoid posible corruption by buggy BIOS SMM code. Diff also ensures the first 64KB doesn't get handed to UVM either. ok deraadt@, tested by many with no regressions reported
* Remove remaining references to HIBERNATE_COPY_PAGE. It was effectivelymlarkin2013-06-041-3/+2
| | | | | | | | removed at n2k13 but a few errant references still remained. No functional change. Spot tested by my on i386 and amd64 UP environments, no regressions seen. noticed by deraadt@
* Add RCS ids.pirofti2013-06-041-0/+2
|
* Even though we reserve 3 pages for the amd64 hibernate stack, we set themlarkin2013-05-301-1/+1
| | | | | | resume time stack pointer to the first page reserved, effectively giving us only one page to work with. Found when I was debugging some unrelated stack issues in the resume code.
* MD hibernate goo for amd64mlarkin2013-01-161-46/+28
|
* amd64 hibernate "unpack-time" mmu/pmap code and asm goo. Work inmlarkin2012-10-191-16/+59
| | | | progress.
* Starting point for amd64 hibernate ... some goo copied from i386.mlarkin2012-07-131-0/+45
This does not yet work for amd64 - getting the structure into the tree so others can help.