History log of /src/sys/arch/m68k/include/param.h |
Revision | | Date | Author | Comments |
1.24 |
| 31-May-2021 |
simonb | Include "opt_param.h" (ifdef _KERNEL_OPT) everywhere that MSGBUFSIZE is referenced since some sources include <machine/param.h>.
|
1.23 |
| 01-May-2020 |
isaki | branches: 1.23.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.22 |
| 07-Jan-2019 |
jdolecek | branches: 1.22.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.21 |
| 24-Jan-2012 |
christos | branches: 1.21.46; 1.21.48; Use and define ALIGN() ALIGN_POINTER() and STACK_ALIGN() consistently, and avoid definining them in 10 different places if not needed.
|
1.20 |
| 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.19 |
| 05-Mar-2011 |
matt | branches: 1.19.4; 1.19.8; If _KERNEL is not defined, force MACHINE to be "m68k". Userland should be using uname/sysctl to get this value.
|
1.18 |
| 08-Feb-2011 |
rmind | Remove clause 3 (UCB advertising clause) from the University of Utah copyright. Confirmed by Mike Hibler, mike at cs.utah.edu - thanks! Also, merge UCB and Utah copyright texts back into one, as they originally were.
Extra verification by snj@.
|
1.17 |
| 08-Feb-2010 |
joerg | branches: 1.17.2; 1.17.4; 1.17.6; 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.16 |
| 11-Dec-2009 |
tsutsui | branches: 1.16.2; Refactoring MD segment related definitions on m68k ports: - move macro SEGSHIFT, NBSEG, and SEGOFSET from <machine/param.h> to <m68k/pmap_motorola.h> where they should belong - also simplify NBSEG macro for both 020/030 and 040/060 cases - also move m68k_trunc_seg(), m68k_round_seg(), and m68k_seg_offset() (that use SEGOFSET) from <m68k/param.h> to <m68k/pmap_motorola.h> - add comments about each segment size value used on pmap_motorola implementation - add TIA_SIZE, TIA_SHIFT, TIB_SIZE, and TIB_SHIFT macro which can be used for ste/pte index sizes - use proper vaddr_t cast instead of unsigned for SEGOFSET/PGOFSET macro
Tested on atari, hp300, and news68k.
|
1.15 |
| 28-Aug-2006 |
yamt | branches: 1.15.60; - 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 |
| 30-Oct-2003 |
mycroft | branches: 1.13.16; Allow a port to override MAXPHYS.
|
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 |
| 26-Feb-2002 |
simonb | branches: 1.11.16; 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.10 |
| 30-May-2001 |
mrg | branches: 1.10.2; 1.10.8; use _KERNEL_OPT
|
1.9 |
| 03-May-2001 |
fredette | Now only define MACHINE_ARCH, _MACHINE_ARCH, and MID_MACHINE if they haven't already been defined.
|
1.8 |
| 30-Jun-2000 |
itojun | branches: 1.8.2; 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.7 |
| 12-Dec-1999 |
scottr | branches: 1.7.4; Add m68k_seg_offset() and m68k_page_offset() to complement m68k_trunc_seg() m68k_trunc_page(), respectively. Motivated primarily by a desire for code clarity and symmetry.
|
1.6 |
| 04-Dec-1999 |
ragge | CL* discarding.
|
1.5 |
| 29-Apr-1998 |
thorpej | branches: 1.5.14; 1.5.20; Pull in opt_gateway.h as appropriate.
|
1.4 |
| 20-Sep-1997 |
leo | Move the definition of MSGBUFSIZE up to the machine-arch level if possible. Pointed out by Bernd Ernesti.
|
1.3 |
| 10-Jul-1997 |
veego | branches: 1.3.2; Move the defines of UPAGES and NPTEPG back to the MD param.h, execpt that the sun3[x] doesn't use NPTEPG.
|
1.2 |
| 10-Jun-1997 |
veego | Add the 'Mach derived conversion macros' from <arch>/include/param.h.
|
1.1 |
| 10-Jun-1997 |
veego | New MI include file. Based on the param.h from all m68k ports.
|
1.3.2.1 |
| 22-Sep-1997 |
thorpej | Update marc-pcmcia branch from trunk.
|
1.5.20.2 |
| 27-Dec-1999 |
wrstuden | Pull up to last week's -current.
|
1.5.20.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.5.14.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.7.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.8.2.1 |
| 21-Jun-2001 |
nathanw | Catch up to -current.
|
1.10.8.2 |
| 28-Feb-2002 |
nathanw | Catch up to -current.
|
1.10.8.1 |
| 30-May-2001 |
nathanw | file param.h was added on branch nathanw_sa on 2002-02-28 04:10:34 +0000
|
1.10.2.1 |
| 16-Mar-2002 |
jdolecek | Catch up with -current.
|
1.11.16.3 |
| 21-Sep-2004 |
skrll | Fix the sync with head I botched.
|
1.11.16.2 |
| 18-Sep-2004 |
skrll | Sync with HEAD.
|
1.11.16.1 |
| 03-Aug-2004 |
skrll | 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.60.1 |
| 11-Mar-2010 |
yamt | sync with head
|
1.16.2.1 |
| 30-Apr-2010 |
uebayasi | Sync with HEAD.
|
1.17.6.1 |
| 17-Feb-2011 |
bouyer | Sync with HEAD
|
1.17.4.1 |
| 06-Jun-2011 |
jruoho | Sync with HEAD.
|
1.17.2.2 |
| 06-Mar-2011 |
rmind | sync with head (and fix few botches with this)
|
1.17.2.1 |
| 05-Mar-2011 |
rmind | sync with head
|
1.19.8.1 |
| 18-Feb-2012 |
mrg | merge to -current.
|
1.19.4.1 |
| 17-Apr-2012 |
yamt | sync with head
|
1.21.48.1 |
| 10-Jun-2019 |
christos | Sync with HEAD
|
1.21.46.1 |
| 18-Jan-2019 |
pgoyette | Synch with HEAD
|
1.22.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.23.6.1 |
| 17-Jun-2021 |
thorpej | Sync w/ HEAD.
|