Home | History | Annotate | Download | only in include
History log of /src/sys/arch/sun3/include/param3.h
RevisionDateAuthorComments
 1.57  03-Mar-2018  mrg sun2/sun3:
- build libkern as an archive for non modular builds. from maya@
sun3:
- cut down GENERIC a bunch to bring below 2MB.
- reduce UBC_NWINS, MAXEXEC, and PAGER_MAP_DEFAULT_SIZE to recover
enough lost VA to actually run basic tests.
 1.56  12-Aug-2012  tsutsui branches: 1.56.32;
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.55  11-Aug-2012  tsutsui 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.54  08-Feb-2011  rmind branches: 1.54.4; 1.54.10;
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.53  15-Oct-2010  tsutsui branches: 1.53.2; 1.53.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.52  11-Dec-2009  tsutsui branches: 1.52.2; 1.52.4;
Refactoring MD segment related definitions on m68k ports:
- move macro SEGSHIFT, NBSG, and SEGOFFSET from <machine/param.h>
to <machine/pmap.h> where they should belong
- don't use m68k_round_seg() and m68k_trunc_seg() in sun3 pmap sources
and instead define and use sun3_round_seg() and sun3_trunc_seg()
since they are quite pmap implementation dependent
 1.51  11-Dec-2005  christos branches: 1.51.78;
merge ktrace-lwp.
 1.50  22-Jan-2005  chs bring back the sun3 MAXPHYS definition that has been missing for 8 years.
more recently, we changed to relying on MAXPHYS rather than MAXBSIZE to
limit page cache I/O sizes, and sun3 has been broken since then.
 1.49  07-Aug-2003  agc branches: 1.49.2; 1.49.6; 1.49.8;
Move UCB-licensed code from 4-clause to 3-clause licence.

Patches provided by Joel Baker in PR 22364, verified by myself.
 1.48  05-Feb-1998  gwr branches: 1.48.48;
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 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.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.2  04-Feb-1998  gwr Move UPAGES into the common file.
 1.47.4.1  27-Jan-1998  gwr Remove common stuff found in param.h
 1.48.48.4  24-Jan-2005  skrll Sync with HEAD.
 1.48.48.3  21-Sep-2004  skrll Fix the sync with head I botched.
 1.48.48.2  18-Sep-2004  skrll Sync with HEAD.
 1.48.48.1  03-Aug-2004  skrll Sync with HEAD
 1.49.8.1  29-Apr-2005  kent sync with -current
 1.49.6.1  16-Mar-2005  tron Pull up revision 1.50 (requested by chs in ticket #1229):
bring back the sun3 MAXPHYS definition that has been missing for 8 years.
more recently, we changed to relying on MAXPHYS rather than MAXBSIZE to
limit page cache I/O sizes, and sun3 has been broken since then.
 1.49.2.1  16-Mar-2005  tron Pull up revision 1.50 (requested by chs in ticket #1229):
bring back the sun3 MAXPHYS definition that has been missing for 8 years.
more recently, we changed to relying on MAXPHYS rather than MAXBSIZE to
limit page cache I/O sizes, and sun3 has been broken since then.
 1.51.78.1  11-Mar-2010  yamt sync with head
 1.52.4.1  05-Mar-2011  rmind sync with head
 1.52.2.1  22-Oct-2010  uebayasi Sync with HEAD (-D20101022).
 1.53.4.1  17-Feb-2011  bouyer Sync with HEAD
 1.53.2.1  06-Jun-2011  jruoho Sync with HEAD.
 1.54.10.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.54.4.1  30-Oct-2012  yamt sync with head
 1.56.32.1  12-Apr-2018  martin Pull up following revision(s) (requested by mrg in ticket #745):

sys/arch/sun3/conf/Makefile.sun3: revision 1.106
sys/arch/sun3/conf/Makefile.sun3: revision 1.107
sys/arch/sun3/conf/GENERIC3X: revision 1.131
sys/arch/sun3/include/param3.h: revision 1.57
sys/arch/sun3/conf/GENERIC: revision 1.177
sys/arch/sun3/conf/GENERIC: revision 1.178
sys/arch/sun3/include/vmparam3.h: revision 1.39

sun3:
- build libkern as an archive for non modular builds. from maya@
- cut down GENERIC a bunch to bring below 2MB.
- reduce UBC_NWINS, MAXEXEC, and PAGER_MAP_DEFAULT_SIZE to recover
enough lost VA to actually run basic tests.

also disable SYSCTL_INCLUDE_DESCR.

copy sun3 disables to sun3x mostly. it has the same ufsboot 2MB limit.

Build compat code as .a if not MODULAR.

Removes some more unused functions.

RSS XML Feed