#
1.49 |
|
14-Dec-2023 |
claudio |
NKMEMPAGES_MAX_DEFAULT is no longer used. Remove it from param.h. OK miod@
|
Revision tags: OPENBSD_7_2_BASE OPENBSD_7_3_BASE OPENBSD_7_4_BASE
|
#
1.48 |
|
10-Sep-2022 |
miod |
Remove pmap_collect() when a no-op, define __HAVE_PMAP_COLLECT otherwise. Use that define to shunt uvm_swapout_threads(), which is a noop when pmap_collect() does nothing.
ok mpi@
|
Revision tags: OPENBSD_6_4_BASE OPENBSD_6_5_BASE OPENBSD_6_6_BASE OPENBSD_6_7_BASE OPENBSD_6_8_BASE OPENBSD_6_9_BASE OPENBSD_7_0_BASE OPENBSD_7_1_BASE
|
#
1.47 |
|
14-Sep-2018 |
claudio |
Unify and bump some of the NMBCLUSTERS defines. Some archs had it set to 4MB which is far too low especially when the platform is able to run MP. New limits are, amd64 = 256M; arm64, mips64, sparc64 = 64M; alpha, arm, hppa, i386, powerpc = 32M; m88k, sh = 8M Still rather conservative numbers but much better than before. At least some hangs of arm64 build boxes was caused by this. OK kettenis@, visa@
|
Revision tags: OPENBSD_6_1_BASE OPENBSD_6_2_BASE OPENBSD_6_3_BASE
|
#
1.46 |
|
03-Sep-2016 |
bluhm |
Increase the number of mbufs on most architectures. This is based on a guess how much memory a typical machine has. If the value is too high, users may run out of kernel memory. Then we will have to adjust this again. OK claudio@ deraadt@
|
Revision tags: OPENBSD_5_4_BASE OPENBSD_5_5_BASE OPENBSD_5_6_BASE OPENBSD_5_7_BASE OPENBSD_5_8_BASE OPENBSD_5_9_BASE OPENBSD_6_0_BASE
|
#
1.45 |
|
26-Mar-2013 |
deraadt |
PGSHIFT and PGOFSET are now contained inside the kernel namespace.
|
#
1.44 |
|
25-Mar-2013 |
deraadt |
ALIGNBYTES/ALIGN/ALIGNED_POINTER can move to the MI file.
|
#
1.43 |
|
23-Mar-2013 |
deraadt |
refactor sys/param.h and machine/param.h. A lot of #ifdef _KERNEL is added to keep definitions our of user space. The MD files now follow a consistant order -- all namespace intrusion is at the tail can be cleaned up independently. locore, bootblocks, and libkvm still see enough visibility to build. Checked on 90% of platforms...
|
Revision tags: OPENBSD_5_2_BASE OPENBSD_5_3_BASE
|
#
1.42 |
|
26-Jun-2012 |
deraadt |
param.h (like landisk and alpha before) was still trying to include too much of the kernel world when it did not need to
|
Revision tags: OPENBSD_5_1_BASE
|
#
1.41 |
|
08-Sep-2011 |
guenther |
Provide namespace-safe alignment macros in <machine/_types.h>, with compat names kept in <machine/param.h>. In <sys/socket.h>, pull in <sys/_types.h> instead of the namespace polluting <machine/param.h> and completely eliminate __CMSG_ALIGN, replaced by _ALIGN
ok deraadt@
|
Revision tags: OPENBSD_5_0_BASE
|
#
1.40 |
|
07-Apr-2011 |
miod |
Make sure the ALIGN() macro uses u_long on all platforms for consistency, and update the comment block accordingly.
|
Revision tags: OPENBSD_4_9_BASE
|
#
1.39 |
|
26-Oct-2010 |
deraadt |
thib missed this architecture when he did all the other architectures; ok thib jsing -- Move the MSIZE, MCLSHIFT, MCLBYTES and the MCLOFSET mbuf constants from MD param.h to MI param.h. Besides being the same on every arch, things will most probly break if any arch has different values then the others.
The NMBCLUSTERS constants needs to be MD though;
ok miod@,krw@,claudio@
|
Revision tags: OPENBSD_4_8_BASE
|
#
1.38 |
|
29-Jun-2010 |
guenther |
Remove COMPAT_HPUX. No one wanted to support it and its fewmets were blocking other cleanups ok miod@
|
Revision tags: OPENBSD_4_3_BASE OPENBSD_4_4_BASE OPENBSD_4_5_BASE OPENBSD_4_6_BASE OPENBSD_4_7_BASE
|
#
1.37 |
|
22-Sep-2007 |
martin |
replace even more ctob and btoc with ptoa and atop respectively plus uvm_extern.h where needed
|
Revision tags: OPENBSD_4_2_BASE
|
#
1.36 |
|
15-Jul-2007 |
kettenis |
Delay switching to the real serial console until we attach the serial device. The variety of different serial devices is just too big to make a decision up front. This should make the second serial port on four-digit B/C/J-class workstation work as a serial console too.
ok miod@
|
#
1.35 |
|
01-Jul-2007 |
kettenis |
Oops! Revert previous commit.
|
#
1.34 |
|
01-Jul-2007 |
kettenis |
Add PDC_IO.
|
Revision tags: OPENBSD_4_0_BASE OPENBSD_4_1_BASE
|
#
1.33 |
|
12-Aug-2006 |
krw |
Make all DEV_BSIZE definitions consistant by using (1 << DEV_BSHIFT) in the six cases using "512".
As DEV_BSHIFT is always 9, this should be a no-op.
"no objections" miod@ "I can't see any problem doing this." pedro@
|
#
1.32 |
|
19-Mar-2006 |
martin |
remove unused bdbtofsb(bn) macro
found by drahn@
|
Revision tags: OPENBSD_3_9_BASE
|
#
1.31 |
|
22-Dec-2005 |
marco |
Bad commit, breaks hppa64. Prompted by deraadt@
|
#
1.30 |
|
21-Dec-2005 |
marco |
Add MACHINE_STACK_ALIGN define.
|
#
1.29 |
|
13-Dec-2005 |
martin |
nuke unused BTOPKERNBASE define
pointed out by miod@
|
#
1.28 |
|
28-Nov-2005 |
martin |
use atop(), remove last traces of Mach macros from hppa and hppa64
|
#
1.27 |
|
26-Oct-2005 |
martin |
no more hppa_round_page() and hppa_trunc_page() macros
ok mickey@
|
Revision tags: OPENBSD_3_8_BASE
|
#
1.26 |
|
31-Jul-2005 |
miod |
Get rid of unused SINCR and SSIZE constants.
|
Revision tags: OPENBSD_3_7_BASE
|
#
1.25 |
|
14-Sep-2004 |
mickey |
higher max kmem default and mark swap broken
|
Revision tags: OPENBSD_3_6_BASE
|
#
1.24 |
|
06-Aug-2004 |
mickey |
provide md USPACE_ALIGN zero on all but mips; deradat@ pefo@ ok
|
#
1.23 |
|
28-Jun-2004 |
mickey |
do not cast explicitly to unsigned; found by otto@
|
Revision tags: SMP_SYNC_A SMP_SYNC_B
|
#
1.22 |
|
19-Apr-2004 |
deraadt |
remove the GATEWAY junk thingy; at the same time, select a new fat cluster value that noone will really need to crank.
|
Revision tags: OPENBSD_3_4_BASE OPENBSD_3_5_BASE UBC_SYNC_A
|
#
1.21 |
|
16-Apr-2003 |
mickey |
half the uspace seems to be very much enough
|
#
1.20 |
|
29-Mar-2003 |
mickey |
nothing uses UADDR
|
Revision tags: OPENBSD_3_2_BASE OPENBSD_3_3_BASE UBC_SYNC_B
|
#
1.19 |
|
03-Aug-2002 |
mickey |
u could get a little higher
|
Revision tags: OPENBSD_3_1_BASE
|
#
1.18 |
|
08-Feb-2002 |
mickey |
com freq is 7372800, which "normal" * 4 and is discovered by Enrik Berkhan <Enrik.Berkhan@planb.de> .
|
#
1.17 |
|
01-Feb-2002 |
mickey |
redefine COM_FREQ to 7.272727MHz
|
#
1.16 |
|
25-Jan-2002 |
mickey |
define CONADDR and CONUNIT
|
#
1.15 |
|
10-Jan-2002 |
mickey |
larger SSIZE and smaller NKMEMPAGES_MIN_DEFAULT
|
Revision tags: UBC_BASE
|
#
1.14 |
|
05-Dec-2001 |
provos |
branches: 1.14.2; make nkmempages dynamic based on memory. okay art@ from netbsd: date: 2000/02/11 19:22:52; author: thorpej; Add some very simple code to auto-size the kmem_map. We take the amount of physical memory, divide it by 4, and then allow machine dependent code to place upper and lower bounds on the size. Export the computed value to userspace via the new "vm.nkmempages" sysctl.
NKMEMCLUSTERS is now deprecated and will generate an error if you attempt to use it. The new option, should you choose to use it, is called NKMEMPAGES, and two new options NKMEMPAGES_MIN and NKMEMPAGES_MAX allow the user to configure the bounds in the kernel config file.
|
#
1.13 |
|
30-Nov-2001 |
miod |
Remove some definitions which do not make sense for non-m68k platforms.
|
Revision tags: OPENBSD_3_0_BASE
|
#
1.12 |
|
06-Jul-2001 |
provos |
change MSIZE to 256, okay @deraadt
|
#
1.11 |
|
05-May-2001 |
art |
Get rid of CLSIZE and all related stuff. CLSIZE -> 1 CLBYTES -> PAGE_SIZE OLOFSET -> PAGE_MASK etc. At the same time some archs needed some cleaning in vmparam.h so that goes in at the same time.
|
Revision tags: OPENBSD_2_9_BASE
|
#
1.10 |
|
16-Feb-2001 |
mickey |
import some alphaizm for the db_elf's sake
|
Revision tags: OPENBSD_2_7_BASE OPENBSD_2_8_BASE
|
#
1.9 |
|
22-Feb-2000 |
mickey |
blah, blah, blah, msgbuf
|
Revision tags: SMP_BASE
|
#
1.8 |
|
17-Dec-1999 |
mickey |
branches: 1.8.2; define constants for PAGE_{SIZE,MASK,SHIFT}
|
Revision tags: kame_19991208
|
#
1.7 |
|
26-Oct-1999 |
mickey |
higher the kmem limit; fix up the nmbclusters
|
Revision tags: OPENBSD_2_6_BASE
|
#
1.6 |
|
18-Sep-1999 |
mickey |
machine is hppa define UPAGES through USHIFT
|
#
1.5 |
|
25-Aug-1999 |
mickey |
n+1 approximation step for the user space constants
|
#
1.4 |
|
14-Aug-1999 |
mickey |
s/STACK_GROWS_UP/MACHINE_STACK_GROWS_UP/
|
#
1.3 |
|
20-Apr-1999 |
mickey |
define UADDR; change alignment to 8 bytes
|
Revision tags: OPENBSD_2_5_BASE
|
#
1.2 |
|
30-Oct-1998 |
mickey |
cleanup
|
Revision tags: OPENBSD_2_4_BASE
|
#
1.1 |
|
23-Jun-1998 |
mickey |
some includes
|
#
1.48 |
|
10-Sep-2022 |
miod |
Remove pmap_collect() when a no-op, define __HAVE_PMAP_COLLECT otherwise. Use that define to shunt uvm_swapout_threads(), which is a noop when pmap_collect() does nothing.
ok mpi@
|
Revision tags: OPENBSD_6_4_BASE OPENBSD_6_5_BASE OPENBSD_6_6_BASE OPENBSD_6_7_BASE OPENBSD_6_8_BASE OPENBSD_6_9_BASE OPENBSD_7_0_BASE OPENBSD_7_1_BASE
|
#
1.47 |
|
14-Sep-2018 |
claudio |
Unify and bump some of the NMBCLUSTERS defines. Some archs had it set to 4MB which is far too low especially when the platform is able to run MP. New limits are, amd64 = 256M; arm64, mips64, sparc64 = 64M; alpha, arm, hppa, i386, powerpc = 32M; m88k, sh = 8M Still rather conservative numbers but much better than before. At least some hangs of arm64 build boxes was caused by this. OK kettenis@, visa@
|
Revision tags: OPENBSD_6_1_BASE OPENBSD_6_2_BASE OPENBSD_6_3_BASE
|
#
1.46 |
|
03-Sep-2016 |
bluhm |
Increase the number of mbufs on most architectures. This is based on a guess how much memory a typical machine has. If the value is too high, users may run out of kernel memory. Then we will have to adjust this again. OK claudio@ deraadt@
|
Revision tags: OPENBSD_5_4_BASE OPENBSD_5_5_BASE OPENBSD_5_6_BASE OPENBSD_5_7_BASE OPENBSD_5_8_BASE OPENBSD_5_9_BASE OPENBSD_6_0_BASE
|
#
1.45 |
|
26-Mar-2013 |
deraadt |
PGSHIFT and PGOFSET are now contained inside the kernel namespace.
|
#
1.44 |
|
25-Mar-2013 |
deraadt |
ALIGNBYTES/ALIGN/ALIGNED_POINTER can move to the MI file.
|
#
1.43 |
|
23-Mar-2013 |
deraadt |
refactor sys/param.h and machine/param.h. A lot of #ifdef _KERNEL is added to keep definitions our of user space. The MD files now follow a consistant order -- all namespace intrusion is at the tail can be cleaned up independently. locore, bootblocks, and libkvm still see enough visibility to build. Checked on 90% of platforms...
|
Revision tags: OPENBSD_5_2_BASE OPENBSD_5_3_BASE
|
#
1.42 |
|
26-Jun-2012 |
deraadt |
param.h (like landisk and alpha before) was still trying to include too much of the kernel world when it did not need to
|
Revision tags: OPENBSD_5_1_BASE
|
#
1.41 |
|
08-Sep-2011 |
guenther |
Provide namespace-safe alignment macros in <machine/_types.h>, with compat names kept in <machine/param.h>. In <sys/socket.h>, pull in <sys/_types.h> instead of the namespace polluting <machine/param.h> and completely eliminate __CMSG_ALIGN, replaced by _ALIGN
ok deraadt@
|
Revision tags: OPENBSD_5_0_BASE
|
#
1.40 |
|
07-Apr-2011 |
miod |
Make sure the ALIGN() macro uses u_long on all platforms for consistency, and update the comment block accordingly.
|
Revision tags: OPENBSD_4_9_BASE
|
#
1.39 |
|
26-Oct-2010 |
deraadt |
thib missed this architecture when he did all the other architectures; ok thib jsing -- Move the MSIZE, MCLSHIFT, MCLBYTES and the MCLOFSET mbuf constants from MD param.h to MI param.h. Besides being the same on every arch, things will most probly break if any arch has different values then the others.
The NMBCLUSTERS constants needs to be MD though;
ok miod@,krw@,claudio@
|
Revision tags: OPENBSD_4_8_BASE
|
#
1.38 |
|
29-Jun-2010 |
guenther |
Remove COMPAT_HPUX. No one wanted to support it and its fewmets were blocking other cleanups ok miod@
|
Revision tags: OPENBSD_4_3_BASE OPENBSD_4_4_BASE OPENBSD_4_5_BASE OPENBSD_4_6_BASE OPENBSD_4_7_BASE
|
#
1.37 |
|
22-Sep-2007 |
martin |
replace even more ctob and btoc with ptoa and atop respectively plus uvm_extern.h where needed
|
Revision tags: OPENBSD_4_2_BASE
|
#
1.36 |
|
15-Jul-2007 |
kettenis |
Delay switching to the real serial console until we attach the serial device. The variety of different serial devices is just too big to make a decision up front. This should make the second serial port on four-digit B/C/J-class workstation work as a serial console too.
ok miod@
|
#
1.35 |
|
01-Jul-2007 |
kettenis |
Oops! Revert previous commit.
|
#
1.34 |
|
01-Jul-2007 |
kettenis |
Add PDC_IO.
|
Revision tags: OPENBSD_4_0_BASE OPENBSD_4_1_BASE
|
#
1.33 |
|
12-Aug-2006 |
krw |
Make all DEV_BSIZE definitions consistant by using (1 << DEV_BSHIFT) in the six cases using "512".
As DEV_BSHIFT is always 9, this should be a no-op.
"no objections" miod@ "I can't see any problem doing this." pedro@
|
#
1.32 |
|
19-Mar-2006 |
martin |
remove unused bdbtofsb(bn) macro
found by drahn@
|
Revision tags: OPENBSD_3_9_BASE
|
#
1.31 |
|
22-Dec-2005 |
marco |
Bad commit, breaks hppa64. Prompted by deraadt@
|
#
1.30 |
|
21-Dec-2005 |
marco |
Add MACHINE_STACK_ALIGN define.
|
#
1.29 |
|
13-Dec-2005 |
martin |
nuke unused BTOPKERNBASE define
pointed out by miod@
|
#
1.28 |
|
28-Nov-2005 |
martin |
use atop(), remove last traces of Mach macros from hppa and hppa64
|
#
1.27 |
|
26-Oct-2005 |
martin |
no more hppa_round_page() and hppa_trunc_page() macros
ok mickey@
|
Revision tags: OPENBSD_3_8_BASE
|
#
1.26 |
|
31-Jul-2005 |
miod |
Get rid of unused SINCR and SSIZE constants.
|
Revision tags: OPENBSD_3_7_BASE
|
#
1.25 |
|
14-Sep-2004 |
mickey |
higher max kmem default and mark swap broken
|
Revision tags: OPENBSD_3_6_BASE
|
#
1.24 |
|
06-Aug-2004 |
mickey |
provide md USPACE_ALIGN zero on all but mips; deradat@ pefo@ ok
|
#
1.23 |
|
28-Jun-2004 |
mickey |
do not cast explicitly to unsigned; found by otto@
|
Revision tags: SMP_SYNC_A SMP_SYNC_B
|
#
1.22 |
|
19-Apr-2004 |
deraadt |
remove the GATEWAY junk thingy; at the same time, select a new fat cluster value that noone will really need to crank.
|
Revision tags: OPENBSD_3_4_BASE OPENBSD_3_5_BASE UBC_SYNC_A
|
#
1.21 |
|
16-Apr-2003 |
mickey |
half the uspace seems to be very much enough
|
#
1.20 |
|
29-Mar-2003 |
mickey |
nothing uses UADDR
|
Revision tags: OPENBSD_3_2_BASE OPENBSD_3_3_BASE UBC_SYNC_B
|
#
1.19 |
|
03-Aug-2002 |
mickey |
u could get a little higher
|
Revision tags: OPENBSD_3_1_BASE
|
#
1.18 |
|
08-Feb-2002 |
mickey |
com freq is 7372800, which "normal" * 4 and is discovered by Enrik Berkhan <Enrik.Berkhan@planb.de> .
|
#
1.17 |
|
01-Feb-2002 |
mickey |
redefine COM_FREQ to 7.272727MHz
|
#
1.16 |
|
25-Jan-2002 |
mickey |
define CONADDR and CONUNIT
|
#
1.15 |
|
10-Jan-2002 |
mickey |
larger SSIZE and smaller NKMEMPAGES_MIN_DEFAULT
|
Revision tags: UBC_BASE
|
#
1.14 |
|
05-Dec-2001 |
provos |
branches: 1.14.2; make nkmempages dynamic based on memory. okay art@ from netbsd: date: 2000/02/11 19:22:52; author: thorpej; Add some very simple code to auto-size the kmem_map. We take the amount of physical memory, divide it by 4, and then allow machine dependent code to place upper and lower bounds on the size. Export the computed value to userspace via the new "vm.nkmempages" sysctl.
NKMEMCLUSTERS is now deprecated and will generate an error if you attempt to use it. The new option, should you choose to use it, is called NKMEMPAGES, and two new options NKMEMPAGES_MIN and NKMEMPAGES_MAX allow the user to configure the bounds in the kernel config file.
|
#
1.13 |
|
30-Nov-2001 |
miod |
Remove some definitions which do not make sense for non-m68k platforms.
|
Revision tags: OPENBSD_3_0_BASE
|
#
1.12 |
|
06-Jul-2001 |
provos |
change MSIZE to 256, okay @deraadt
|
#
1.11 |
|
05-May-2001 |
art |
Get rid of CLSIZE and all related stuff. CLSIZE -> 1 CLBYTES -> PAGE_SIZE OLOFSET -> PAGE_MASK etc. At the same time some archs needed some cleaning in vmparam.h so that goes in at the same time.
|
Revision tags: OPENBSD_2_9_BASE
|
#
1.10 |
|
16-Feb-2001 |
mickey |
import some alphaizm for the db_elf's sake
|
Revision tags: OPENBSD_2_7_BASE OPENBSD_2_8_BASE
|
#
1.9 |
|
22-Feb-2000 |
mickey |
blah, blah, blah, msgbuf
|
Revision tags: SMP_BASE
|
#
1.8 |
|
17-Dec-1999 |
mickey |
branches: 1.8.2; define constants for PAGE_{SIZE,MASK,SHIFT}
|
Revision tags: kame_19991208
|
#
1.7 |
|
26-Oct-1999 |
mickey |
higher the kmem limit; fix up the nmbclusters
|
Revision tags: OPENBSD_2_6_BASE
|
#
1.6 |
|
18-Sep-1999 |
mickey |
machine is hppa define UPAGES through USHIFT
|
#
1.5 |
|
25-Aug-1999 |
mickey |
n+1 approximation step for the user space constants
|
#
1.4 |
|
14-Aug-1999 |
mickey |
s/STACK_GROWS_UP/MACHINE_STACK_GROWS_UP/
|
#
1.3 |
|
20-Apr-1999 |
mickey |
define UADDR; change alignment to 8 bytes
|
Revision tags: OPENBSD_2_5_BASE
|
#
1.2 |
|
30-Oct-1998 |
mickey |
cleanup
|
Revision tags: OPENBSD_2_4_BASE
|
#
1.1 |
|
23-Jun-1998 |
mickey |
some includes
|
#
1.47 |
|
14-Sep-2018 |
claudio |
Unify and bump some of the NMBCLUSTERS defines. Some archs had it set to 4MB which is far too low especially when the platform is able to run MP. New limits are, amd64 = 256M; arm64, mips64, sparc64 = 64M; alpha, arm, hppa, i386, powerpc = 32M; m88k, sh = 8M Still rather conservative numbers but much better than before. At least some hangs of arm64 build boxes was caused by this. OK kettenis@, visa@
|
Revision tags: OPENBSD_6_1_BASE OPENBSD_6_2_BASE OPENBSD_6_3_BASE
|
#
1.46 |
|
03-Sep-2016 |
bluhm |
Increase the number of mbufs on most architectures. This is based on a guess how much memory a typical machine has. If the value is too high, users may run out of kernel memory. Then we will have to adjust this again. OK claudio@ deraadt@
|
Revision tags: OPENBSD_5_4_BASE OPENBSD_5_5_BASE OPENBSD_5_6_BASE OPENBSD_5_7_BASE OPENBSD_5_8_BASE OPENBSD_5_9_BASE OPENBSD_6_0_BASE
|
#
1.45 |
|
26-Mar-2013 |
deraadt |
PGSHIFT and PGOFSET are now contained inside the kernel namespace.
|
#
1.44 |
|
25-Mar-2013 |
deraadt |
ALIGNBYTES/ALIGN/ALIGNED_POINTER can move to the MI file.
|
#
1.43 |
|
23-Mar-2013 |
deraadt |
refactor sys/param.h and machine/param.h. A lot of #ifdef _KERNEL is added to keep definitions our of user space. The MD files now follow a consistant order -- all namespace intrusion is at the tail can be cleaned up independently. locore, bootblocks, and libkvm still see enough visibility to build. Checked on 90% of platforms...
|
Revision tags: OPENBSD_5_2_BASE OPENBSD_5_3_BASE
|
#
1.42 |
|
26-Jun-2012 |
deraadt |
param.h (like landisk and alpha before) was still trying to include too much of the kernel world when it did not need to
|
Revision tags: OPENBSD_5_1_BASE
|
#
1.41 |
|
08-Sep-2011 |
guenther |
Provide namespace-safe alignment macros in <machine/_types.h>, with compat names kept in <machine/param.h>. In <sys/socket.h>, pull in <sys/_types.h> instead of the namespace polluting <machine/param.h> and completely eliminate __CMSG_ALIGN, replaced by _ALIGN
ok deraadt@
|
Revision tags: OPENBSD_5_0_BASE
|
#
1.40 |
|
07-Apr-2011 |
miod |
Make sure the ALIGN() macro uses u_long on all platforms for consistency, and update the comment block accordingly.
|
Revision tags: OPENBSD_4_9_BASE
|
#
1.39 |
|
26-Oct-2010 |
deraadt |
thib missed this architecture when he did all the other architectures; ok thib jsing -- Move the MSIZE, MCLSHIFT, MCLBYTES and the MCLOFSET mbuf constants from MD param.h to MI param.h. Besides being the same on every arch, things will most probly break if any arch has different values then the others.
The NMBCLUSTERS constants needs to be MD though;
ok miod@,krw@,claudio@
|
Revision tags: OPENBSD_4_8_BASE
|
#
1.38 |
|
29-Jun-2010 |
guenther |
Remove COMPAT_HPUX. No one wanted to support it and its fewmets were blocking other cleanups ok miod@
|
Revision tags: OPENBSD_4_3_BASE OPENBSD_4_4_BASE OPENBSD_4_5_BASE OPENBSD_4_6_BASE OPENBSD_4_7_BASE
|
#
1.37 |
|
22-Sep-2007 |
martin |
replace even more ctob and btoc with ptoa and atop respectively plus uvm_extern.h where needed
|
Revision tags: OPENBSD_4_2_BASE
|
#
1.36 |
|
15-Jul-2007 |
kettenis |
Delay switching to the real serial console until we attach the serial device. The variety of different serial devices is just too big to make a decision up front. This should make the second serial port on four-digit B/C/J-class workstation work as a serial console too.
ok miod@
|
#
1.35 |
|
01-Jul-2007 |
kettenis |
Oops! Revert previous commit.
|
#
1.34 |
|
01-Jul-2007 |
kettenis |
Add PDC_IO.
|
Revision tags: OPENBSD_4_0_BASE OPENBSD_4_1_BASE
|
#
1.33 |
|
12-Aug-2006 |
krw |
Make all DEV_BSIZE definitions consistant by using (1 << DEV_BSHIFT) in the six cases using "512".
As DEV_BSHIFT is always 9, this should be a no-op.
"no objections" miod@ "I can't see any problem doing this." pedro@
|
#
1.32 |
|
19-Mar-2006 |
martin |
remove unused bdbtofsb(bn) macro
found by drahn@
|
Revision tags: OPENBSD_3_9_BASE
|
#
1.31 |
|
22-Dec-2005 |
marco |
Bad commit, breaks hppa64. Prompted by deraadt@
|
#
1.30 |
|
21-Dec-2005 |
marco |
Add MACHINE_STACK_ALIGN define.
|
#
1.29 |
|
13-Dec-2005 |
martin |
nuke unused BTOPKERNBASE define
pointed out by miod@
|
#
1.28 |
|
28-Nov-2005 |
martin |
use atop(), remove last traces of Mach macros from hppa and hppa64
|
#
1.27 |
|
26-Oct-2005 |
martin |
no more hppa_round_page() and hppa_trunc_page() macros
ok mickey@
|
Revision tags: OPENBSD_3_8_BASE
|
#
1.26 |
|
31-Jul-2005 |
miod |
Get rid of unused SINCR and SSIZE constants.
|
Revision tags: OPENBSD_3_7_BASE
|
#
1.25 |
|
14-Sep-2004 |
mickey |
higher max kmem default and mark swap broken
|
Revision tags: OPENBSD_3_6_BASE
|
#
1.24 |
|
06-Aug-2004 |
mickey |
provide md USPACE_ALIGN zero on all but mips; deradat@ pefo@ ok
|
#
1.23 |
|
28-Jun-2004 |
mickey |
do not cast explicitly to unsigned; found by otto@
|
Revision tags: SMP_SYNC_A SMP_SYNC_B
|
#
1.22 |
|
19-Apr-2004 |
deraadt |
remove the GATEWAY junk thingy; at the same time, select a new fat cluster value that noone will really need to crank.
|
Revision tags: OPENBSD_3_4_BASE OPENBSD_3_5_BASE UBC_SYNC_A
|
#
1.21 |
|
16-Apr-2003 |
mickey |
half the uspace seems to be very much enough
|
#
1.20 |
|
29-Mar-2003 |
mickey |
nothing uses UADDR
|
Revision tags: OPENBSD_3_2_BASE OPENBSD_3_3_BASE UBC_SYNC_B
|
#
1.19 |
|
03-Aug-2002 |
mickey |
u could get a little higher
|
Revision tags: OPENBSD_3_1_BASE
|
#
1.18 |
|
08-Feb-2002 |
mickey |
com freq is 7372800, which "normal" * 4 and is discovered by Enrik Berkhan <Enrik.Berkhan@planb.de> .
|
#
1.17 |
|
01-Feb-2002 |
mickey |
redefine COM_FREQ to 7.272727MHz
|
#
1.16 |
|
25-Jan-2002 |
mickey |
define CONADDR and CONUNIT
|
#
1.15 |
|
10-Jan-2002 |
mickey |
larger SSIZE and smaller NKMEMPAGES_MIN_DEFAULT
|
Revision tags: UBC_BASE
|
#
1.14 |
|
05-Dec-2001 |
provos |
branches: 1.14.2; make nkmempages dynamic based on memory. okay art@ from netbsd: date: 2000/02/11 19:22:52; author: thorpej; Add some very simple code to auto-size the kmem_map. We take the amount of physical memory, divide it by 4, and then allow machine dependent code to place upper and lower bounds on the size. Export the computed value to userspace via the new "vm.nkmempages" sysctl.
NKMEMCLUSTERS is now deprecated and will generate an error if you attempt to use it. The new option, should you choose to use it, is called NKMEMPAGES, and two new options NKMEMPAGES_MIN and NKMEMPAGES_MAX allow the user to configure the bounds in the kernel config file.
|
#
1.13 |
|
30-Nov-2001 |
miod |
Remove some definitions which do not make sense for non-m68k platforms.
|
Revision tags: OPENBSD_3_0_BASE
|
#
1.12 |
|
06-Jul-2001 |
provos |
change MSIZE to 256, okay @deraadt
|
#
1.11 |
|
05-May-2001 |
art |
Get rid of CLSIZE and all related stuff. CLSIZE -> 1 CLBYTES -> PAGE_SIZE OLOFSET -> PAGE_MASK etc. At the same time some archs needed some cleaning in vmparam.h so that goes in at the same time.
|
Revision tags: OPENBSD_2_9_BASE
|
#
1.10 |
|
16-Feb-2001 |
mickey |
import some alphaizm for the db_elf's sake
|
Revision tags: OPENBSD_2_7_BASE OPENBSD_2_8_BASE
|
#
1.9 |
|
22-Feb-2000 |
mickey |
blah, blah, blah, msgbuf
|
Revision tags: SMP_BASE
|
#
1.8 |
|
17-Dec-1999 |
mickey |
branches: 1.8.2; define constants for PAGE_{SIZE,MASK,SHIFT}
|
Revision tags: kame_19991208
|
#
1.7 |
|
26-Oct-1999 |
mickey |
higher the kmem limit; fix up the nmbclusters
|
Revision tags: OPENBSD_2_6_BASE
|
#
1.6 |
|
18-Sep-1999 |
mickey |
machine is hppa define UPAGES through USHIFT
|
#
1.5 |
|
25-Aug-1999 |
mickey |
n+1 approximation step for the user space constants
|
#
1.4 |
|
14-Aug-1999 |
mickey |
s/STACK_GROWS_UP/MACHINE_STACK_GROWS_UP/
|
#
1.3 |
|
20-Apr-1999 |
mickey |
define UADDR; change alignment to 8 bytes
|
Revision tags: OPENBSD_2_5_BASE
|
#
1.2 |
|
30-Oct-1998 |
mickey |
cleanup
|
Revision tags: OPENBSD_2_4_BASE
|
#
1.1 |
|
23-Jun-1998 |
mickey |
some includes
|
Revision tags: OPENBSD_6_1_BASE OPENBSD_6_2_BASE
|
#
1.46 |
|
03-Sep-2016 |
bluhm |
Increase the number of mbufs on most architectures. This is based on a guess how much memory a typical machine has. If the value is too high, users may run out of kernel memory. Then we will have to adjust this again. OK claudio@ deraadt@
|
Revision tags: OPENBSD_5_4_BASE OPENBSD_5_5_BASE OPENBSD_5_6_BASE OPENBSD_5_7_BASE OPENBSD_5_8_BASE OPENBSD_5_9_BASE OPENBSD_6_0_BASE
|
#
1.45 |
|
26-Mar-2013 |
deraadt |
PGSHIFT and PGOFSET are now contained inside the kernel namespace.
|
#
1.44 |
|
25-Mar-2013 |
deraadt |
ALIGNBYTES/ALIGN/ALIGNED_POINTER can move to the MI file.
|
#
1.43 |
|
23-Mar-2013 |
deraadt |
refactor sys/param.h and machine/param.h. A lot of #ifdef _KERNEL is added to keep definitions our of user space. The MD files now follow a consistant order -- all namespace intrusion is at the tail can be cleaned up independently. locore, bootblocks, and libkvm still see enough visibility to build. Checked on 90% of platforms...
|
Revision tags: OPENBSD_5_2_BASE OPENBSD_5_3_BASE
|
#
1.42 |
|
26-Jun-2012 |
deraadt |
param.h (like landisk and alpha before) was still trying to include too much of the kernel world when it did not need to
|
Revision tags: OPENBSD_5_1_BASE
|
#
1.41 |
|
08-Sep-2011 |
guenther |
Provide namespace-safe alignment macros in <machine/_types.h>, with compat names kept in <machine/param.h>. In <sys/socket.h>, pull in <sys/_types.h> instead of the namespace polluting <machine/param.h> and completely eliminate __CMSG_ALIGN, replaced by _ALIGN
ok deraadt@
|
Revision tags: OPENBSD_5_0_BASE
|
#
1.40 |
|
07-Apr-2011 |
miod |
Make sure the ALIGN() macro uses u_long on all platforms for consistency, and update the comment block accordingly.
|
Revision tags: OPENBSD_4_9_BASE
|
#
1.39 |
|
26-Oct-2010 |
deraadt |
thib missed this architecture when he did all the other architectures; ok thib jsing -- Move the MSIZE, MCLSHIFT, MCLBYTES and the MCLOFSET mbuf constants from MD param.h to MI param.h. Besides being the same on every arch, things will most probly break if any arch has different values then the others.
The NMBCLUSTERS constants needs to be MD though;
ok miod@,krw@,claudio@
|
Revision tags: OPENBSD_4_8_BASE
|
#
1.38 |
|
29-Jun-2010 |
guenther |
Remove COMPAT_HPUX. No one wanted to support it and its fewmets were blocking other cleanups ok miod@
|
Revision tags: OPENBSD_4_3_BASE OPENBSD_4_4_BASE OPENBSD_4_5_BASE OPENBSD_4_6_BASE OPENBSD_4_7_BASE
|
#
1.37 |
|
22-Sep-2007 |
martin |
replace even more ctob and btoc with ptoa and atop respectively plus uvm_extern.h where needed
|
Revision tags: OPENBSD_4_2_BASE
|
#
1.36 |
|
15-Jul-2007 |
kettenis |
Delay switching to the real serial console until we attach the serial device. The variety of different serial devices is just too big to make a decision up front. This should make the second serial port on four-digit B/C/J-class workstation work as a serial console too.
ok miod@
|
#
1.35 |
|
01-Jul-2007 |
kettenis |
Oops! Revert previous commit.
|
#
1.34 |
|
01-Jul-2007 |
kettenis |
Add PDC_IO.
|
Revision tags: OPENBSD_4_0_BASE OPENBSD_4_1_BASE
|
#
1.33 |
|
12-Aug-2006 |
krw |
Make all DEV_BSIZE definitions consistant by using (1 << DEV_BSHIFT) in the six cases using "512".
As DEV_BSHIFT is always 9, this should be a no-op.
"no objections" miod@ "I can't see any problem doing this." pedro@
|
#
1.32 |
|
19-Mar-2006 |
martin |
remove unused bdbtofsb(bn) macro
found by drahn@
|
Revision tags: OPENBSD_3_9_BASE
|
#
1.31 |
|
22-Dec-2005 |
marco |
Bad commit, breaks hppa64. Prompted by deraadt@
|
#
1.30 |
|
21-Dec-2005 |
marco |
Add MACHINE_STACK_ALIGN define.
|
#
1.29 |
|
13-Dec-2005 |
martin |
nuke unused BTOPKERNBASE define
pointed out by miod@
|
#
1.28 |
|
28-Nov-2005 |
martin |
use atop(), remove last traces of Mach macros from hppa and hppa64
|
#
1.27 |
|
26-Oct-2005 |
martin |
no more hppa_round_page() and hppa_trunc_page() macros
ok mickey@
|
Revision tags: OPENBSD_3_8_BASE
|
#
1.26 |
|
31-Jul-2005 |
miod |
Get rid of unused SINCR and SSIZE constants.
|
Revision tags: OPENBSD_3_7_BASE
|
#
1.25 |
|
14-Sep-2004 |
mickey |
higher max kmem default and mark swap broken
|
Revision tags: OPENBSD_3_6_BASE
|
#
1.24 |
|
06-Aug-2004 |
mickey |
provide md USPACE_ALIGN zero on all but mips; deradat@ pefo@ ok
|
#
1.23 |
|
28-Jun-2004 |
mickey |
do not cast explicitly to unsigned; found by otto@
|
Revision tags: SMP_SYNC_A SMP_SYNC_B
|
#
1.22 |
|
19-Apr-2004 |
deraadt |
remove the GATEWAY junk thingy; at the same time, select a new fat cluster value that noone will really need to crank.
|
Revision tags: OPENBSD_3_4_BASE OPENBSD_3_5_BASE UBC_SYNC_A
|
#
1.21 |
|
16-Apr-2003 |
mickey |
half the uspace seems to be very much enough
|
#
1.20 |
|
29-Mar-2003 |
mickey |
nothing uses UADDR
|
Revision tags: OPENBSD_3_2_BASE OPENBSD_3_3_BASE UBC_SYNC_B
|
#
1.19 |
|
03-Aug-2002 |
mickey |
u could get a little higher
|
Revision tags: OPENBSD_3_1_BASE
|
#
1.18 |
|
08-Feb-2002 |
mickey |
com freq is 7372800, which "normal" * 4 and is discovered by Enrik Berkhan <Enrik.Berkhan@planb.de> .
|
#
1.17 |
|
01-Feb-2002 |
mickey |
redefine COM_FREQ to 7.272727MHz
|
#
1.16 |
|
25-Jan-2002 |
mickey |
define CONADDR and CONUNIT
|
#
1.15 |
|
10-Jan-2002 |
mickey |
larger SSIZE and smaller NKMEMPAGES_MIN_DEFAULT
|
Revision tags: UBC_BASE
|
#
1.14 |
|
05-Dec-2001 |
provos |
branches: 1.14.2; make nkmempages dynamic based on memory. okay art@ from netbsd: date: 2000/02/11 19:22:52; author: thorpej; Add some very simple code to auto-size the kmem_map. We take the amount of physical memory, divide it by 4, and then allow machine dependent code to place upper and lower bounds on the size. Export the computed value to userspace via the new "vm.nkmempages" sysctl.
NKMEMCLUSTERS is now deprecated and will generate an error if you attempt to use it. The new option, should you choose to use it, is called NKMEMPAGES, and two new options NKMEMPAGES_MIN and NKMEMPAGES_MAX allow the user to configure the bounds in the kernel config file.
|
#
1.13 |
|
30-Nov-2001 |
miod |
Remove some definitions which do not make sense for non-m68k platforms.
|
Revision tags: OPENBSD_3_0_BASE
|
#
1.12 |
|
06-Jul-2001 |
provos |
change MSIZE to 256, okay @deraadt
|
#
1.11 |
|
05-May-2001 |
art |
Get rid of CLSIZE and all related stuff. CLSIZE -> 1 CLBYTES -> PAGE_SIZE OLOFSET -> PAGE_MASK etc. At the same time some archs needed some cleaning in vmparam.h so that goes in at the same time.
|
Revision tags: OPENBSD_2_9_BASE
|
#
1.10 |
|
16-Feb-2001 |
mickey |
import some alphaizm for the db_elf's sake
|
Revision tags: OPENBSD_2_7_BASE OPENBSD_2_8_BASE
|
#
1.9 |
|
22-Feb-2000 |
mickey |
blah, blah, blah, msgbuf
|
Revision tags: SMP_BASE
|
#
1.8 |
|
17-Dec-1999 |
mickey |
branches: 1.8.2; define constants for PAGE_{SIZE,MASK,SHIFT}
|
Revision tags: kame_19991208
|
#
1.7 |
|
26-Oct-1999 |
mickey |
higher the kmem limit; fix up the nmbclusters
|
Revision tags: OPENBSD_2_6_BASE
|
#
1.6 |
|
18-Sep-1999 |
mickey |
machine is hppa define UPAGES through USHIFT
|
#
1.5 |
|
25-Aug-1999 |
mickey |
n+1 approximation step for the user space constants
|
#
1.4 |
|
14-Aug-1999 |
mickey |
s/STACK_GROWS_UP/MACHINE_STACK_GROWS_UP/
|
#
1.3 |
|
20-Apr-1999 |
mickey |
define UADDR; change alignment to 8 bytes
|
Revision tags: OPENBSD_2_5_BASE
|
#
1.2 |
|
30-Oct-1998 |
mickey |
cleanup
|
Revision tags: OPENBSD_2_4_BASE
|
#
1.1 |
|
23-Jun-1998 |
mickey |
some includes
|