Source-Changes-HG archive

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

[src/trunk]: src/sys/arch PR port-mac68k/51923



details:   https://anonhg.NetBSD.org/src/rev/f9de5010f8eb
branches:  trunk
changeset: 351120:f9de5010f8eb
user:      rin <rin%NetBSD.org@localhost>
date:      Thu Feb 02 21:50:22 2017 +0000

description:
PR port-mac68k/51923
Remove unused SYSPTSIZE and USRPTSIZE from m68k ports.
Ok jklos

diffstat:

 sys/arch/atari/include/vmparam.h   |  11 ++---------
 sys/arch/cesfic/include/vmparam.h  |  11 ++---------
 sys/arch/hp300/include/vmparam.h   |  11 ++---------
 sys/arch/luna68k/include/vmparam.h |  11 ++---------
 sys/arch/mac68k/include/vmparam.h  |  11 ++---------
 sys/arch/mac68k/mac68k/genassym.cf |   4 +---
 sys/arch/mvme68k/include/vmparam.h |  11 ++---------
 sys/arch/news68k/include/vmparam.h |  11 ++---------
 sys/arch/next68k/include/vmparam.h |  11 ++---------
 sys/arch/x68k/include/vmparam.h    |  11 ++---------
 10 files changed, 19 insertions(+), 84 deletions(-)

diffs (truncated from 304 to 300 lines):

diff -r ce00db4f2457 -r f9de5010f8eb sys/arch/atari/include/vmparam.h
--- a/sys/arch/atari/include/vmparam.h  Thu Feb 02 21:35:29 2017 +0000
+++ b/sys/arch/atari/include/vmparam.h  Thu Feb 02 21:50:22 2017 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: vmparam.h,v 1.29 2014/07/26 13:24:34 tsutsui Exp $     */
+/*     $NetBSD: vmparam.h,v 1.30 2017/02/02 21:50:22 rin Exp $ */
 
 /*
  * Copyright (c) 1988 University of Utah.
@@ -81,13 +81,6 @@
 #endif
 
 /*
- * Sizes of the system and user portions of the system page table.
- */
-/* SYSPTSIZE IS SILLY; IT SHOULD BE COMPUTED AT BOOT TIME */
-#define        SYSPTSIZE       (2 * NPTEPG)    /* 16mb */
-#define        USRPTSIZE       (1 * NPTEPG)    /* 16mb */
-
-/*
  * PTEs for mapping user space into the kernel for phyio operations.
  * One page is enough to handle 16Mb of simultaneous raw IO operations.
  */
@@ -133,5 +126,5 @@
 /*
  * number of kernel PT pages (initial only, can grow dynamically)
  */
-#define VM_KERNEL_PT_PAGES     ((vsize_t)4)            /* XXX: SYSPTSIZE */
+#define VM_KERNEL_PT_PAGES     ((vsize_t)4)
 #endif /* !_MACHINE_VMPARAM_H_ */
diff -r ce00db4f2457 -r f9de5010f8eb sys/arch/cesfic/include/vmparam.h
--- a/sys/arch/cesfic/include/vmparam.h Thu Feb 02 21:35:29 2017 +0000
+++ b/sys/arch/cesfic/include/vmparam.h Thu Feb 02 21:50:22 2017 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: vmparam.h,v 1.15 2011/02/08 20:20:11 rmind Exp $       */
+/*     $NetBSD: vmparam.h,v 1.16 2017/02/02 21:50:22 rin Exp $ */
 
 /*
  * Copyright (c) 1988 University of Utah.
@@ -96,13 +96,6 @@
 #define        DMMAX   4096                    /* largest potential swap allocation */
 
 /*
- * Sizes of the system and user portions of the system page table.
- */
-/* SYSPTSIZE IS SILLY; IT SHOULD BE COMPUTED AT BOOT TIME */
-#define        SYSPTSIZE       (2 * NPTEPG)    /* 8mb */
-#define        USRPTSIZE       (1 * NPTEPG)    /* 4mb */
-
-/*
  * PTEs for mapping user space into the kernel for phyio operations.
  * One page is enough to handle 4Mb of simultaneous raw IO operations.
  */
@@ -125,7 +118,7 @@
 #define VM_PHYS_SIZE           (USRIOSIZE*PAGE_SIZE)
 
 /* # of kernel PT pages (initial only, can grow dynamically) */
