diff options
author | Mike Larkin <mlarkin@cvs.openbsd.org> | 2011-07-09 00:55:01 +0000 |
---|---|---|
committer | Mike Larkin <mlarkin@cvs.openbsd.org> | 2011-07-09 00:55:01 +0000 |
commit | b39e8c0c98081790ce8599896c6186e353554b93 (patch) | |
tree | 6ff3613b2904919c862983ce8513aaa002068763 /sys/arch/i386/include | |
parent | f984863a2cc0825432ba8b9536a0eb91e4b339b0 (diff) |
Extract MI pmap function hibernate_enter_resume_mapping, refactor old i386
resume pmap code to match.
Add hibernate deflater and inflater and cache flush routines.
Code is not presently called or automatically built.
Diffstat (limited to 'sys/arch/i386/include')
-rw-r--r-- | sys/arch/i386/include/hibernate.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/sys/arch/i386/include/hibernate.h b/sys/arch/i386/include/hibernate.h index 8efe8d2e31c..5f3b7042eae 100644 --- a/sys/arch/i386/include/hibernate.h +++ b/sys/arch/i386/include/hibernate.h @@ -19,6 +19,9 @@ /* i386 hibernate support structures and functions */ int get_hibernate_info_md(union hibernate_info *); +void hibernate_flush(void); +void hibernate_enter_resume_mapping(vaddr_t, paddr_t, int); int hibernate_zlib_reset(int); +int hibernate_inflate_skip(paddr_t); int hibernate_suspend(void); void hibernate_resume(void); |