diff options
Diffstat (limited to 'sys/arch/amd64/include/hibernate_var.h')
-rw-r--r-- | sys/arch/amd64/include/hibernate_var.h | 26 |
1 files changed, 13 insertions, 13 deletions
diff --git a/sys/arch/amd64/include/hibernate_var.h b/sys/arch/amd64/include/hibernate_var.h index bc63cff9b59..83943b7fc4b 100644 --- a/sys/arch/amd64/include/hibernate_var.h +++ b/sys/arch/amd64/include/hibernate_var.h @@ -1,4 +1,4 @@ -/* $OpenBSD: hibernate_var.h,v 1.9 2014/10/01 19:41:06 mlarkin Exp $ */ +/* $OpenBSD: hibernate_var.h,v 1.10 2014/11/22 18:31:46 mlarkin Exp $ */ /* * Copyright (c) 2011 Mike Larkin <mlarkin@openbsd.org> @@ -21,39 +21,39 @@ /* * PML4 table for resume */ -#define HIBERNATE_PML4T (PAGE_SIZE * 18) +#define HIBERNATE_PML4T (PAGE_SIZE * 20) /* * amd64 uses a PDPT to map the first 512GB phys mem plus one more * to map any ranges of phys mem past 512GB (if needed) */ -#define HIBERNATE_PDPT_LOW (PAGE_SIZE * 19) -#define HIBERNATE_PDPT_HI (PAGE_SIZE * 20) +#define HIBERNATE_PDPT_LOW (PAGE_SIZE * 21) +#define HIBERNATE_PDPT_HI (PAGE_SIZE * 22) /* * amd64 uses one PD to map the first 1GB phys mem plus one more to map any * other 1GB ranges within the first 512GB phys, plus one more to map any * 1GB range in any subsequent 512GB range */ -#define HIBERNATE_PD_LOW (PAGE_SIZE * 21) -#define HIBERNATE_PD_LOW2 (PAGE_SIZE * 22) -#define HIBERNATE_PD_HI (PAGE_SIZE * 23) +#define HIBERNATE_PD_LOW (PAGE_SIZE * 23) +#define HIBERNATE_PD_LOW2 (PAGE_SIZE * 24) +#define HIBERNATE_PD_HI (PAGE_SIZE * 25) /* * amd64 uses one PT to map the first 2MB phys mem plus one more to map any * other 2MB range within the first 1GB, plus one more to map any 2MB range * in any subsequent 512GB range. */ -#define HIBERNATE_PT_LOW (PAGE_SIZE * 24) -#define HIBERNATE_PT_LOW2 (PAGE_SIZE * 25) -#define HIBERNATE_PT_HI (PAGE_SIZE * 26) +#define HIBERNATE_PT_LOW (PAGE_SIZE * 26) +#define HIBERNATE_PT_LOW2 (PAGE_SIZE * 27) +#define HIBERNATE_PT_HI (PAGE_SIZE * 28) /* 3 pages for stack */ -#define HIBERNATE_STACK_PAGE (PAGE_SIZE * 29) +#define HIBERNATE_STACK_PAGE (PAGE_SIZE * 31) -#define HIBERNATE_INFLATE_PAGE (PAGE_SIZE * 30) +#define HIBERNATE_INFLATE_PAGE (PAGE_SIZE * 32) /* HIBERNATE_HIBALLOC_PAGE must be the last stolen page (see machdep.c) */ -#define HIBERNATE_HIBALLOC_PAGE (PAGE_SIZE * 31) +#define HIBERNATE_HIBALLOC_PAGE (PAGE_SIZE * 33) /* Use 4MB hibernation chunks */ #define HIBERNATE_CHUNK_SIZE 0x400000 |