summaryrefslogtreecommitdiff
path: root/sys/arch/amd64/include
diff options
context:
space:
mode:
Diffstat (limited to 'sys/arch/amd64/include')
-rw-r--r--sys/arch/amd64/include/param.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/sys/arch/amd64/include/param.h b/sys/arch/amd64/include/param.h
index 75657dd575b..29c314fdeee 100644
--- a/sys/arch/amd64/include/param.h
+++ b/sys/arch/amd64/include/param.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: param.h,v 1.21 2013/03/25 17:46:24 deraadt Exp $ */
+/* $OpenBSD: param.h,v 1.22 2013/03/26 05:04:10 deraadt Exp $ */
/*-
* Copyright (c) 1990 The Regents of the University of California.
@@ -52,8 +52,6 @@
#define PAGE_SHIFT 12
#define PAGE_SIZE (1 << PAGE_SHIFT)
#define PAGE_MASK (PAGE_SIZE - 1)
-#define PGSHIFT PAGE_SHIFT /* LOG2(PAGE_SIZE) */
-#define PGOFSET PAGE_MASK /* byte offset into page */
#define KERNBASE 0xffffffff80000000 /* start of kernel virtual space */
@@ -67,6 +65,8 @@
#define KERNBASE_LO 0x80000000
#define NBPG PAGE_SIZE /* bytes/page */
+#define PGSHIFT PAGE_SHIFT /* LOG2(PAGE_SIZE) */
+#define PGOFSET PAGE_MASK /* byte offset into page */
#define UPAGES 5 /* pages of u-area */
#define USPACE (UPAGES * PAGE_SIZE) /* total size of u-area */