Module Name:    src
Committed By:   rin
Date:           Thu Feb  2 21:50:23 UTC 2017

Modified Files:
        src/sys/arch/atari/include: vmparam.h
        src/sys/arch/cesfic/include: vmparam.h
        src/sys/arch/hp300/include: vmparam.h
        src/sys/arch/luna68k/include: vmparam.h
        src/sys/arch/mac68k/include: vmparam.h
        src/sys/arch/mac68k/mac68k: genassym.cf
        src/sys/arch/mvme68k/include: vmparam.h
        src/sys/arch/news68k/include: vmparam.h
        src/sys/arch/next68k/include: vmparam.h
        src/sys/arch/x68k/include: vmparam.h

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


To generate a diff of this commit:
cvs rdiff -u -r1.29 -r1.30 src/sys/arch/atari/include/vmparam.h
cvs rdiff -u -r1.15 -r1.16 src/sys/arch/cesfic/include/vmparam.h
cvs rdiff -u -r1.37 -r1.38 src/sys/arch/hp300/include/vmparam.h
cvs rdiff -u -r1.19 -r1.20 src/sys/arch/luna68k/include/vmparam.h
cvs rdiff -u -r1.42 -r1.43 src/sys/arch/mac68k/include/vmparam.h
cvs rdiff -u -r1.37 -r1.38 src/sys/arch/mac68k/mac68k/genassym.cf
cvs rdiff -u -r1.34 -r1.35 src/sys/arch/mvme68k/include/vmparam.h
cvs rdiff -u -r1.19 -r1.20 src/sys/arch/news68k/include/vmparam.h
cvs rdiff -u -r1.23 -r1.24 src/sys/arch/next68k/include/vmparam.h
cvs rdiff -u -r1.36 -r1.37 src/sys/arch/x68k/include/vmparam.h

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/sys/arch/atari/include/vmparam.h
diff -u src/sys/arch/atari/include/vmparam.h:1.29 src/sys/arch/atari/include/vmparam.h:1.30
--- src/sys/arch/atari/include/vmparam.h:1.29	Sat Jul 26 13:24:34 2014
+++ src/sys/arch/atari/include/vmparam.h	Thu Feb  2 21:50:22 2017
@@ -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 @@ struct pmap_physseg { 
 /*
  * 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_ */

Index: src/sys/arch/cesfic/include/vmparam.h
diff -u src/sys/arch/cesfic/include/vmparam.h:1.15 src/sys/arch/cesfic/include/vmparam.h:1.16
--- src/sys/arch/cesfic/include/vmparam.h:1.15	Tue Feb  8 20:20:11 2011
+++ src/sys/arch/cesfic/include/vmparam.h	Thu Feb  2 21:50:22 2017
@@ -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

Index: src/sys/arch/hp300/include/vmparam.h
diff -u src/sys/arch/hp300/include/vmparam.h:1.37 src/sys/arch/hp300/include/vmparam.h:1.38
--- src/sys/arch/hp300/include/vmparam.h:1.37	Tue Feb  8 20:20:14 2011
+++ src/sys/arch/hp300/include/vmparam.h	Thu Feb  2 21:50:22 2017
@@ -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.

Index: src/sys/arch/luna68k/include/vmparam.h
diff -u src/sys/arch/luna68k/include/vmparam.h:1.19 src/sys/arch/luna68k/include/vmparam.h:1.20
--- src/sys/arch/luna68k/include/vmparam.h:1.19	Sat Jul 26 12:48:07 2014
+++ src/sys/arch/luna68k/include/vmparam.h	Thu Feb  2 21:50:22 2017
@@ -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.

Index: src/sys/arch/mac68k/include/vmparam.h
diff -u src/sys/arch/mac68k/include/vmparam.h:1.42 src/sys/arch/mac68k/include/vmparam.h:1.43
--- src/sys/arch/mac68k/include/vmparam.h:1.42	Tue Feb  8 20:20:18 2011
+++ src/sys/arch/mac68k/include/vmparam.h	Thu Feb  2 21:50:22 2017
@@ -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.

Index: src/sys/arch/mac68k/mac68k/genassym.cf
diff -u src/sys/arch/mac68k/mac68k/genassym.cf:1.37 src/sys/arch/mac68k/mac68k/genassym.cf:1.38
--- src/sys/arch/mac68k/mac68k/genassym.cf:1.37	Tue Jul 16 07:31:40 2013
+++ src/sys/arch/mac68k/mac68k/genassym.cf	Thu Feb  2 21:50:23 2017
@@ -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	P1PAGES 		P1PAGES
 define	PAGE_SIZE		PAGE_SIZE
 define	NPTEPG			NPTEPG
 define	PGSHIFT 		PGSHIFT
-define	SYSPTSIZE		SYSPTSIZE
-define	USRPTSIZE		USRPTSIZE
 define	USRIOSIZE		USRIOSIZE
 define	USRSTACK		USRSTACK
 

Index: src/sys/arch/mvme68k/include/vmparam.h
diff -u src/sys/arch/mvme68k/include/vmparam.h:1.34 src/sys/arch/mvme68k/include/vmparam.h:1.35
--- src/sys/arch/mvme68k/include/vmparam.h:1.34	Tue Feb  8 20:20:20 2011
+++ src/sys/arch/mvme68k/include/vmparam.h	Thu Feb  2 21:50:23 2017
@@ -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.

Index: src/sys/arch/news68k/include/vmparam.h
diff -u src/sys/arch/news68k/include/vmparam.h:1.19 src/sys/arch/news68k/include/vmparam.h:1.20
--- src/sys/arch/news68k/include/vmparam.h:1.19	Sun Nov 20 15:38:00 2011
+++ src/sys/arch/news68k/include/vmparam.h	Thu Feb  2 21:50:23 2017
@@ -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.

Index: src/sys/arch/next68k/include/vmparam.h
diff -u src/sys/arch/next68k/include/vmparam.h:1.23 src/sys/arch/next68k/include/vmparam.h:1.24
--- src/sys/arch/next68k/include/vmparam.h:1.23	Tue Feb  8 20:20:21 2011
+++ src/sys/arch/next68k/include/vmparam.h	Thu Feb  2 21:50:23 2017
@@ -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.

Index: src/sys/arch/x68k/include/vmparam.h
diff -u src/sys/arch/x68k/include/vmparam.h:1.36 src/sys/arch/x68k/include/vmparam.h:1.37
--- src/sys/arch/x68k/include/vmparam.h:1.36	Sat Jan 25 00:07:48 2014
+++ src/sys/arch/x68k/include/vmparam.h	Thu Feb  2 21:50:23 2017
@@ -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 */
+#define VM_KERNEL_PT_PAGES	((vsize_t)4)
 
 /*
  * Constants which control the way the VM system deals with memory segments.

Reply via email to