-#define VM_KERNEL_PT_PAGES     ((vsize_t)2)            /* XXX: SYSPTSIZE */
+#define VM_KERNEL_PT_PAGES     ((vsize_t)2)
 
 /* Use new VM page bootstrap interface. */
 #define        MACHINE_NEW_NONCONTIG
diff -r ce00db4f2457 -r f9de5010f8eb sys/arch/hp300/include/vmparam.h
--- a/sys/arch/hp300/include/vmparam.h  Thu Feb 02 21:35:29 2017 +0000
+++ b/sys/arch/hp300/include/vmparam.h  Thu Feb 02 21:50:22 2017 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: vmparam.h,v 1.37 2011/02/08 20:20:14 rmind Exp $       */
+/*     $NetBSD: vmparam.h,v 1.38 2017/02/02 21:50:22 rin Exp $ */
 
 /*
  * Copyright (c) 1988 University of Utah.
@@ -86,13 +86,6 @@
 #endif
 
 /*
- * Sizes of the system and user portions of the system page table.
- */
-/* SYSPTSIZE IS SILLY; IT SHOULD BE COMPUTED AT BOOT TIME */
-#define        SYSPTSIZE       (2 * NPTEPG)    /* 8mb */
-#define        USRPTSIZE       (1 * NPTEPG)    /* 4mb */
-
-/*
  * PTEs for mapping user space into the kernel for phyio operations.
  * One page is enough to handle 4Mb of simultaneous raw IO operations.
  */
@@ -125,7 +118,7 @@
 #define VM_PHYS_SIZE           (USRIOSIZE*PAGE_SIZE)
 
 /* # of kernel PT pages (initial only, can grow dynamically) */
-#define VM_KERNEL_PT_PAGES     ((vsize_t)2)            /* XXX: SYSPTSIZE */
+#define VM_KERNEL_PT_PAGES     ((vsize_t)2)
 
 /*
  * Constants which control the way the VM system deals with memory segments.
diff -r ce00db4f2457 -r f9de5010f8eb sys/arch/luna68k/include/vmparam.h
--- a/sys/arch/luna68k/include/vmparam.h        Thu Feb 02 21:35:29 2017 +0000
+++ b/sys/arch/luna68k/include/vmparam.h        Thu Feb 02 21:50:22 2017 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: vmparam.h,v 1.19 2014/07/26 12:48:07 tsutsui Exp $     */
+/*     $NetBSD: vmparam.h,v 1.20 2017/02/02 21:50:22 rin Exp $ */
 
 /*
  * Copyright (c) 1988 University of Utah.
@@ -74,13 +74,6 @@
 #endif
 
 /*
- * Sizes of the system and user portions of the system page table.
- */
-/* SYSPTSIZE IS SILLY; IT SHOULD BE COMPUTED AT BOOT TIME */
-#define SYSPTSIZE      (2 * NPTEPG)    /* 8mb */
-#define USRPTSIZE      (1 * NPTEPG)    /* 4mb */
-
-/*
  * PTEs for mapping user space into the kernel for phyio operations.
  * One page is enough to handle 4Mb of simultaneous raw IO operations.
  */
@@ -103,7 +96,7 @@
 #define VM_PHYS_SIZE           (USRIOSIZE*PAGE_SIZE)
 
 /* # of kernel PT pages (initial only, can grow dynamically) */
-#define VM_KERNEL_PT_PAGES     ((vsize_t)2)            /* XXX: SYSPTSIZE */
+#define VM_KERNEL_PT_PAGES     ((vsize_t)2)
 
 /*
  * Constants which control the way the VM system deals with memory segments.
diff -r ce00db4f2457 -r f9de5010f8eb sys/arch/mac68k/include/vmparam.h
--- a/sys/arch/mac68k/include/vmparam.h Thu Feb 02 21:35:29 2017 +0000
+++ b/sys/arch/mac68k/include/vmparam.h Thu Feb 02 21:50:22 2017 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: vmparam.h,v 1.42 2011/02/08 20:20:18 rmind Exp $       */
+/*     $NetBSD: vmparam.h,v 1.43 2017/02/02 21:50:22 rin Exp $ */
 
 /*
  * Copyright (c) 1988 University of Utah.
@@ -119,13 +119,6 @@
 #endif
 
 /*
- * Sizes of the system and user portions of the system page table.
- */
-/* SYSPTSIZE IS SILLY; IT SHOULD BE COMPUTED AT BOOT TIME */
-#define        SYSPTSIZE       (2 * NPTEPG)    /* 8mb */
-#define        USRPTSIZE       (1 * NPTEPG)    /* 4mb */
-
-/*
  * PTEs for mapping user space into the kernel for phyio operations.
  * One page is enough to handle 4Mb of simultaneous raw IO operations.
  */
