Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/sys/arch/ia64/include Add more defs from FreeBSD



details:   https://anonhg.NetBSD.org/src/rev/33b132a1d588
branches:  trunk
changeset: 352566:33b132a1d588
user:      scole <scole%NetBSD.org@localhost>
date:      Sat Apr 08 18:03:33 2017 +0000

description:
Add more defs from FreeBSD

diffstat:

 sys/arch/ia64/include/param.h |  10 +++++++++-
 1 files changed, 9 insertions(+), 1 deletions(-)

diffs (31 lines):

diff -r a05a399b7420 -r 33b132a1d588 sys/arch/ia64/include/param.h
--- a/sys/arch/ia64/include/param.h     Sat Apr 08 18:02:55 2017 +0000
+++ b/sys/arch/ia64/include/param.h     Sat Apr 08 18:03:33 2017 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: param.h,v 1.8 2012/02/10 17:35:49 para Exp $   */
+/*     $NetBSD: param.h,v 1.9 2017/04/08 18:03:33 scole Exp $  */
 
 /*-
  * Copyright (c) 1990 The Regents of the University of California.
@@ -80,6 +80,9 @@
 #define ALIGNBYTES32           (sizeof(int) - 1)
 #define ALIGN32(p)             (((u_long)(p) + ALIGNBYTES32) &~ALIGNBYTES32)
 
+#ifndef LOG2_PAGE_SIZE
+#define LOG2_PAGE_SIZE          14              /* 16K pages by default. */
+#endif
 #define        PGSHIFT         14              /* LOG2(NBPG) */
 #define        NBPG            (1 << PGSHIFT)  /* bytes/page */
 #define        PGOFSET         (NBPG-1)        /* byte offset into page */
@@ -108,6 +111,11 @@
 #define        NKMEMPAGES_MIN_DEFAULT  ((32 * 1024 * 1024) >> PAGE_SHIFT)
 #define        NKMEMPAGES_MAX_UNLIMITED 1
 
+/* The default size of identity mappings in region 6 & 7. */
+#ifndef LOG2_ID_PAGE_SIZE
+#define LOG2_ID_PAGE_SIZE       16
+#endif
+
 /*
  * Mach derived conversion macros
  */



Home | Main Index | Thread Index | Old Index