summaryrefslogtreecommitdiff
path: root/sys/arch/i386/include
diff options
context:
space:
mode:
authorMike Larkin <mlarkin@cvs.openbsd.org>2011-07-09 00:55:01 +0000
committerMike Larkin <mlarkin@cvs.openbsd.org>2011-07-09 00:55:01 +0000
commitb39e8c0c98081790ce8599896c6186e353554b93 (patch)
tree6ff3613b2904919c862983ce8513aaa002068763 /sys/arch/i386/include
parentf984863a2cc0825432ba8b9536a0eb91e4b339b0 (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.h3
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);