Home | History | Annotate | Download | only in include
History log of /src/sys/arch/sun3/include/param.h
RevisionDateAuthorComments
 1.62  31-May-2021  simonb Include "opt_param.h" (ifdef _KERNEL_OPT) everywhere that MSGBUFSIZE is
referenced since some sources include <machine/param.h>.
 1.61  11-Aug-2012  tsutsui branches: 1.61.56;
Poor sun3 (but not sun3x) has only 31MB KVM address space,
so reduce NKMEMPAGES_MAX_DEFAULT from 64MB to 16MB.
Fixes "panic: ubc_init: failed to map ubc_object" on
TME emulating 3/120 with >16MB RAM.

Should be pulled up to netbsd-6.
 1.60  10-Feb-2012  para branches: 1.60.2;
proper sizing of kmem_arena on different ports

PR port-i386/45946: Kernel locks up in VMEM system
 1.59  08-Feb-2011  rmind branches: 1.59.4; 1.59.8;
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.58  15-Oct-2010  tsutsui branches: 1.58.2; 1.58.4;
Make common kernel module binaries work on both sun3 and sun3x.
Tested on 3/160 (on TME) and (real) 3/80.

XXX: module files can be loaded only on single user?
 1.57  11-Dec-2005  christos branches: 1.57.98; 1.57.100;
merge ktrace-lwp.
 1.56  22-Jan-2005  chs de-__P, remove register, ansify, b* -> mem*, u_int*_t -> uint*_t.
 1.55  07-Aug-2003  agc branches: 1.55.8;
Move UCB-licensed code from 4-clause to 3-clause licence.

Patches provided by Joel Baker in PR 22364, verified by myself.
 1.54  01-Jun-2002  nathanw branches: 1.54.6;
Explicitly include <arch/sun3/include/param3{,x}.h> rather than
<machine/param3{,x}.h>, so that this file can be included on non-sun3 builds.
 1.53  28-May-2001  chs branches: 1.53.2; 1.53.8; 1.53.16; 1.53.18;
move the spl*() and IPL_* definitions to intr.h.
 1.52  28-May-2001  chs make sun3x work again after the recent change to the m68k cpu_kcore_hdr:
allocate a page for dumps like the sun3 does rather than using part of
the msgbuf page. this also lets the msgbuf use the full msgbuf page.
 1.51  11-Feb-2000  thorpej branches: 1.51.6;
Update for the NKMEMPAGES changes.
 1.50  04-Dec-1999  ragge CL* discarding.
 1.49  05-Apr-1999  gwr branches: 1.49.2; 1.49.8; 1.49.14;
Make it clear that MSGBUFSIZE is not user-adjustable.
 1.48  05-Feb-1998  gwr Merge arch/sun3x into arch/sun3
 1.47  03-Oct-1997  gwr branches: 1.47.4;
Increase MSGBUFOFF to 512 so we can be sure there is room for a
kernel core header before the message buffer.
 1.46  02-Oct-1997  gwr Fix MSGBUFSIZE
 1.45  20-Sep-1997  leo Correct for the extra member in 'struct kern_msgbuf' when calculating
the number of bytes we want to allocate.
 1.44  19-Sep-1997  leo Implement the kernel part of pr-1891. This allows for a more flexible sized
msgbuf. Note that old 'dmesg' and 'syslogd' binaries will continue running,
though old 'dmesg' binaries will output a few bytes of junk at the start of
the buffer, and will miss a few bytes at the end of the buffer.
 1.43  10-Jul-1997  veego branches: 1.43.2;
Restore the define of UPAGES.
 1.42  10-Jun-1997  veego Define NBSG from (1 << SEGSHIFT) and move some variables before
<m68k/param.h>.
 1.41  10-Jun-1997  veego Use the MI <m68k/param.h> include.
 1.40  27-Feb-1997  gwr Define VM_MAX_KERNEL_ADDRESS using KERN_END instead of a constant.
 1.39  27-Feb-1997  gwr Allow option MCLSHIFT=x to control MCLBYTES etc.
 1.38  26-Feb-1997  gwr Use ALIGNBYTES in the new ALIGNED_POINTER macro.
(That is always good enough on the m68k.)
 1.37  24-Feb-1997  fvdl Define ALIGNED_POINTER
 1.36  18-Jan-1997  gwr branches: 1.36.4;