@@ -148,7 +141,7 @@
 #define VM_PHYS_SIZE           (USRIOSIZE*PAGE_SIZE)
 
 /* # of kernel PT pages (initial only, can grow dynamically) */
-#define VM_KERNEL_PT_PAGES     ((vsize_t)2)            /* XXX: SYSPTSIZE */
+#define VM_KERNEL_PT_PAGES     ((vsize_t)2)
 
 /*
  * Constants which control the way the VM system deals with memory segments.
diff -r ce00db4f2457 -r f9de5010f8eb sys/arch/mac68k/mac68k/genassym.cf
--- a/sys/arch/mac68k/mac68k/genassym.cf        Thu Feb 02 21:35:29 2017 +0000
+++ b/sys/arch/mac68k/mac68k/genassym.cf        Thu Feb 02 21:50:22 2017 +0000
@@ -1,4 +1,4 @@
-#      $NetBSD: genassym.cf,v 1.37 2013/07/16 07:31:40 jklos Exp $
+#      $NetBSD: genassym.cf,v 1.38 2017/02/02 21:50:23 rin Exp $
 
 #
 # Copyright (c) 1990 The Regents of the University of California.
@@ -80,8 +80,6 @@
 define PAGE_SIZE               PAGE_SIZE
 define NPTEPG                  NPTEPG
 define PGSHIFT                 PGSHIFT
-define SYSPTSIZE               SYSPTSIZE
-define USRPTSIZE               USRPTSIZE
 define USRIOSIZE               USRIOSIZE
 define USRSTACK                USRSTACK
 
diff -r ce00db4f2457 -r f9de5010f8eb sys/arch/mvme68k/include/vmparam.h
--- a/sys/arch/mvme68k/include/vmparam.h        Thu Feb 02 21:35:29 2017 +0000
+++ b/sys/arch/mvme68k/include/vmparam.h        Thu Feb 02 21:50:22 2017 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: vmparam.h,v 1.34 2011/02/08 20:20:20 rmind Exp $       */
+/*     $NetBSD: vmparam.h,v 1.35 2017/02/02 21:50:23 rin Exp $ */
 
 /*
  * Copyright (c) 1988 University of Utah.
@@ -86,13 +86,6 @@
 #endif
 
 /*
- * Sizes of the system and user portions of the system page table.
- */
-/* SYSPTSIZE IS SILLY; IT SHOULD BE COMPUTED AT BOOT TIME */
-#define        SYSPTSIZE       (2 * NPTEPG)    /* 8mb */
-#define        USRPTSIZE       (1 * NPTEPG)    /* 4mb */
-
-/*
  * PTEs for mapping user space into the kernel for phyio operations.
  * One page is enough to handle 4Mb of simultaneous raw IO operations.
  */
@@ -115,7 +108,7 @@
 #define VM_PHYS_SIZE           (USRIOSIZE*PAGE_SIZE)
 
 /* # of kernel PT pages (initial only, can grow dynamically) */
-#define VM_KERNEL_PT_PAGES     ((vsize_t)2)            /* XXX: SYSPTSIZE */
+#define VM_KERNEL_PT_PAGES     ((vsize_t)2)
 
 /*
  * Constants which control the way the VM system deals with memory segments.
diff -r ce00db4f2457 -r f9de5010f8eb sys/arch/news68k/include/vmparam.h
--- a/sys/arch/news68k/include/vmparam.h        Thu Feb 02 21:35:29 2017 +0000
+++ b/sys/arch/news68k/include/vmparam.h        Thu Feb 02 21:50:22 2017 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: vmparam.h,v 1.19 2011/11/20 15:38:00 tsutsui Exp $     */
+/*     $NetBSD: vmparam.h,v 1.20 2017/02/02 21:50:23 rin Exp $ */
 
 /*
  * Copyright (c) 1988 University of Utah.
@@ -86,13 +86,6 @@
 #endif
 
 /*
- * Sizes of the system and user portions of the system page table.
- */
-/* SYSPTSIZE IS SILLY; IT SHOULD BE COMPUTED AT BOOT TIME */
-#define        SYSPTSIZE       (2 * NPTEPG)    /* 8mb */
-#define        USRPTSIZE       (1 * NPTEPG)    /* 4mb */
-
-/*
  * PTEs for mapping user space into the kernel for phyio operations.
  * One page is enough to handle 4Mb of simultaneous raw IO operations.
  */
