Home | History | Annotate | Download | only in include
History log of /src/sys/arch/alpha/include/param.h
RevisionDateAuthorComments
 1.50  19-Jul-2021  christos Remove definitions for CACHE_LINE_SIZE and COHERENCY_UNIT which are the same
as the default.
 1.49  06-Jul-2021  thorpej - Define STACK_ALIGNBYTES to override the default and ensure that
stacks are 16-byte aligned, an assumption made by the compiler
and recommended by the Alpha Architecture Handbook.
- cpu_lwp_fork(): Ensure 16-byte stack alignment if the caller specified
one.

Addresses root casue of PR port-alpha/54307 and PR toolchain/56153.

Many thanks to rin@ for performing the root cause analysis and testing
changes.
 1.48  31-May-2021  simonb Include "opt_param.h" (ifdef _KERNEL_OPT) everywhere that MSGBUFSIZE is
referenced since some sources include <machine/param.h>.
 1.47  10-Oct-2020  thorpej branches: 1.47.6;
G/C alpha_XXX_dmamap() / alpha_XXX_dmamap_or. They haven't been needed
for a long time.
 1.46  03-Sep-2020  thorpej Define COHERENCY_UNIT and CACHE_LINE_SIZE as 64, which is the primary cache
line size on EV6 / EV7. This is also the default MI fallback definition,
but now we're not relying on that value.
 1.45  07-Jan-2019  jdolecek 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.44  20-Jan-2016  jklos branches: 1.44.16; 1.44.18;
Change base address to account for later Alpha models with later firmware
which require more space for SRM.
 1.43  14-Jan-2013  he branches: 1.43.14;
Copy the ALPHA_PGSHIFT value into the non-_KERNEL branch.
Fixes the build.
 1.42  07-Jan-2013  dsl Only include machine/cpu.h if _KERNEL is defined.
Fixes alpha userspace build (esp. pstat).
NFI why it worked before at all.
 1.41  10-Feb-2012  para branches: 1.41.6;
proper sizing of kmem_arena on different ports

PR port-i386/45946: Kernel locks up in VMEM system
 1.40  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.39  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.38  08-Feb-2011  rmind branches: 1.38.4; 1.38.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.37  08-Feb-2010  joerg branches: 1.37.2; 1.37.4; 1.37.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.36  28-Aug-2006  yamt branches: 1.36.60; 1.36.80;
- remove unused bdbtofsb.
- move the following macros from MD headers to sys/param.h.
ctod
dtoc
ctob
btoc
dbtob
btodb
 1.35  11-Dec-2005  christos branches: 1.35.4; 1.35.8;
merge ktrace-lwp.
 1.34  06-Apr-2004  simonb branches: 1.34.12;
Bump NMBCLUSTERS to something a little more modern - 2048 for the
normal case and 4096 for the "options GATEWAY" case.
 1.33  07-Aug-2003  agc branches: 1.33.2;
Move UCB-licensed code from 4-clause to 3-clause licence.

Patches provided by Joel Baker in PR 22364, verified by myself.
 1.32  26-Feb-2002  simonb branches: 1.32.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.31  30-May-2001  mrg branches: 1.31.2; 1.31.4;
use _KERNEL_OPT
 1.30  09-Jun-2000  thorpej branches: 1.30.4;
Only include <machine/intr.h> if _KERNEL. Noted by enami tsugutomo.
 1.29  09-Jun-2000  cgd make spl0() and spllowersoftclock() return void. Also, move spl0()
prototype from param.h to intr.h. (there were some big XXXs in param.h
that said to do that, and intr.h is included by param.h, so...)
 1.28  08-Jun-2000  thorpej And more ANSI'ification!
 1.27  11-Feb-2000  thorpej branches: 1.27.2;
Update for the NKMEMPAGES changes.
 1.26  04-Dec-1999  ragge CL* discarding.
 1.25  19-Nov-1998  ross branches: 1.25.10; 1.25.16;
Stop including <machine/alpha_cpu.h>; we already export <machine/cpu.h>.
 1.24  14-Aug-1998  thorpej vm_offset_t -> {paddr_t,vaddr_t}, vm_size_t -> vsize_t
 1.23  29-Apr-1998  thorpej Pull in opt_gateway.h as appropriate.
 1.22  12-Mar-1998  thorpej Garbage-collect a bunch of constants that were inherited, but are no
longer necessary or make sense.
 1.21  10-Feb-1998  thorpej Bump KNMEMCLUSTERS slightly, and make it more obvious how to tune it
(lifted from i386 port).
 1.20  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.19  15-May-1997  mjacob branches: 1.19.4;
