CVS commit: src/sys/arch/amiga/include

2015-09-30 Thread Frank Wille
Module Name:src
Committed By:   phx
Date:   Wed Sep 30 20:36:28 UTC 2015

Modified Files:
src/sys/arch/amiga/include: vmparam.h

Log Message:
Reduce MAXDSIZ from 416MB back to 224MB.
Due to limitations by the current pmap implementation our virtual address
space is limited to 512MB. A MAXDSIZ of 416MB would leave only a little bit
more than 30MB for shared objects and heap allocations, so 224MB seems like
a good compromise.


To generate a diff of this commit:
cvs rdiff -u -r1.45 -r1.46 src/sys/arch/amiga/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/amiga/include/vmparam.h
diff -u src/sys/arch/amiga/include/vmparam.h:1.45 src/sys/arch/amiga/include/vmparam.h:1.46
--- src/sys/arch/amiga/include/vmparam.h:1.45	Fri Jun 19 14:55:51 2015
+++ src/sys/arch/amiga/include/vmparam.h	Wed Sep 30 20:36:28 2015
@@ -1,4 +1,4 @@
-/*	$NetBSD: vmparam.h,v 1.45 2015/06/19 14:55:51 mlelstv Exp $	*/
+/*	$NetBSD: vmparam.h,v 1.46 2015/09/30 20:36:28 phx Exp $	*/
 
 /*
  * Copyright (c) 1988 University of Utah.
@@ -74,7 +74,7 @@
 #define	DFLDSIZ		(64*1024*1024)		/* initial data size limit */
 #endif
 #ifndef MAXDSIZ
-#define	MAXDSIZ		(416*1024*1024)		/* max data size */
+#define	MAXDSIZ		(224*1024*1024)		/* max data size */
 #endif
 #ifndef	DFLSSIZ
 #define	DFLSSIZ		(2*1024*1024)		/* initial stack size limit */



CVS commit: src/sys/arch/amiga/include

2015-06-19 Thread Michael van Elst
Module Name:src
Committed By:   mlelstv
Date:   Fri Jun 19 14:55:51 UTC 2015

Modified Files:
src/sys/arch/amiga/include: vmparam.h

Log Message:
remove obsolete comments


To generate a diff of this commit:
cvs rdiff -u -r1.44 -r1.45 src/sys/arch/amiga/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/amiga/include/vmparam.h
diff -u src/sys/arch/amiga/include/vmparam.h:1.44 src/sys/arch/amiga/include/vmparam.h:1.45
--- src/sys/arch/amiga/include/vmparam.h:1.44	Sat Jun 13 23:55:18 2015
+++ src/sys/arch/amiga/include/vmparam.h	Fri Jun 19 14:55:51 2015
@@ -1,4 +1,4 @@
-/*	$NetBSD: vmparam.h,v 1.44 2015/06/13 23:55:18 phx Exp $	*/
+/*	$NetBSD: vmparam.h,v 1.45 2015/06/19 14:55:51 mlelstv Exp $	*/
 
 /*
  * Copyright (c) 1988 University of Utah.
@@ -57,8 +57,6 @@
 
 /*
  * USRSTACK is the top (end) of the user stack.
- *
- * These are a mixture of i386, sun3 and hp settings.. 
  */
 
 #ifndef USRSTACK
