#
555e6295 |
| 08-Dec-2014 |
mlarkin <mlarkin@openbsd.org> |
Split the ACPI resume trampoline into code and data, move the data page to .rodata (kernel copies to the RW page), protect the code page with RX permissions, protect the code page with RW permissions
Split the ACPI resume trampoline into code and data, move the data page to .rodata (kernel copies to the RW page), protect the code page with RX permissions, protect the code page with RW permissions.
ok deraadt@
show more ...
|
#
cd67860d |
| 22-Nov-2014 |
mlarkin <mlarkin@openbsd.org> |
Previous diff changed the location of the ACPI S3/S4 trampoline, which has a common #defined location for both i386 and amd64. This diff fixes i386 to match.
Also fix a tab/space issue in amd64 hibe
Previous diff changed the location of the ACPI S3/S4 trampoline, which has 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
show more ...
|
#
031569f1 |
| 22-Nov-2014 |
mlarkin <mlarkin@openbsd.org> |
Split the MP trampoline into two pages, one for code and one for data/stack and then protect the code page as RX and the data/stack page as RW (NX).
ok deraadt@
|
#
22894a92 |
| 01-Oct-2014 |
mlarkin <mlarkin@openbsd.org> |
Move some hibernate #defines to pte.h and eliminate some duplicate defines from hibernate code that were already defined in pte.h (with different names). No functional change.
ok sf@, deraadt@
|
#
19caa8b1 |
| 05-Jan-2014 |
mlarkin <mlarkin@openbsd.org> |
HIBERNATE_SELTABLE is not used anymore. Remove, and reclaim its stolen page.
|
#
71ce0f95 |
| 05-Jan-2014 |
mlarkin <mlarkin@openbsd.org> |
Don't use the first 64KB for anything, including tramps. Move tramps and hibernate goo up after 64KB to avoid posible corruption by buggy BIOS SMM code. Diff also ensures the first 64KB doesn't get h
Don't use the first 64KB for anything, including tramps. Move tramps and 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
show more ...
|
#
ed499310 |
| 04-Jun-2013 |
mlarkin <mlarkin@openbsd.org> |
Remove remaining references to HIBERNATE_COPY_PAGE. It was effectively removed at n2k13 but a few errant references still remained. No functional change. Spot tested by my on i386 and amd64 UP enviro
Remove remaining references to HIBERNATE_COPY_PAGE. It was effectively 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@
show more ...
|
#
9c01f4bf |
| 04-Jun-2013 |
pirofti <pirofti@openbsd.org> |
Add RCS ids.
|
#
3f7dce04 |
| 30-May-2013 |
mlarkin <mlarkin@openbsd.org> |
Even though we reserve 3 pages for the amd64 hibernate stack, we set the resume time stack pointer to the first page reserved, effectively giving us only one page to work with. Found when I was debug
Even though we reserve 3 pages for the amd64 hibernate stack, we set the 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.
show more ...
|
#
c2c5a242 |
| 16-Jan-2013 |
mlarkin <mlarkin@openbsd.org> |
MD hibernate goo for amd64
|
#
9d14b009 |
| 19-Oct-2012 |
mlarkin <mlarkin@openbsd.org> |
amd64 hibernate "unpack-time" mmu/pmap code and asm goo. Work in progress.
|
#
c5489a62 |
| 13-Jul-2012 |
mlarkin <mlarkin@openbsd.org> |
Starting point for amd64 hibernate ... some goo copied from i386. This does not yet work for amd64 - getting the structure into the tree so others can help.
|