summaryrefslogtreecommitdiffstats
path: root/sys/sparc64
diff options
context:
space:
mode:
authorkmacy <kmacy@FreeBSD.org>2006-12-18 07:28:59 +0000
committerkmacy <kmacy@FreeBSD.org>2006-12-18 07:28:59 +0000
commit0e8bee8e995ae69fcaa6d6bf2a5c74fc88c582b9 (patch)
tree0da9dec689c7c2448e54e60b8bbeba40488c8adc /sys/sparc64
parentdc892089094e1a4fff0c36d98cede3ca4898465d (diff)
downloadFreeBSD-src-0e8bee8e995ae69fcaa6d6bf2a5c74fc88c582b9.zip
FreeBSD-src-0e8bee8e995ae69fcaa6d6bf2a5c74fc88c582b9.tar.gz
add new large page sizes for use by shared loader
Diffstat (limited to 'sys/sparc64')
-rw-r--r--sys/sparc64/include/param.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/sys/sparc64/include/param.h b/sys/sparc64/include/param.h
index 22b0eb0..dd86233 100644
--- a/sys/sparc64/include/param.h
+++ b/sys/sparc64/include/param.h
@@ -87,6 +87,14 @@
#define PAGE_SIZE_4M (1L<<PAGE_SHIFT_4M)
#define PAGE_MASK_4M (PAGE_SIZE_4M-1)
+#define PAGE_SHIFT_32M 25
+#define PAGE_SIZE_32M (1L<<PAGE_SHIFT_32M)
+#define PAGE_MASK_32M (PAGE_SIZE_32M-1)
+
+#define PAGE_SHIFT_256M 28
+#define PAGE_SIZE_256M (1L<<PAGE_SHIFT_256M)
+#define PAGE_MASK_256M (PAGE_SIZE_256M-1)
+
#define PAGE_SHIFT_MIN PAGE_SHIFT_8K
#define PAGE_SIZE_MIN PAGE_SIZE_8K
#define PAGE_MASK_MIN PAGE_MASK_8K
OpenPOWER on IntegriCloud