Home | History | Annotate | Download | only in include
History log of /src/sys/arch/vax/include/vmparam.h
RevisionDateAuthorComments
 1.51  31-Mar-2018  ragge Shrink MAXDSIZ to 512MB.
XXX this should be depending of amount of physical memory.
 1.50  26-Jan-2014  christos branches: 1.50.28;
don't re-specify the defaults
 1.49  25-Jan-2014  christos delete VM_DEFAULT_ADDRESS; some of those should be GC'ed because they match
the default definition.
 1.48  18-Sep-2013  martin Bump MAXTSIZ to 32 MB (it is an arbitrary limit anyway)
 1.47  14-Nov-2010  uebayasi branches: 1.47.8; 1.47.18; 1.47.22;
Move struct vm_page_md definition from vmparam.h to pmap.h, because
it's used only by pmap. vmparam.h has definitions for wider
audience.

All GENERIC kernels build tested, except ia64.

powerpc/include/booke/vmparam.h has one too, but it has no pmap.h,
so it's left as is.
 1.46  06-Nov-2010  uebayasi Remove incomplete, never worked dynamic run-time memory registration
(uvm_page_physload(9)). This functionality will be re-added later.
 1.45  06-Mar-2009  joerg branches: 1.45.2; 1.45.4;
Remove SHMMAXPGS from all kernel configs. Dynamically compute the
initial limit as 1/4 of the physical memory. Ensure the limit is at
least 1024 pages, the old default on most platforms.
 1.44  11-Mar-2008  matt branches: 1.44.4; 1.44.12; 1.44.18;
Rototill the vax code. Switch to devicet/PRIV_ALLOC. Cleanup vax autoconf
code. Move to prototype definitions. staticfy, constify, avoid casting.
Use device_* accessors.
 1.43  11-Dec-2005  christos branches: 1.43.50; 1.43.70; 1.43.74;
merge ktrace-lwp.
 1.42  14-Dec-2003  ragge branches: 1.42.16;
TOPDOWN_VM is now mandatory on vax.
 1.41  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.40  26-Feb-2003  ragge branches: 1.40.2;
Enable USE_TOPDOWN_VM. This also makes it possible to use large address
spaces, so bump MAXDSIZ to 1GB.
 1.39  10-Dec-2002  thorpej Use __LDPGSZ (which must be == USRTEXT) as the text address for a.out
executables, and eliminate the USRTEXT constant, which was only used
by the a.out exec code.
 1.38  01-Apr-2002  ragge Wrap up SHMMAXPGS to 1024, no reason to keep it low.
 1.37  19-Feb-2002  thorpej Bump the default data limit to 32M and the max data limit to 64M.
These are the same values that the hp300 port uses (lesser hp300s
have roughly the same memory constraints as "lesser" vaxen), and
bumping them allows us to run a statically linked ELF groff(1).
 1.36  15-Nov-2001  soren branches: 1.36.2;
MAXSLP is defined to be a machine-independent scheduling parameter,
so move it into sys/param.h.
 1.35  01-May-2001  thorpej branches: 1.35.2;
Per discussion w/ chuck and chuck, restructure the md page stuff
to use a structure called "vm_page_md", and use __HAVE_VM_PAGE_MD
and __HAVE_PMAP_PHYSSEG.
 1.34  29-Apr-2001  thorpej Add a VM_MDPAGE_MEMBERS macro that defines pmap-specific data for
each vm_page structure. Add a VM_MDPAGE_INIT() macro to init this
data when pages are initialized by UVM. These macros are mandatory,
but ports may #define them to nothing if they are not needed/used.

This deprecates struct pmap_physseg. As a transitional measure,
allow a port to #define PMAP_PHYSSEG so that it can continue to
use it until its pmap is converted to use VM_MDPAGE_MEMBERS.