Move sun3_btop (etc.) macros from param.h to pte.h
 1.35  13-Dec-1996  gwr Define MAXBSIZE as 32KB to limit the size clustered transfers.
 1.34  04-Mar-1996  cgd add _MACHINE and _MACHINE_ARCH, which are like MACHINE and MACHINE_ARCH,
execpt without quotes. meant to be __CONCAT()ted for easy #includes
of machine-dependent headers for MI code (e.g. for the MI ISA/EISA/PCI/TC
bus code).
 1.33  01-Mar-1996  cgd Clean up tabbing/spacing in defns of MACHINE, MACHINE_ARCH, and MID_MACHINE.
 1.32  16-Feb-1996  gwr Improved delay() implementation with lower overhead,
makes very short delays much more accurate.
 1.31  01-Feb-1996  mycroft LOCORE -> _LOCORE
 1.30  10-Nov-1995  gwr Need to define KERNTEXTOFF for kvm_mkdb
 1.29  27-Jun-1995  gwr branches: 1.29.2;
Nuke user-mode DELAY() macro.
 1.28  26-Jun-1995  cgd clean up definitions of ctod(), dtoc(), ctob(), btoc(), btodb(), and
dbtob(). remove unused definitions of ctos(), stoc(), and dtob().
 1.27  13-Jun-1995  gwr Provide delay2us as an inline and make it reasonably accurate,
but conservative (long) by a factor of about 1.25
 1.26  28-Mar-1995  jtc KERNEL -> _KERNEL
 1.25  27-Mar-1995  gwr Put spltty at level 4 and adjust others appropriately.
Also, improve the inline _spl() and move it to psl.h
 1.24  18-Mar-1995  cgd don't be so quick to cast macro arguments to unsigned; if the
arguments are really off_t's (e.g. to btodb), then you can lose
information. This was the "> 4G file systems don't work" bug; physio
uses btodb, which was broken.
 1.23  28-Nov-1994  gwr cosmetic
 1.22  23-Nov-1994  gwr Add USPACE
 1.21  21-Nov-1994  gwr Lots of changes. Fairly stable now.
 1.20  26-Oct-1994  gwr Remove some unnecessary junk.
 1.19  26-Oct-1994  cgd new RCS ID format.
 1.18  20-Sep-1994  gwr branches: 1.18.2;
