History log of /src/sys/arch/sh3/include/param.h |
Revision | | Date | Author | Comments |
1.26 |
| 31-May-2021 |
simonb | Include "opt_param.h" (ifdef _KERNEL_OPT) everywhere that MSGBUFSIZE is referenced since some sources include <machine/param.h>.
|
1.25 |
| 01-May-2020 |
isaki | branches: 1.25.6; 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
|
1.24 |
| 07-Jan-2019 |
jdolecek | branches: 1.24.4; 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)
|
1.23 |
| 10-Feb-2012 |
para | branches: 1.23.46; 1.23.48; proper sizing of kmem_arena on different ports
PR port-i386/45946: Kernel locks up in VMEM system
|
1.22 |
| 24-Jan-2012 |
christos | Use and define ALIGN() ALIGN_POINTER() and STACK_ALIGN() consistently, and avoid definining them in 10 different places if not needed.
|
1.21 |
| 20-Jan-2012 |
joerg | 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.
|
1.20 |
| 08-Feb-2010 |
joerg | branches: 1.20.10; 1.20.14; 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.
|
1.19 |
| 26-Oct-2007 |
uwe | branches: 1.19.20; 1.19.40; We don't need MIN_LWP_ALIGNMENT.
|
1.18 |
| 17-Oct-2007 |
garbled | 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.
|
1.17 |
| 23-Sep-2007 |
pooka | branches: 1.17.2; include machine/cpu.h instead of sh3/cpu.h. Effectively it's the same, but makes rump build on sh3 platforms.
|
1.16 |
| 09-Feb-2007 |
ad | branches: 1.16.6; 1.16.14; 1.16.22; 1.16.24; 1.16.26; Merge newlock2 to head.
|
1.15 |
| 28-Aug-2006 |
yamt | branches: 1.15.2; - remove unused bdbtofsb. - move the following macros from MD headers to sys/param.h. ctod dtoc ctob btoc dbtob btodb
|
1.14 |
| 11-Dec-2005 |
christos | branches: 1.14.4; 1.14.8; merge ktrace-lwp.
|
1.13 |
| 24-Mar-2004 |
wiz | branches: 1.13.16; 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@.
|
1.12 |
| 07-Aug-2003 |
agc | Move UCB-licensed code from 4-clause to 3-clause licence.
Patches provided by Joel Baker in PR 22364, verified by myself.
|
1.11 |
| 09-May-2002 |
uch | branches: 1.11.6; 1.11.12; new pmap designed for SH3/SH4.
|
1.10 |
| 28-Apr-2002 |
uch | Use "#define<tab>", white space nits.
|
1.9 |
| 17-Mar-2002 |
uch | 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.
|
1.8 |
| 10-Mar-2002 |
uch | common part are moved to sh3/include/param.h
|
1.7 |
| 28-Feb-2002 |
uch | Remove #if 0 #endif
|
1.6 |
| 26-Feb-2002 |
simonb | 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).
|
1.5 |
| 04-Jan-2001 |
itojun | branches: 1.5.4; split MACHINE_ARCH sh3e[lb]. userland build still needs checking.
|
1.4 |
| 30-Jun-2000 |
itojun | 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.
|
1.3 |
| 11-Feb-2000 |
thorpej | branches: 1.3.4; Update for the NKMEMPAGES changes.
|
1.2 |
| 04-Dec-1999 |
ragge | CL* discarding.
|
1.1 |
| 13-Sep-1999 |
itojun | branches: 1.1.2; 1.1.8; Merge in NetBSD/sh3 from cvs.kame.net repository.
Tree structure: - sys/arch/sh3: sh3 generic code As commented, in-chip device drivers are put into sys/arch/sh3/dev. - sys/arch/evbsh3: sh3 evaluation boards (pure sh3 CPU, no fancy external HW) - sys/arch/mmeye: Brains mmEye, www.brains.co.jp MI source code includes couple of #ifdef for sh3-coff support. (sh3 uses coff or elf)
Needs some more improvements, especialy in sys/arch/sh3/conf/files.sh3, to compile the tree (due to last minute tree structure change).
|
1.1.8.2 |
| 27-Dec-1999 |
wrstuden | Pull up to last week's -current.
|
1.1.8.1 |
| 21-Dec-1999 |
wrstuden | Initial commit of recent changes to make DEV_BSIZE go away.
Runs on i386, needs work on other arch's. Main kernel routines should be fine, but a number of the stand programs need help.
cd, fd, ccd, wd, and sd have been updated. sd has been tested with non-512 byte block devices. vnd, raidframe, and lfs need work.
Non 2**n block support is automatic for LKM's and conditional for kernels on "options NON_PO2_BLOCKS".
|
1.1.2.2 |
| 05-Jan-2001 |
bouyer | Sync with HEAD
|
1.1.2.1 |
| 20-Nov-2000 |
bouyer | Update thorpej_scsipi to -current as of a month ago A i386 GENERIC kernel compiles without the siop, ahc and bha drivers (will be updated later). i386 IDE/ATAPI and ncr work, as well as sparc/esp_sbus. alpha should work as well (untested yet). siop, ahc and bha will be updated once I've updated the branch to current -current, as well as machine-dependant code.
|
1.3.4.1 |
| 23-Jul-2000 |
itojun | pullup from main trunc (approved by releng-1-5)
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.
1.1 -> 1.2 syssrc/sys/arch/amigappc/include/param.h 1.13 -> 1.14 syssrc/sys/arch/arc/include/param.h 1.1 -> 1.2 syssrc/sys/arch/arm26/include/param.h 1.17 -> 1.18 syssrc/sys/arch/arm32/include/param.h 1.6 -> 1.7 syssrc/sys/arch/bebox/include/param.h 1.4 -> 1.5 syssrc/sys/arch/cobalt/include/param.h 1.4 -> 1.5 syssrc/sys/arch/evbsh3/include/param.h 1.2 -> 1.3 syssrc/sys/arch/hpcmips/include/param.h 1.40 -> 1.41 syssrc/sys/arch/i386/include/param.h 1.7 -> 1.8 syssrc/sys/arch/m68k/include/param.h 1.9 -> 1.10 syssrc/sys/arch/macppc/include/param.h 1.4 -> 1.5 syssrc/sys/arch/mmeye/include/param.h 1.6 -> 1.7 syssrc/sys/arch/newsmips/include/param.h 1.7 -> 1.8 syssrc/sys/arch/ofppc/include/param.h 1.23 -> 1.24 syssrc/sys/arch/pc532/include/param.h 1.32 -> 1.33 syssrc/sys/arch/pmax/include/param.h 1.7 -> 1.8 syssrc/sys/arch/powerpc/include/param.h 1.1 -> 1.2 syssrc/sys/arch/prep/include/param.h 1.1 -> 1.2 syssrc/sys/arch/sgimips/include/param.h 1.3 -> 1.4 syssrc/sys/arch/sh3/include/param.h 1.44 -> 1.45 syssrc/sys/arch/sparc/include/param.h 1.21 -> 1.22 syssrc/sys/arch/sparc64/include/param.h 1.43 -> 1.44 syssrc/sys/arch/vax/include/param.h
|
1.5.4.2 |
| 23-Jun-2002 |
jdolecek | catch up with -current on kqueue branch
|
1.5.4.1 |
| 16-Mar-2002 |
jdolecek | Catch up with -current.
|
1.11.12.3 |
| 21-Sep-2004 |
skrll | Fix the sync with head I botched.
|
1.11.12.2 |
| 18-Sep-2004 |
skrll | Sync with HEAD.
|
1.11.12.1 |
| 03-Aug-2004 |
skrll | Sync with HEAD
|
1.11.6.2 |
| 09-May-2002 |
uch | new pmap designed for SH3/SH4.
|
1.11.6.1 |
| 09-May-2002 |
uch | file param.h was added on branch nathanw_sa on 2002-05-09 12:28:09 +0000
|
1.13.16.3 |
| 27-Oct-2007 |
yamt | sync with head.
|
1.13.16.2 |
| 26-Feb-2007 |
yamt | sync with head.
|
1.13.16.1 |
| 30-Dec-2006 |
yamt | sync with head.
|
1.14.8.1 |
| 03-Sep-2006 |
yamt | sync with head.
|
1.14.4.1 |
| 09-Sep-2006 |
rpaulo | sync with head
|
1.15.2.1 |
| 01-Feb-2007 |
ad | Get sh3 compiling.
|
1.16.26.1 |
| 06-Oct-2007 |
yamt | sync with head.
|
1.16.24.1 |
| 06-Nov-2007 |
matt | sync with HEAD
|
1.16.22.2 |
| 28-Oct-2007 |
joerg | Sync with HEAD.
|
1.16.22.1 |
| 02-Oct-2007 |
joerg | Sync with HEAD.
|
1.16.14.1 |
| 03-Oct-2007 |
garbled | Sync with HEAD
|
1.16.6.2 |
| 03-Dec-2007 |
ad | Sync with HEAD.
|
1.16.6.1 |
| 09-Oct-2007 |
ad | Sync with head.
|
1.17.2.1 |
| 13-Nov-2007 |
bouyer | Sync with HEAD
|
1.19.40.1 |
| 30-Apr-2010 |
uebayasi | Sync with HEAD.
|
1.19.20.1 |
| 11-Mar-2010 |
yamt | sync with head
|
1.20.14.1 |
| 18-Feb-2012 |
mrg | merge to -current.
|
1.20.10.1 |
| 17-Apr-2012 |
yamt | sync with head
|
1.23.48.1 |
| 10-Jun-2019 |
christos | Sync with HEAD
|
1.23.46.1 |
| 18-Jan-2019 |
pgoyette | Synch with HEAD
|
1.24.4.1 |
| 18-May-2020 |
martin | Pull up following revision(s) (requested by isaki in ticket #911):
sys/dev/audio/audiodef.h: revision 1.13 sys/dev/audio/audiodef.h: revision 1.14 sys/arch/sparc/include/param.h: revision 1.74 sys/arch/evbarm/conf/GENERIC64: revision 1.148 sys/arch/sh3/include/param.h: revision 1.25 sys/arch/evbarm/conf/GENERIC: revision 1.75 sys/arch/m68k/include/param.h: revision 1.23 sys/arch/amd64/conf/GENERIC: revision 1.564 sys/arch/hppa/include/param.h: revision 1.27 sys/dev/audio/audio.c: revision 1.68 sys/arch/vax/include/param.h: revision 1.63 sys/dev/audio/audio.c: revision 1.69
Reduce default AUDIO_BLK_MS from 40msec to 10msec on all platform except m68k (m68k uses 40msec default as before). And remove the option from GENERIC.
- It's not good idea to set such parameter in individual GENERICs. - 4msec is (probably no problem for most modern real hardware but) too aggressive to be default. - 10msec is too severe for antique machines but it's hard to draw a line.
Set AUDIO_BLK_MS 40 msec on other old(slow) architectures not only m68k.
Thanks tsutsui@ for comment about architecture choice. And move it from audiodef.h to audio.c as suggested by joerg@.
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
|
1.25.6.1 |
| 17-Jun-2021 |
thorpej | Sync w/ HEAD.
|