summaryrefslogtreecommitdiffstats
path: root/sys/arch/hppa/include/param.h (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Unify and bump some of the NMBCLUSTERS defines. Some archs had it set toclaudio2018-09-141-2/+2
| | | | | | | | | 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@
* Increase the number of mbufs on most architectures. This is basedbluhm2016-09-031-2/+2
| | | | | | | 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@
* PGSHIFT and PGOFSET are now contained inside the kernel namespace.deraadt2013-03-261-3/+3
|
* ALIGNBYTES/ALIGN/ALIGNED_POINTER can move to the MI file.deraadt2013-03-251-5/+1
|
* refactor sys/param.h and machine/param.h. A lot of #ifdef _KERNEL is addedderaadt2013-03-231-35/+22
| | | | | | | 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...
* param.h (like landisk and alpha before) was still trying to include tooderaadt2012-06-261-1/+3
| | | | much of the kernel world when it did not need to
* Provide namespace-safe alignment macros in <machine/_types.h>, withguenther2011-09-081-9/+4
| | | | | | | | 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@
* Make sure the ALIGN() macro uses u_long on all platforms for consistency, andmiod2011-04-071-2/+2
| | | | update the comment block accordingly.
* thib missed this architecture when he did all the other architectures;deraadt2010-10-261-9/+1
| | | | | | | | | | | | | | 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@
* Remove COMPAT_HPUX. No one wanted to support it and its fewmets wereguenther2010-06-291-13/+1
| | | | | blocking other cleanups ok miod@
* replace even more ctob and btoc with ptoa and atop respectively plusmartin2007-09-221-5/+1
| | | | uvm_extern.h where needed
* Delay switching to the real serial console until we attach the serial device.kettenis2007-07-151-9/+1
| | | | | | | | 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@
* Oops! Revert previous commit.kettenis2007-07-011-1/+9
|
* Add PDC_IO.kettenis2007-07-011-9/+1
|
* Make all DEV_BSIZE definitions consistant by using (1 << DEV_BSHIFT)krw2006-08-121-2/+2
| | | | | | | | 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@
* remove unused bdbtofsb(bn) macromartin2006-03-191-9/+1
| | | | found by drahn@
* Bad commit, breaks hppa64. Prompted by deraadt@marco2005-12-221-2/+1
|
* Add MACHINE_STACK_ALIGN define.marco2005-12-211-1/+2
|
* nuke unused BTOPKERNBASE definemartin2005-12-131-2/+1
| | | | pointed out by miod@
* use atop(), remove last traces of Mach macros from hppa and hppa64martin2005-11-281-7/+1
|
* no more hppa_round_page() and hppa_trunc_page() macrosmartin2005-10-261-4/+1
| | | | ok mickey@
* Get rid of unused SINCR and SSIZE constants.miod2005-07-311-4/+1
|
* higher max kmem default and mark swap brokenmickey2004-09-141-2/+4
|
* provide md USPACE_ALIGN zero on all but mips; deradat@ pefo@ okmickey2004-08-061-1/+2
|
* do not cast explicitly to unsigned; found by otto@mickey2004-06-281-7/+7
|
* remove the GATEWAY junk thingy; at the same time, select a new fatderaadt2004-04-191-4/+2
| | | | cluster value that noone will really need to crank.
* half the uspace seems to be very much enoughmickey2003-04-161-4/+2
|
* nothing uses UADDRmickey2003-03-291-2/+1
|
* u could get a little highermickey2002-08-031-2/+2
|
* com freq is 7372800, which "normal" * 4 and is discovered bymickey2002-02-081-2/+2
| | | | Enrik Berkhan <Enrik.Berkhan@planb.de> .
* redefine COM_FREQ to 7.272727MHzmickey2002-02-011-1/+2
|
* define CONADDR and CONUNITmickey2002-01-251-1/+7
|
* larger SSIZE and smaller NKMEMPAGES_MIN_DEFAULTmickey2002-01-101-3/+3
|
* make nkmempages dynamic based on memory. okay art@ from netbsd:provos2001-12-051-5/+5
| | | | | | | | | | | | | | 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.
* Remove some definitions which do not make sense for non-m68k platforms.miod2001-11-301-5/+1
|
* change MSIZE to 256, okay @deraadtprovos2001-07-061-2/+2
|
* Get rid of CLSIZE and all related stuff.art2001-05-051-8/+4
| | | | | | | | | 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.
* import some alphaizm for the db_elf's sakemickey2001-02-161-1/+2
|
* blah, blah, blah, msgbufmickey2000-02-221-1/+5
|
* define constants for PAGE_{SIZE,MASK,SHIFT}mickey1999-12-171-1/+5
|
* higher the kmem limit; fix up the nmbclustersmickey1999-10-261-7/+3
|
* machine is hppamickey1999-09-181-4/+5
| | | | define UPAGES through USHIFT
* n+1 approximation step for the user space constantsmickey1999-08-251-4/+4
|
* s/STACK_GROWS_UP/MACHINE_STACK_GROWS_UP/mickey1999-08-141-2/+2
|
* define UADDR; change alignment to 8 bytesmickey1999-04-201-2/+3
|
* cleanupmickey1998-10-301-16/+7
|
* some includesmickey1998-06-231-0/+149