#
b1b36fc1 |
| 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>.
|
#
23a77a73 |
| 01-May-2020 |
isaki <isaki@NetBSD.org> |
Move machine dependent AUDIO_BLK_MS default value to <machine/param.h>. If the port has __AUDIO_BLK_MS in <machine/param.h>, it will be used. Otherwise the default value (currently 10 msec) defined i
Move machine dependent AUDIO_BLK_MS default value to <machine/param.h>. If the port has __AUDIO_BLK_MS in <machine/param.h>, it will be used. Otherwise the default value (currently 10 msec) defined in audio.c will be used. This mechanism is for very old ports which cannot satisfactorily handle 10 msec block. Currently hppa, m68k, sh3, sparc(!64) and vax are.
For port maintainers, if general models in your port cannot satisfactorily handle 10 msec block, please consider to define your suitable longer period (40 msec would be a good first choice). But please don't be eager to make the default value shorter.
<machine/param.h> was discussed in source-changes-d. It's better than ifdef storm, or adding 60+ new header files in every arch/*/include/ directories for this. Thanks mrg@, ad@, and everyone. http://mail-index.netbsd.org/source-changes-d/2020/05/01/msg012572.html
show more ...
|
#
072aa173 |
| 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 ...
|
#
4c23b30c |
| 10-Feb-2012 |
para <para@NetBSD.org> |
proper sizing of kmem_arena on different ports
PR port-i386/45946: Kernel locks up in VMEM system
|
#
dd23e710 |
| 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.
|
#
e8bec33b |
| 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 ...
|
#
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 ...
|
#
538e94b4 |
| 26-Oct-2007 |
uwe <uwe@NetBSD.org> |
We don't need MIN_LWP_ALIGNMENT.
|
#
d974db0a |
| 17-Oct-2007 |
garbled <garbled@NetBSD.org> |
Merge the ppcoea-renovation branch to HEAD.
This branch was a major cleanup and rototill of many of the various OEA cpu based PPC ports that focused on sharing as much code as possible between the v
Merge the ppcoea-renovation branch to HEAD.
This branch was a major cleanup and rototill of many of the various OEA cpu based PPC ports that focused on sharing as much code as possible between the various ports to eliminate near-identical copies of files in every tree. Additionally there is a new PIC system that unifies the interface to interrupt code for all different OEA ppc arches. The work for this branch was done by a variety of people, too long to list here.
TODO: bebox still needs work to complete the transition to -renovation. ofppc still needs a bunch of work, which I will be looking at. ev64260 still needs to be renovated amigappc was not attempted.
NOTES: pmppc was removed as an arch, and moved to a evbppc target.
show more ...
|
#
1c1e708c |
| 23-Sep-2007 |
pooka <pooka@NetBSD.org> |
include machine/cpu.h instead of sh3/cpu.h. Effectively it's the same, but makes rump build on sh3 platforms.
|
#
b07ec3fc |
| 09-Feb-2007 |
ad <ad@NetBSD.org> |
Merge newlock2 to head.
|
#
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.
|
#
f0d2889e |
| 24-Mar-2004 |
wiz <wiz@NetBSD.org> |
Move (c) TNF line from 4-clause UCB to 3-clause UCB license; in other words, remove UCB's ad clause from the license TNF grants. There is no point in TNF demanding that UCB's ad clause be followed w
Move (c) TNF line from 4-clause UCB to 3-clause UCB license; in other words, remove UCB's ad clause from the license TNF grants. There is no point in TNF demanding that UCB's ad clause be followed when even UCB doesn't demand it any longer.
Ok'd by board@ and agc@.
show more ...
|
#
aad01611 |
| 07-Aug-2003 |
agc <agc@NetBSD.org> |
Move UCB-licensed code from 4-clause to 3-clause licence.
Patches provided by Joel Baker in PR 22364, verified by myself.
|
#
5cf2727a |
| 09-May-2002 |
uch <uch@NetBSD.org> |
new pmap designed for SH3/SH4.
|
#
6d338ff4 |
| 28-Apr-2002 |
uch <uch@NetBSD.org> |
Use "#define<tab>", white space nits.
|
#
4c6260b9 |
| 17-Mar-2002 |
uch <uch@NetBSD.org> |
kernel stack fix. old code simply P3 address converted to P1, it caused memory destruction when kernel stack grow over 1 page. new code use P3 address for kernel stack. but for the sake of debug, P1
kernel stack fix. old code simply P3 address converted to P1, it caused memory destruction when kernel stack grow over 1 page. new code use P3 address for kernel stack. but for the sake of debug, P1 kernel stack mode remain.
show more ...
|
#
f9201a16 |
| 10-Mar-2002 |
uch <uch@NetBSD.org> |
common part are moved to sh3/include/param.h
|
#
6ece4e10 |
| 28-Feb-2002 |
uch <uch@NetBSD.org> |
Remove #if 0 #endif
|
#
d9ab16ba |
| 26-Feb-2002 |
simonb <simonb@NetBSD.org> |
Purge CLSIZE, CLSIZELOG2 and MCLOFSET. Be consistant in the way that MSIZE, MCLSHIFT, MCLBYTES and NMBCLUSTERS are defined. Remove old VM constants from cesfic port. Bump MSIZE to 256 on mipsco (th
Purge CLSIZE, CLSIZELOG2 and MCLOFSET. Be consistant in the way that MSIZE, MCLSHIFT, MCLBYTES and NMBCLUSTERS are defined. Remove old VM constants from cesfic port. Bump MSIZE to 256 on mipsco (the only one that wasn't already 256).
show more ...
|
#
1e7e3274 |
| 04-Jan-2001 |
itojun <itojun@NetBSD.org> |
split MACHINE_ARCH sh3e[lb]. userland build still needs checking.
|
#
d738f90f |
| 30-Jun-2000 |
itojun <itojun@NetBSD.org> |
raise MSIZE from 128 to 256. - for sizeof(void *) == 8 arch, this is mandatory. MHLEN is too small already (less than 80) and there are chances for unwanted packet loss due to m_pullup restricti
raise MSIZE from 128 to 256. - for sizeof(void *) == 8 arch, this is mandatory. MHLEN is too small already (less than 80) and there are chances for unwanted packet loss due to m_pullup restriction. - for other cases, the change should avoid allocating clusters in most cases (even when you have IPv4 IPsec tunnel, or IPv6 with moderate amount of extension header)
portmasters: if your arch chokes with the change (high memory usage or whatever), please backout the change for your arch.
show more ...
|
#
dded044f |
| 11-Feb-2000 |
thorpej <thorpej@NetBSD.org> |
Update for the NKMEMPAGES changes.
|
#
05132683 |
| 04-Dec-1999 |
ragge <ragge@NetBSD.org> |
CL* discarding.
|