diff options
author | Mike Larkin <mlarkin@cvs.openbsd.org> | 2015-01-09 03:43:53 +0000 |
---|---|---|
committer | Mike Larkin <mlarkin@cvs.openbsd.org> | 2015-01-09 03:43:53 +0000 |
commit | caf49179806032a3008ad33a218309c1f9c2321a (patch) | |
tree | 4b343215d513fc2e1cf4faf32d66e9b196ea38a1 /sys/arch/i386/include/hibernate_var.h | |
parent | 3378634251e12f50a0c9361420a6dc39b51d63fd (diff) |
Cleanup some macros and #defines in i386 pmap. Previously committed and
backed out because of libkvm breakage, recommitting now with libkvm fix.
ok deraadt@
Diffstat (limited to 'sys/arch/i386/include/hibernate_var.h')
-rw-r--r-- | sys/arch/i386/include/hibernate_var.h | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/sys/arch/i386/include/hibernate_var.h b/sys/arch/i386/include/hibernate_var.h index 369e1b90614..99c63c5e98f 100644 --- a/sys/arch/i386/include/hibernate_var.h +++ b/sys/arch/i386/include/hibernate_var.h @@ -1,4 +1,4 @@ -/* $OpenBSD: hibernate_var.h,v 1.14 2014/12/23 01:24:51 deraadt Exp $ */ +/* $OpenBSD: hibernate_var.h,v 1.15 2015/01/09 03:43:52 mlarkin Exp $ */ /* * Copyright (c) 2011 Mike Larkin <mlarkin@openbsd.org> @@ -16,7 +16,8 @@ * OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. */ -#define PIGLET_PAGE_MASK (PD_MASK) +#define HIB_PD_MASK 0xffc00000 +#define PIGLET_PAGE_MASK (HIB_PD_MASK) #define HIBERNATE_PD_PAGE (PAGE_SIZE * 21) #define HIBERNATE_PT_PAGE (PAGE_SIZE * 22) |