@@ -138,5 +136,5 @@ struct pmap_physseg { 
 /*
  * number of kernel PT pages (initial only, can grow dynamically)
  */
-#define VM_KERNEL_PT_PAGES	((vm_size_t)10)		/* XXX: SYSPTSIZE */
+#define VM_KERNEL_PT_PAGES	((vm_size_t)10)
 #endif /* !_MACHINE_VMPARAM_H_ */



CVS commit: src/sys/arch/amiga/include

2015-06-13 Thread Frank Wille
Module Name:src
Committed By:   phx
Date:   Sat Jun 13 23:55:18 UTC 2015

Modified Files:
src/sys/arch/amiga/include: vmparam.h

Log Message:
Use all the changes from
http://ftp.netbsd.org/pub/NetBSD/misc/mlelstv/vmparam.diff
after a discussion on port-m68k. I tested them on several Amiga models
and they seem to work fine.
This gives us the maximum virtual memory space for a process under the
current 512MB pmap limitation.
Also bump VM_KERNEL_PT_PAGES to allow up to 2 GB RAM.


To generate a diff of this commit:
cvs rdiff -u -r1.43 -r1.44 src/sys/arch/amiga/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/amiga/include/vmparam.h
diff -u src/sys/arch/amiga/include/vmparam.h:1.43 src/sys/arch/amiga/include/vmparam.h:1.44
--- src/sys/arch/amiga/include/vmparam.h:1.43	Mon Jun  1 17:16:56 2015
+++ src/sys/arch/amiga/include/vmparam.h	Sat Jun 13 23:55:18 2015
@@ -1,4 +1,4 @@
-/*	$NetBSD: vmparam.h,v 1.43 2015/06/01 17:16:56 phx Exp $	*/
+/*	$NetBSD: vmparam.h,v 1.44 2015/06/13 23:55:18 phx Exp $	*/
 
 /*
  * Copyright (c) 1988 University of Utah.
@@ -70,13 +70,13 @@
  */
 
 #ifndef MAXTSIZ
-#define	MAXTSIZ		(16*1024*1024)		/* max text size */
+#define	MAXTSIZ		(32*1024*1024)		/* max text size */
 #endif
 #ifndef DFLDSIZ
-#define	DFLDSIZ		(32*1024*1024)		/* initial data size limit */
+#define	DFLDSIZ		(64*1024*1024)		/* initial data size limit */
 #endif
 #ifndef MAXDSIZ
-#define	MAXDSIZ		(256*1024*1024)		/* max data size */
+#define	MAXDSIZ		(416*1024*1024)		/* max data size */
 #endif
 #ifndef	DFLSSIZ
 #define	DFLSSIZ		(2*1024*1024)		/* initial stack size limit */
@@ -138,5 +138,5 @@ struct pmap_physseg { 
 /*
  * number of kernel PT pages (initial only, can grow dynamically)
  */
-#define VM_KERNEL_PT_PAGES	((vm_size_t)8)		/* XXX: SYSPTSIZE */
+#define VM_KERNEL_PT_PAGES	((vm_size_t)10)		/* XXX: SYSPTSIZE */
 #endif /* !_MACHINE_VMPARAM_H_ */



CVS commit: src/sys/arch/amiga/include

2015-06-01 Thread Frank Wille
Module Name:src
Committed By:   phx
Date:   Mon Jun  1 17:16:57 UTC 2015

Modified Files:
src/sys/arch/amiga/include: vmparam.h

Log Message:
Remove unused KUSER_AREA, SYSPTSIZE, USRPTSIZE.
Bump MAXTSIZ and MAXDSIZ to the same values atari is using.
This makes gcc 4.8 (/usr/libexec/cc1) load and execute.


To generate a diff of this commit:
cvs rdiff -u -r1.42 -r1.43 src/sys/arch/amiga/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/amiga/include/vmparam.h
diff -u src/sys/arch/amiga/include/vmparam.h:1.42 src/sys/arch/amiga/include/vmparam.h:1.43
--- src/sys/arch/amiga/include/vmparam.h:1.42	Tue Feb  8 20:20:08 2011
+++ src/sys/arch/amiga/include/vmparam.h	Mon Jun  1 17:16:56 2015
@@ -1,4 +1,4 @@
-/*	$NetBSD: vmparam.h,v 1.42 2011/02/08 20:20:08 rmind Exp $	*/
+/*	$NetBSD: vmparam.h,v 1.43 2015/06/01 17:16:56 phx Exp $	*/
 
 /*
  * Copyright (c) 1988 University of Utah.
@@ -64,19 +64,19 @@
 #ifndef USRSTACK
 #define	USRSTACK	0x1E00
 #endif
-#define KUSER_AREA	(-UPAGES*PAGE_SIZE)
+
 /*
  * Virtual memory related constants, all in bytes
  */
 
 #ifndef MAXTSIZ
-#define	MAXTSIZ		(6*1024*1024)		/* max text size */
+#define	MAXTSIZ		(16*1024*1024)		/* max text size */
 #endif
 #ifndef DFLDSIZ
 #define	DFLDSIZ		(32*1024*1024)		/* initial data size limit */
 #endif
 #ifndef MAXDSIZ
-#define	MAXDSIZ		(128*1024*1024)		/* max data size */
+#define	MAXDSIZ		(256*1024*1024)		/* max data size */
 #endif
 #ifndef	DFLSSIZ
 #define	DFLSSIZ		(2*1024*1024)		/* initial stack size limit */
@@ -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)	/* 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.
  */



CVS commit: src/sys/arch/amiga/include

2011-09-21 Thread Radoslaw Kujawa
Module Name:src
Committed By:   rkujawa
Date:   Wed Sep 21 13:05:32 UTC 2011

Modified Files:
src/sys/arch/amiga/include: bus.h

Log Message:
Remove zbusmap prototype from bus.h (now in zbusvar.h)


To generate a diff of this commit:
cvs rdiff -u -r1.24 -r1.25 src/sys/arch/amiga/include/bus.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/amiga/include/bus.h
diff -u src/sys/arch/amiga/include/bus.h:1.24 src/sys/arch/amiga/include/bus.h:1.25
--- src/sys/arch/amiga/include/bus.h:1.24	Thu Aug  4 17:48:51 2011
+++ src/sys/arch/amiga/include/bus.h	Wed Sep 21 13:05:32 2011
@@ -1,4 +1,4 @@
-/*	$NetBSD: bus.h,v 1.24 2011/08/04 17:48:51 rkujawa Exp $	*/
+/*	$NetBSD: bus.h,v 1.25 2011/09/21 13:05:32 rkujawa Exp $	*/
 
 /*
  * Copyright (c) 1996 Leo Weppelman.  All rights reserved.
@@ -280,7 +280,5 @@
 extern const struct amiga_bus_space_methods amiga_bus_stride_4swap;
 extern const struct amiga_bus_space_methods amiga_bus_stride_16;
 
-void *zbusmap(void *pa, u_int size);
-
 #endif /* _AMIGA_BUS_H_ */
 



CVS commit: src/sys/arch/amiga/include

2009-05-30 Thread Frank Wille
Module Name:src
Committed By:   phx
Date:   Sat May 30 16:42:40 UTC 2009

Removed Files:
src/sys/arch/amiga/include: mtpr.h

Log Message:
No longer used since migrating from sicallback-softints to MI-softints.


To generate a diff of this commit:
cvs rdiff -u -r1.19 -r0 src/sys/arch/amiga/include/mtpr.h

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