#
11b00c74 |
| 31-May-2021 |
simonb <simonb@NetBSD.org> |
Include "opt_param.h" (ifdef _KERNEL_OPT) everywhere that MSGBUFSIZE is referenced since some sources include <machine/param.h>.
|
#
45cb1d76 |
| 06-Jul-2020 |
rin <rin@NetBSD.org> |
Style and cosmetic changes. No binary changes intended.
|
#
315edc40 |
| 21-Feb-2020 |
rin <rin@NetBSD.org> |
Reduce UPAGES from 2 to 1 for ibm4xx, which was originally 1 and bumped to 2 in rev 1.29:
http://cvsweb.netbsd.org/bsdweb.cgi/src/sys/arch/powerpc/include/param.h#rev1.29
Since page size is 16K
Reduce UPAGES from 2 to 1 for ibm4xx, which was originally 1 and bumped to 2 in rev 1.29:
http://cvsweb.netbsd.org/bsdweb.cgi/src/sys/arch/powerpc/include/param.h#rev1.29
Since page size is 16KB on ibm4xx, USPACE is still 16KB, which is the same size as on other powerpc processors.
This avoids kernel crash described in PR kern/54994. Also, even if the PR is resolved, fork(2) easily fails with ENOMEM if UPAGES is 2, which requires physically contiguous pages for u-area. No bad side effect is observed as far as I can see.
XXX Even with this commit, kern/54994 still critically affects other archs with __HAVE_CPU_UAREA_ROUTINES, i.e., alpha, mips, powerpc/{oea,booke}, and riscv.
show more ...
|
#
a9d86795 |
| 07-Jan-2019 |
jdolecek <jdolecek@NetBSD.org> |
move DEV_BSIZE, DEV_BSHIFT out of MD param.h, they are same on all ports
also move BLKDEV_IOSIZE, MAXPHYS, but allow override since some ports have different value (powerpc uses NBPG for BLKDEV_IOSI
move DEV_BSIZE, DEV_BSHIFT out of MD param.h, they are same on all ports
also move BLKDEV_IOSIZE, MAXPHYS, but allow override since some ports have different value (powerpc uses NBPG for BLKDEV_IOSIZE, sun2/sun3 have lower MAXPHYS)
show more ...
|
#
9901c5c6 |
| 14-Jan-2017 |
christos <christos@NetBSD.org> |
belatedly fix constants for ppc64 (this does not define __arch64__ like sparc does?)
|
#
9165860f |
| 29-Jan-2013 |
kiyohara <kiyohara@NetBSD.org> |
More stack for ibm4xx slow machines.
|
#
c4cb3a73 |
| 23-Sep-2012 |
mrg <mrg@NetBSD.org> |
increase powerpc NKMEMPAGES_MAX_DEFAULT to 256MB. remove the macppc overrides that are now the same as the powerpc default.
|
#
e71f6cf0 |
| 30-Jan-2012 |
matt <matt@NetBSD.org> |
PowerPC wants 16-byte aligned stacks (for AltiVec).
|
#
a18e600f |
| 24-Jan-2012 |
christos <christos@NetBSD.org> |
Use and define ALIGN() ALIGN_POINTER() and STACK_ALIGN() consistently, and avoid definining them in 10 different places if not needed.
|
#
c6039432 |
| 20-Jan-2012 |
joerg <joerg@NetBSD.org> |
Change CMSG_SPACE and CMSG_LEN to provide Integer Constant Expressions again. This was changed in sys/socket.h r1.51 to work around fallout from the IPv6 aux data migration. It broke the historic ABI
Change CMSG_SPACE and CMSG_LEN to provide Integer Constant Expressions again. This was changed in sys/socket.h r1.51 to work around fallout from the IPv6 aux data migration. It broke the historic ABI on some platforms. This commit restores compatibility for netbsd32 code on such platforms and provides a template for future changes to the CMSG_* alignment. Revert PCC/Clang workarounds in postfix and tmux.
show more ...
|
#
103602d0 |
| 20-Jun-2011 |
matt <matt@NetBSD.org> |
Cleanup powerpc param.h. If compiling a MODULE, ignore port-specific stuff. Only include <machine/cpu.h> in <powerpc/param.h> at the end.
|
#
b37aaa92 |
| 05-Mar-2011 |
matt <matt@NetBSD.org> |
If _KERNEL is not defined, force MACHINE to be "powerpc". Userland should be using uname/sysctl to get this value.
|
#
b7afc13f |
| 22-Mar-2010 |
mrg <mrg@NetBSD.org> |
default powerpc64 mbufs to 512 bytes, like other 64 bit platforms. from dennis.c.ferguson@gmail.com in PR#43028.
|
#
d621e29e |
| 08-Feb-2010 |
joerg <joerg@NetBSD.org> |
Remove separate mb_map. The nmbclusters is computed at boot time based on the amount of physical memory and limited by NMBCLUSTERS if present. Architectures without direct mapping also limit it based
Remove separate mb_map. The nmbclusters is computed at boot time based on the amount of physical memory and limited by NMBCLUSTERS if present. Architectures without direct mapping also limit it based on the kmem_map size, which is used as backing store. On i386 and ARM, the maximum KVA used for mbuf clusters is limited to 64MB by default.
The old default limits and limits based on GATEWAY have been removed. key_registered_sb_max is hard-wired to a value derived from 2048 clusters.
show more ...
|
#
e527ebac |
| 28-Aug-2006 |
yamt <yamt@NetBSD.org> |
- remove unused bdbtofsb. - move the following macros from MD headers to sys/param.h. ctod dtoc ctob btoc dbtob btodb
|
#
95e1ffb1 |
| 11-Dec-2005 |
christos <christos@NetBSD.org> |
merge ktrace-lwp.
|
#
42e9e00c |
| 09-Dec-2004 |
matt <matt@NetBSD.org> |
Make MSIZE and MCLSHIFT overrideable in <machine/param.h>
|
#
107803a3 |
| 04-Mar-2003 |
matt <matt@NetBSD.org> |
Re-arrange things in evbppc & powerpc to support OEA-based eval boards in evbppc. OEA-based board(s) to be added later.
|
#
3e793a03 |
| 03-Feb-2003 |
matt <matt@NetBSD.org> |
More cleanup for OLDPMAP.
|
#
32867404 |
| 19-Jan-2003 |
matt <matt@NetBSD.org> |
ALIGN should use u_long, not u_int
|
#
45e5f680 |
| 06-Sep-2002 |
matt <matt@NetBSD.org> |
Allow MAXPHYS to be overriden. Increase the default MSGBUFSIZE to 2 pages.
|
#
bd2a5f59 |
| 09-Mar-2002 |
chs <chs@NetBSD.org> |
switch all mpc6xx powerpc ports to NEWPMAP by default. the old pmap is still available with the OLDPMAP option.
|
#
fafb5d4b |
| 10-Jun-2001 |
tsubai <tsubai@NetBSD.org> |
Make the new pmap optional. Use the old (stable!) pmap by default.
|
#
a2b115fa |
| 10-Jun-2001 |
briggs <briggs@NetBSD.org> |
Up the default # of NMBCLUSTERS to 2048 (GATEWAY) & 1024 (non-GATEWAY) from 512/256.
|
#
938edd5b |
| 06-Jun-2001 |
matt <matt@NetBSD.org> |
Introduce a new & faster pmap for the MPC6xx (60x, 7xx, 7xxx) PPC CPUs. Move MPC6xx dependent header files to powerpc/include/mpc6xx/
|