PR port-mac68k/51923

Remove unused SYSPTSIZE and USRPTSIZE from m68k ports.
Ok jklos
This commit is contained in:
rin 2017-02-02 21:50:22 +00:00
parent 06bb7d7f96
commit 6eadace49f
10 changed files with 19 additions and 84 deletions

View File

@ -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.
@ -80,13 +80,6 @@
#define MAXSSIZ (256*1024*1024) /* max stack size */
#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_ */

View File

@ -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.
@ -95,13 +95,6 @@
#define DMMIN 32 /* smallest swap allocation */
#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

View File

@ -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.
@ -85,13 +85,6 @@
#define MAXSSIZ MAXDSIZ /* max stack size */
#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.

View File

@ -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.
@ -73,13 +73,6 @@
#define MAXSSIZ MAXDSIZ /* max stack size */
#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.

View File

@ -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.
@ -118,13 +118,6 @@
#define MAXSSIZ (32*1024*1024) /* max stack size */
#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.

View File

@ -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

View File

@ -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.
@ -85,13 +85,6 @@
#define MAXSSIZ MAXDSIZ /* max stack size */
#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.

View File

@ -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.
@ -85,13 +85,6 @@
#define MAXSSIZ MAXDSIZ /* max stack size */
#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.

View File

@ -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
@ -92,13 +92,6 @@
#define MAXSSIZ MAXDSIZ /* max stack size */
#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.

View File

@ -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.
@ -77,13 +77,6 @@
#define MAXSSIZ MAXDSIZ /* max stack size */
#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.