Allow MAXPHYS to be specified as a config file option.
 1.18  06-Apr-1997  cgd clean up NetBSD RCS ID strings
 1.17  27-Feb-1997  jonathan Protect MCLSHIFT definition so users can customize MCLBYTES.
 1.16  24-Feb-1997  fvdl Define ALIGNED_POINTER
 1.15  13-Nov-1996  cgd branches: 1.15.2; 1.15.8;
compile cleanly with:
-Werror -Wall -Wstrict-prototypes -Wmissing-prototypes -Wcast-qual
 1.14  25-Oct-1996  cgd prototype alpha_XXX_dmamap(), the alpha DMA mapping hack.
 1.13  09-Jul-1996  cgd various cleanup, move setsoft* and spl* into intr.h.
 1.12  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.11  01-Feb-1996  mycroft LOCORE -> _LOCORE
 1.10  20-Dec-1995  cgd move DELAY's functionality into delay()
 1.9  23-Nov-1995  cgd wholesale update from my NetBSD/Alpha source tree. Includes:
Support for AXPpci CPUs,
Support for AlphaStation 600 CPUs,
new boot block structure, which requires an 'installboot'
program and works a lot like the NetBSD/sparc boot blocks.
 1.8  13-Aug-1995  mycroft Add splsoftnet().
 1.7  03-Aug-1995  cgd bump NKMEMCLUSTERS up to 4M (increase of 4x)
 1.6  28-Jun-1995  cgd kill user-land DELAY macro, as suggested by gwr.
 1.5  26-Jun-1995  cgd clean up definitions of ctod(), dtoc(), ctob(), btoc(), btodb(), and
dbtob(). remove unused definitions of ctos(), stoc(), and dtob().
 1.4  28-Mar-1995  jtc KERNEL -> _KERNEL
 1.3  24-Mar-1995  cgd remove support for double-mapping the user area/kernel stack
 1.2  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.1  13-Feb-1995  cgd preliminary Alpha support. note that NOT ALL OF THE MODIFICATIONS TO
THE REST OF THE KERNEL ARE IN THE TREE YET. Also, some of this is
_incredibly_ hack-ish, etc., but it works.
 1.15.8.1  11-Mar-1997  is Merge in latest Trunk.
 1.15.2.1  01-Jun-1997  cgd sync the nwscons branch up with yesterday's version of the trunk.
Lots of conflicts/changes because of the RCS Id format changes.
Also, a few cleanups and corrections.
 1.19.4.1  22-Sep-1997  thorpej Update marc-pcmcia branch from trunk.
 1.25.16.2  27-Dec-1999  wrstuden Pull up to last week's -current.
 1.25.16.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.25.10.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.27.2.1  22-Jun-2000  minoura Sync w/ netbsd-1-5-base.
 1.30.4.1  21-Jun-2001  nathanw Catch up to -current.
 1.31.4.2  28-Feb-2002  nathanw Catch up to -current.
 1.31.4.1  30-May-2001  nathanw file param.h was added on branch nathanw_sa on 2002-02-28 04:06:14 +0000
 1.31.2.1  16-Mar-2002  jdolecek Catch up with -current.
 1.32.16.3  21-Sep-2004  skrll Fix the sync with head I botched.
 1.32.16.2  18-Sep-2004  skrll Sync with HEAD.
 1.32.16.1  03-Aug-2004  skrll Sync with HEAD
 1.33.2.1  14-Jul-2004  tron Pull up revision 1.34 (requested by mhitch in ticket #645):
Bump NMBCLUSTERS to something a little more modern - 2048 for the
normal case and 4096 for the "options GATEWAY" case.
 1.34.12.1  30-Dec-2006  yamt sync with head.
 1.35.8.1  03-Sep-2006  yamt sync with head.
 1.35.4.1  09-Sep-2006  rpaulo sync with head
 1.36.80.1  30-Apr-2010  uebayasi Sync with HEAD.
 1.36.60.1  11-Mar-2010  yamt sync with head
 1.37.6.1  17-Feb-2011  bouyer Sync with HEAD
 1.37.4.1  06-Jun-2011  jruoho Sync with HEAD.
 1.37.2.1  05-Mar-2011  rmind sync with head
 1.38.8.1  18-Feb-2012  mrg merge to -current.
 1.38.4.2  23-Jan-2013  yamt sync with head
 1.38.4.1  17-Apr-2012  yamt sync with head
 1.41.6.2  03-Dec-2017  jdolecek update from HEAD
 1.41.6.1  25-Feb-2013  tls resync with head
 1.43.14.1  19-Mar-2016  skrll Sync with HEAD
 1.44.18.1  10-Jun-2019  christos Sync with HEAD
 1.44.16.1  18-Jan-2019  pgoyette Synch with HEAD
 1.47.6.2  01-Aug-2021  thorpej Sync with HEAD.
 1.47.6.1  17-Jun-2021  thorpej Sync w/ HEAD.

RSS XML Feed