Kill CLOCK_VA, INTERREG_VA. Do spl0() and splx(x) inline too.
 1.17  16-Sep-1994  jtc asm -> __asm (PR #463).
 1.16  23-Aug-1994  gwr Add USPACE
 1.15  27-May-1994  gwr Catch up with frame.h chages, merge stuff from new hp300 port.
 1.14  04-May-1994  gwr Make the DELAY macro call the new delay() function.
 1.13  02-May-1994  glass ugh. splimp is the greater of splnet and splbio now. used by pmap module for splpmap()
 1.12  23-Feb-1994  glass boots, presents shell prompt, and doesn't crash immediately
 1.11  12-Dec-1993  glass MACHINE_ARCH
 1.10  23-Nov-1993  glass Now works with current tree, as opposed to the july 8th tree in which it was
written.
Requires magnum infrastructure now, particularly the clock stuff.
Fails to exec init because the /sbin/init binary
is a sunos binary. Next step is to integrate sunos compatibility code
from /sys/compat/sunos, and the amiga port.
Does not yet implement MACHINE_NOCONTIG support.

[from glass Mon Nov 22 21:22:45 PST 1993 home tag: home2]
 1.9  12-Oct-1993  glass sun3 port updated. netboot integrated.
 1.8  28-Aug-1993  glass last snapshot before uploading. we still have serious clock problems
 1.7  21-Aug-1993  glass snapshot. for uploading. gets lost in swtch after enablertclock()
 1.6  08-Aug-1993  glass various changes
 1.5  05-Aug-1993  glass gets to consinit() and blows up
 1.4  03-Aug-1993  glass it links with out any unresolved symbols, last few are just stubs
because we aren't likely to get near execing init for a while
 1.3  30-Jul-1993  glass whatever was necessary to make the rest of it work.
 1.2  27-Jun-1993  glass fixed bug in mon.h; fixed NEED_* in cpu.h; spl macro problems
 1.1  25-Jun-1993  glass adding include files...not much of this works
 1.18.2.2  20-Sep-1994  gwr Kill CLOCK_VA, INTERREG_VA. Do spl0() and splx(x) inline too.
 1.18.2.1  20-Sep-1994  gwr file param.h was added on branch netbsd-1-0 on 1994-09-20 16:31:04 +0000
 1.29.2.1  10-Nov-1995  gwr Update from HEAD
 1.36.4.1  12-Mar-1997  is Merge in changes from The Trunk
 1.43.2.2  14-Oct-1997  thorpej Update marc-pcmcia branch from trunk.
 1.43.2.1  22-Sep-1997  thorpej Update marc-pcmcia branch from trunk.
 1.47.4.3  05-Feb-1998  gwr Remove _KVA_MASK
 1.47.4.2  04-Feb-1998  gwr Move UPAGES into the common file.
 1.47.4.1  27-Jan-1998  gwr Conditionally include *3.h or *3x.h as appropriate.
 1.49.14.1  27-Dec-1999  wrstuden Pull up to last week's -current.
 1.49.8.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.49.2.2  05-Apr-1999  gwr Make it clear that MSGBUFSIZE is not user-adjustable.
 1.49.2.1  05-Apr-1999  gwr file param.h was added on branch netbsd-1-4 on 1999-04-05 14:34:19 +0000
 1.51.6.1  21-Jun-2001  nathanw Catch up to -current.
 1.53.18.2  09-Sep-2003  lukem Apply patch from Matthias Scheler to fix the sun3 build after the pullup
of ticket 1434 broke it.
[tron, ticket #1453]
 1.53.18.1  01-Jun-2002  tv Pull up revision 1.54 (requested by nathanw in ticket #115):
Explicitly include <arch/sun3/include/param3{,x}.h> rather than
<machine/param3{,x}.h>, so that this file can be included on non-sun3 builds.
 1.53.16.1  15-Jul-2002  gehenna catch up with -current.
 1.53.8.2  20-Jun-2002  nathanw Catch up to -current.
 1.53.8.1  28-May-2001  nathanw file param.h was added on branch nathanw_sa on 2002-06-20 03:41:43 +0000
 1.53.2.1  23-Jun-2002  jdolecek catch up with -current on kqueue branch
 1.54.6.4  24-Jan-2005  skrll Sync with HEAD.
 1.54.6.3  21-Sep-2004  skrll Fix the sync with head I botched.
 1.54.6.2  18-Sep-2004  skrll Sync with HEAD.
 1.54.6.1  03-Aug-2004  skrll Sync with HEAD
 1.55.8.1  29-Apr-2005  kent sync with -current
 1.57.100.1  05-Mar-2011  rmind sync with head
 1.57.98.1  22-Oct-2010  uebayasi Sync with HEAD (-D20101022).
 1.58.4.1  17-Feb-2011  bouyer Sync with HEAD
 1.58.2.1  06-Jun-2011  jruoho Sync with HEAD.
 1.59.8.1  18-Feb-2012  mrg merge to -current.
 1.59.4.2  30-Oct-2012  yamt sync with head
 1.59.4.1  17-Apr-2012  yamt sync with head
 1.60.2.1  13-Aug-2012  riz Pull up following revision(s) (requested by tsutsui in ticket #487):
sys/arch/sun3/include/param3.h: revision 1.55
sys/arch/sun3/include/param3.h: revision 1.56
sys/arch/sun2/include/param.h: revision 1.15
sys/arch/sun3/include/param.h: revision 1.61
sys/arch/sun3/include/param3x.h: revision 1.18
Poor sun3 (but not sun3x) has only 31MB KVM address space,
so reduce NKMEMPAGES_MAX_DEFAULT from 64MB to 16MB.
Fixes "panic: ubc_init: failed to map ubc_object" on
TME emulating 3/120 with >16MB RAM.
Should be pulled up to netbsd-6.
Poor sun2 has only 14MB KVA space so reduce NKMEMPAGES_MIN_DEFAULT and
NKMEMPAGES_MAX_DEFAULT values accordingly.
XXX: netbsd-6 GENERIC still gets "panic: pool_get: kmem-4096: page empty"
Also reduce UBC_NWINS from default 1024 to 512
to avoid possible KVA shortage, otherwise
"panic: ubc_init: failed to map ubc_object"
could still happen on netbsd-6 branch.
Should be pulled up to netbsd-6.
 1.61.56.1  17-Jun-2021  thorpej Sync w/ HEAD.

RSS XML Feed