@@ -115,7 +108,7 @@
 #define VM_PHYS_SIZE           (USRIOSIZE*PAGE_SIZE)
 
 /* # of kernel PT pages (initial only, can grow dynamically) */
-#define VM_KERNEL_PT_PAGES     ((vsize_t)2)            /* XXX: SYSPTSIZE */
+#define VM_KERNEL_PT_PAGES     ((vsize_t)2)
 
 /*
  * Constants which control the way the VM system deals with memory segments.
diff -r ce00db4f2457 -r f9de5010f8eb sys/arch/next68k/include/vmparam.h
--- a/sys/arch/next68k/include/vmparam.h        Thu Feb 02 21:35:29 2017 +0000
+++ b/sys/arch/next68k/include/vmparam.h        Thu Feb 02 21:50:22 2017 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: vmparam.h,v 1.23 2011/02/08 20:20:21 rmind Exp $       */
+/*     $NetBSD: vmparam.h,v 1.24 2017/02/02 21:50:23 rin Exp $ */
 
 /*
  * This file was taken from from mvme68k/include/vmparam.h and
@@ -93,13 +93,6 @@
 #endif
 
 /*
- * Sizes of the system and user portions of the system page table.
- */
-/* SYSPTSIZE IS SILLY; IT SHOULD BE COMPUTED AT BOOT TIME */
-#define        SYSPTSIZE       (2 * NPTEPG)    /* 8mb */
-#define        USRPTSIZE       (1 * NPTEPG)    /* 4mb */
-
-/*
  * PTEs for mapping user space into the kernel for phyio operations.
  * One page is enough to handle 4Mb of simultaneous raw IO operations.
  */
@@ -122,7 +115,7 @@
 #define VM_PHYS_SIZE           (USRIOSIZE*PAGE_SIZE)
 
 /* # of kernel PT pages (initial only, can grow dynamically) */
-#define VM_KERNEL_PT_PAGES     ((vsize_t)2)            /* XXX: SYSPTSIZE */
+#define VM_KERNEL_PT_PAGES     ((vsize_t)2)
 
 /*
  * Constants which control the way the VM system deals with memory segments.
diff -r ce00db4f2457 -r f9de5010f8eb sys/arch/x68k/include/vmparam.h
--- a/sys/arch/x68k/include/vmparam.h   Thu Feb 02 21:35:29 2017 +0000
+++ b/sys/arch/x68k/include/vmparam.h   Thu Feb 02 21:50:22 2017 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: vmparam.h,v 1.36 2014/01/25 00:07:48 tsutsui Exp $     */
+/*     $NetBSD: vmparam.h,v 1.37 2017/02/02 21:50:23 rin Exp $ */
 
 /*
  * Copyright (c) 1988 University of Utah.
@@ -78,13 +78,6 @@
 #endif
 
 /*
- * Sizes of the system and user portions of the system page table.
- */
-/* SYSPTSIZE IS SILLY; IT SHOULD BE COMPUTED AT BOOT TIME */
-#define        SYSPTSIZE       (2 * NPTEPG)    /* 8mb */
-#define        USRPTSIZE       (1 * NPTEPG)    /* 4mb */
-
-/*
  * PTEs for mapping user space into the kernel for phyio operations.
  * One page is enough to handle 4Mb of simultaneous raw IO operations.
  */
@@ -107,7 +100,7 @@
 #define VM_PHYS_SIZE           (USRIOSIZE*PAGE_SIZE)
 
 /* # of kernel PT pages (initial only, can grow dynamically) */
-#define VM_KERNEL_PT_PAGES     ((vsize_t)4)            /* XXX: SYSPTSIZE */



Home | Main Index | Thread Index | Old Index