Use all this stuff to eliminate a lot of extra work in the Alpha
pmap module (it's smaller and faster now). Changes to other pmap
modules will follow.
 1.33  14-Nov-2000  thorpej branches: 1.33.2;
We use 4K VM pages on the VAX. Make PAGE_SIZE and friends into
compile-time constants.
 1.32  07-Mar-2000  matt add real vmapbuf/vunmapbuf routines. needed for VS4000 SCSI support.
 1.31  04-Mar-2000  matt expunge vm_offset_t and vm_size_t.
add bus_dma support for the vs4000 dma translation map (sgmap).
enhance the vsbus for the lance to work with it.
remove the sgmap init code from ka46/48/49.c
 1.30  11-Feb-2000  thorpej Update for the NKMEMPAGES changes.
 1.29  26-Jan-2000  tsutsui Remove obsoleted macros.
 1.28  12-Dec-1999  ragge CL* discarding.
 1.27  22-Oct-1999  ragge Remove the vmapbuf()/vunmapbuf() routines. They are quite unneccessary
on a machine that has MMU for its I/O devices.
 1.26  20-Jun-1999  ragge branches: 1.26.2; 1.26.4; 1.26.6;
Add macros to round/trunc vax pages.
 1.25  26-Apr-1999  thorpej Garbage-collect VM_MBUF_SIZE.
 1.24  06-Mar-1999  ragge branches: 1.24.4;
pmap_physseg must be visible.
 1.23  02-Feb-1999  ragge Another giant change: Allocate register space dynamic instead of compiled-in.
This is done on a physical page size basis, instead of virtual (as the
(on vax yet non-existing) bus_* routines does). This is similar to the
way uba allocation is done.
 1.22  16-Jan-1999  chuck MNN is no longer optional
 1.21  01-Jan-1999  ragge Giant change: NBPG now set to 4k and CLSIZE == 1 for vax. This change
made a whole bunch of annoying bugs disappear; mostly depending on
bad use of NBPG in non-MD code. The VAX port was the only port that
used this historical "feature".

The CL* macros should probably go away totally, there is no reason
at all to keep them.
 1.20  29-Nov-1998  ragge Protect against multiple inclusion. Struct needs at least one argument.
 1.19  21-Aug-1998  ragge VAX logical page size increased to 4k.
 1.18  08-Jul-1998  thorpej Define one page free list, and put all pages on it.
 1.17  03-May-1998  ragge Remove the ancient kernel-stack area at top of P1 region. Make PMAP_NEW
almost work. Also Wall cleaning.
 1.16  02-Mar-1998  ragge Support for UVM on VAXen.
 1.15  12-Jul-1997  perry update comment from 1981 on memory and disk prices -- pr-2754 from Curt Sampson
 1.14  12-Jun-1997  mrg bring mrg-vm-swap2 onto mainilne.
 1.13  12-Feb-1997  ragge branches: 1.13.2;
Walk a step closer to more intelligent User PTE handling.
 1.12  20-Jul-1996  ragge branches: 1.12.4; 1.12.6;
Numerous changes to be able to put Bertram Barth's VAXstation support in.
(Some) Support for VAXstation 2000/MicroVAX 2000, VAXstation 3100/76.
 1.11  02-Feb-1996  mycroft ASSEMBLER -> _LOCORE
 1.10  13-Dec-1995  ragge PG_SHIFT -> PGSHIFT.
 1.9  22-Aug-1995  ragge Changed way to calculate USRPTSIZE.
 1.8  05-Jun-1995  ragge New file pcb.h. USRTEXT changed to 0x400.
 1.7  05-May-1995  ragge Removed cpu_set_init_frame() use.
Increased default limits of memory use, ridiculously small before.
 1.6  13-Feb-1995  ragge Lots of fixes...
 1.5  25-Nov-1994  ragge Lots of updates & fixes.
 1.4  26-Oct-1994  cgd new RCS ID format.
 1.3  08-Oct-1994  ragge Changes to make files more 4.4/1.0B working.
 1.2  16-Aug-1994  ragge branches: 1.2.2;
Minor updates of some errouneous parameters.
 1.1  02-Aug-1994  ragge Initial VAX port merging.
 1.2.2.2  16-Aug-1994  ragge Minor updates of some errouneous parameters.
 1.2.2.1  16-Aug-1994  ragge file vmparam.h was added on branch netbsd-1-0 on 1994-08-16 23:41:58 +0000
 1.12.6.1  12-Mar-1997  is Merge in changes from Trunk
 1.12.4.1  12-Feb-1997  mrg initial work for dynamic swap additions.
 1.13.2.1  04-May-1997  mrg re-merge mrg-vm-swap into -current, and call it mrg-vm-swap2.
 1.24.4.2  06-Aug-1999  chs take an initial guess at UBC parameters.
 1.24.4.1  21-Jun-1999  thorpej Sync w/ -current.
 1.26.6.1  27-Dec-1999  wrstuden Pull up to last week's -current.
 1.26.4.1  15-Nov-1999  fvdl Sync with -current
 1.26.2.2  22-Nov-2000  bouyer Sync with HEAD.
 1.26.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.33.2.1  21-Jun-2001  nathanw Catch up to -current.
 1.35.2.3  23-Jun-2002  jdolecek catch up with -current on kqueue branch
 1.35.2.2  16-Mar-2002  jdolecek Catch up with -current.
 1.35.2.1  10-Jan-2002  thorpej Sync kqueue branch with -current.
 1.36.2.4  11-Dec-2002  thorpej Sync with HEAD.
 1.36.2.3  17-Apr-2002  nathanw Catch up to -current.
 1.36.2.2  28-Feb-2002  nathanw Catch up to -current.
 1.36.2.1  15-Nov-2001  nathanw file vmparam.h was added on branch nathanw_sa on 2002-02-28 04:12:30 +0000
 1.40.2.3  21-Sep-2004  skrll Fix the sync with head I botched.
 1.40.2.2  18-Sep-2004  skrll Sync with HEAD.
 1.40.2.1  03-Aug-2004  skrll Sync with HEAD
 1.42.16.1  17-Mar-2008  yamt sync with head.
 1.43.74.1  03-Apr-2008  mjf Sync with HEAD.
 1.43.70.1  24-Mar-2008  keiichi sync with head.
 1.43.50.1  23-Mar-2008  matt sync with HEAD
 1.44.18.1  13-May-2009  jym Sync with HEAD.

Commit is split, to avoid a "too many arguments" protocol error.
 1.44.12.1  28-Apr-2009  skrll Sync with HEAD.
 1.44.4.1  04-May-2009  yamt sync with head.
 1.45.4.1  05-Mar-2011  rmind sync with head
 1.45.2.3  16-Nov-2010  uebayasi Sync with HEAD.
 1.45.2.2  26-Apr-2010  uebayasi Remove the unfinished code to add a memory segment after uvm_page_init().
It doesn't even compile.

(In the future, we should allocate struct vm_page [] on the added memory
segment for NUMA's sake.)
 1.45.2.1  23-Feb-2010  uebayasi Convert all VM_MDPAGE_INIT()'s to take struct vm_page_md * and paddr_t.
 1.47.22.1  18-May-2014  rmind sync with head
 1.47.18.1  20-Aug-2014  tls Rebase to HEAD as of a few days ago.
 1.47.8.1  22-May-2014  yamt sync with head.

for a reference, the tree before this commit was tagged
as yamt-pagecache-tag8.

this commit was splitted into small chunks to avoid
a limitation of cvs. ("Protocol error: too many arguments")
 1.50.28.1  07-Apr-2018  pgoyette Sync with HEAD. 77 conflicts resolved - all of them $NetBSD$

RSS XML Feed