The NetBSD Project

CVS log for src/sys/arch/i386/i386/Attic/mem.c

[BACK] Up to [cvs.NetBSD.org] / src / sys / arch / i386 / i386

Request diff between arbitrary revisions


Default branch: MAIN


Revision 1.71.4.4, Sat Aug 27 15:59:48 2011 UTC (6 years, 11 months ago) by jym
Branch: jym-xensuspend
Changes since 1.71.4.3: +2 -2 lines
FILE REMOVED

Add/remove files, like in HEAD.

Revision 1.73.2.1, Thu Jun 23 14:19:14 2011 UTC (7 years, 1 month ago) by cherry
Branch: cherry-xenmp
Changes since 1.73: +2 -2 lines
FILE REMOVED

Catchup with rmind-uvmplock merge.

Revision 1.74, Sun Jun 12 03:35:42 2011 UTC (7 years, 2 months ago) by rmind
Branch: MAIN
CVS Tags: yamt-pagecache-tag8, yamt-pagecache-base9, yamt-pagecache-base8, yamt-pagecache-base7, yamt-pagecache-base6, yamt-pagecache-base5, yamt-pagecache-base4, yamt-pagecache-base3, yamt-pagecache-base2, yamt-pagecache-base, yamt-pagecache, tls-maxphys-base, tls-earlyentropy-base, tls-earlyentropy, rmind-smpnet-nbase, rmind-smpnet-base, rmind-smpnet, riastradh-xf86-video-intel-2-7-1-pre-2-21-15, riastradh-drm2-base3, prg-localcount2-base3, prg-localcount2-base2, prg-localcount2-base1, prg-localcount2-base, prg-localcount2, pgoyette-localcount-base, pgoyette-localcount-20170426, pgoyette-localcount-20170320, pgoyette-localcount-20170107, pgoyette-localcount-20161104, pgoyette-localcount-20160806, pgoyette-localcount-20160726, pgoyette-localcount, pgoyette-compat-base, pgoyette-compat-0728, pgoyette-compat-0625, pgoyette-compat-0521, pgoyette-compat-0502, pgoyette-compat-0422, pgoyette-compat-0415, pgoyette-compat-0407, pgoyette-compat-0330, pgoyette-compat-0322, pgoyette-compat-0315, pgoyette-compat, perseant-stdc-iso10646-base, perseant-stdc-iso10646, localcount-20160914, jym-xensuspend-nbase, jym-xensuspend-base, jmcneill-usbmp-base, jmcneill-usbmp, jmcneill-audiomp3-base, jmcneill-audiomp3, bouyer-socketcan-base1, bouyer-socketcan-base, bouyer-socketcan, agc-symver-base, agc-symver, HEAD
Changes since 1.73: +2 -2 lines
FILE REMOVED

Welcome to 5.99.53!  Merge rmind-uvmplock branch:

- Reorganize locking in UVM and provide extra serialisation for pmap(9).
  New lock order: [vmpage-owner-lock] -> pmap-lock.

- Simplify locking in some pmap(9) modules by removing P->V locking.

- Use lock object on vmobjlock (and thus vnode_t::v_interlock) to share
  the locks amongst UVM objects where necessary (tmpfs, layerfs, unionfs).

- Rewrite and optimise x86 TLB shootdown code, make it simpler and cleaner.
  Add TLBSTATS option for x86 to collect statistics about TLB shootdowns.

- Unify /dev/mem et al in MI code and provide required locking (removes
  kernel-lock on some ports).  Also, avoid cache-aliasing issues.

Thanks to Andrew Doran and Joerg Sonnenberger, as their initial patches
formed the core changes of this branch.

Revision 1.72.6.1 / (download) - annotate - [select for diffs], Mon Jun 6 09:05:50 2011 UTC (7 years, 2 months ago) by jruoho
Branch: jruoho-x86intr
Changes since 1.72: +3 -39 lines
Diff to previous 1.72 (colored) next main 1.73 (colored)

Sync with HEAD.

Revision 1.71.4.3 / (download) - annotate - [select for diffs], Mon Mar 28 23:04:41 2011 UTC (7 years, 4 months ago) by jym
Branch: jym-xensuspend
Changes since 1.71.4.2: +3 -39 lines
Diff to previous 1.71.4.2 (colored) to branchpoint 1.71 (colored)

Sync with HEAD. TODO before merge:
- shortcut for suspend code in sysmon, when powerd(8) is not running.
Borrow ``xs_watch'' thread context?
- bug hunting in xbd + xennet resume. Rings are currently thrashed upon
resume, so current implementation force flush them on suspend. It's not
really needed.

Revision 1.72.8.1 / (download) - annotate - [select for diffs], Thu Feb 17 11:59:44 2011 UTC (7 years, 5 months ago) by bouyer
Branch: bouyer-quota2
Changes since 1.72: +3 -39 lines
Diff to previous 1.72 (colored) next main 1.73 (colored)

Sync with HEAD

Revision 1.73 / (download) - annotate - [select for diffs], Tue Feb 8 20:20:15 2011 UTC (7 years, 6 months ago) by rmind
Branch: MAIN
CVS Tags: uebayasi-xip-base7, rmind-uvmplock-nbase, rmind-uvmplock-base, cherry-xenmp-base, bouyer-quota2-nbase, bouyer-quota2-base
Branch point for: cherry-xenmp
Changes since 1.72: +3 -39 lines
Diff to previous 1.72 (colored)

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@.

Revision 1.72.2.1 / (download) - annotate - [select for diffs], Sat Oct 30 08:41:08 2010 UTC (7 years, 9 months ago) by uebayasi
Branch: uebayasi-xip
Changes since 1.72: +3 -3 lines
Diff to previous 1.72 (colored) next main 1.73 (colored)

Implement pmap_physload_device(9) to replace xmd(4) MD backend.
Implement pmap_mmap(9) and use it from mem(4) and xmd(4).

Revision 1.72.4.1, Thu Mar 18 04:36:49 2010 UTC (8 years, 5 months ago) by rmind
Branch: rmind-uvmplock
Changes since 1.72: +2 -2 lines
FILE REMOVED

Unify /dev/{mem,kmem,zero,null} implementations in MI code.  Based on patch
from Joerg Sonnenberger, proposed on tech-kern@, in February 2008.

Work and depression still in progress.

Revision 1.71.4.2 / (download) - annotate - [select for diffs], Sun Nov 1 13:58:21 2009 UTC (8 years, 9 months ago) by jym
Branch: jym-xensuspend
Changes since 1.71.4.1: +0 -0 lines
Diff to previous 1.71.4.1 (colored) to branchpoint 1.71 (colored)

Sync with HEAD.

Revision 1.71.4.1 / (download) - annotate - [select for diffs], Wed May 13 17:17:49 2009 UTC (9 years, 3 months ago) by jym
Branch: jym-xensuspend
Changes since 1.71: +6 -11 lines
Diff to previous 1.71 (colored)

Sync with HEAD.

Commit is split, to avoid a "too many arguments" protocol error.

Revision 1.69.44.1 / (download) - annotate - [select for diffs], Mon May 4 08:11:16 2009 UTC (9 years, 3 months ago) by yamt
Branch: yamt-nfs-mp
Changes since 1.69: +49 -38 lines
Diff to previous 1.69 (colored) next main 1.70 (colored)

sync with head.

Revision 1.70.2.2 / (download) - annotate - [select for diffs], Tue Apr 28 07:34:08 2009 UTC (9 years, 3 months ago) by skrll
Branch: nick-hppapmap
Changes since 1.70.2.1: +6 -11 lines
Diff to previous 1.70.2.1 (colored) to branchpoint 1.70 (colored) next main 1.71 (colored)

Sync with HEAD.

Revision 1.72 / (download) - annotate - [select for diffs], Sun Mar 29 01:10:28 2009 UTC (9 years, 4 months ago) by rmind
Branch: MAIN
CVS Tags: yamt-nfs-mp-base9, yamt-nfs-mp-base8, yamt-nfs-mp-base7, yamt-nfs-mp-base6, yamt-nfs-mp-base5, yamt-nfs-mp-base4, yamt-nfs-mp-base3, yamt-nfs-mp-base11, yamt-nfs-mp-base10, uebayasi-xip-base6, uebayasi-xip-base5, uebayasi-xip-base4, uebayasi-xip-base3, uebayasi-xip-base2, uebayasi-xip-base1, uebayasi-xip-base, nick-hppapmap-base4, nick-hppapmap-base3, nick-hppapmap-base, matt-premerge-20091211, matt-mips64-premerge-20101231, jymxensuspend-base, jruoho-x86intr-base
Branch point for: uebayasi-xip, rmind-uvmplock, jruoho-x86intr, bouyer-quota2
Changes since 1.71: +6 -11 lines
Diff to previous 1.71 (colored)

Reduce some differences between i386 and amd64.
Mainly cosmetical changes - no functional changes intended.

Revision 1.70.2.1 / (download) - annotate - [select for diffs], Mon Jan 19 13:16:16 2009 UTC (9 years, 6 months ago) by skrll
Branch: nick-hppapmap
Changes since 1.70: +2 -7 lines
Diff to previous 1.70 (colored)

Sync with HEAD.

Revision 1.69.40.3 / (download) - annotate - [select for diffs], Sat Jan 17 13:28:04 2009 UTC (9 years, 6 months ago) by mjf
Branch: mjf-devfs2
Changes since 1.69.40.2: +0 -5 lines
Diff to previous 1.69.40.2 (colored) to branchpoint 1.69 (colored) next main 1.70 (colored)

Sync with HEAD.

Revision 1.69.50.2 / (download) - annotate - [select for diffs], Sat Dec 13 01:13:14 2008 UTC (9 years, 8 months ago) by haad
Branch: haad-dm
Changes since 1.69.50.1: +2 -7 lines
Diff to previous 1.69.50.1 (colored) to branchpoint 1.69 (colored) next main 1.70 (colored)

Update haad-dm branch to haad-dm-base2.

Revision 1.71 / (download) - annotate - [select for diffs], Fri Nov 14 13:59:10 2008 UTC (9 years, 9 months ago) by ad
Branch: MAIN
CVS Tags: nick-hppapmap-base2, mjf-devfs2-base, haad-nbase2, haad-dm-base2, haad-dm-base, ad-audiomp2-base, ad-audiomp2
Branch point for: jym-xensuspend
Changes since 1.70: +2 -7 lines
Diff to previous 1.70 (colored)

Remove a compat ifdef that's not worth the hassle.

Revision 1.69.50.1 / (download) - annotate - [select for diffs], Sun Oct 19 22:15:48 2008 UTC (9 years, 9 months ago) by haad
Branch: haad-dm
Changes since 1.69: +47 -26 lines
Diff to previous 1.69 (colored)

Sync with HEAD.

Revision 1.69.46.1 / (download) - annotate - [select for diffs], Fri Oct 10 22:29:05 2008 UTC (9 years, 10 months ago) by skrll
Branch: wrstuden-revivesa
Changes since 1.69: +47 -26 lines
Diff to previous 1.69 (colored) next main 1.70 (colored)

Sync with HEAD.

Revision 1.69.40.2 / (download) - annotate - [select for diffs], Sun Sep 28 10:39:59 2008 UTC (9 years, 10 months ago) by mjf
Branch: mjf-devfs2
Changes since 1.69.40.1: +47 -26 lines
Diff to previous 1.69.40.1 (colored) to branchpoint 1.69 (colored)

Sync with HEAD.

Revision 1.70 / (download) - annotate - [select for diffs], Thu Sep 25 10:40:48 2008 UTC (9 years, 10 months ago) by ad
Branch: MAIN
CVS Tags: wrstuden-revivesa-base-4, netbsd-5-base, netbsd-5-2-RELEASE, netbsd-5-2-RC1, netbsd-5-2-3-RELEASE, netbsd-5-2-2-RELEASE, netbsd-5-2-1-RELEASE, netbsd-5-2, netbsd-5-1-RELEASE, netbsd-5-1-RC4, netbsd-5-1-RC3, netbsd-5-1-RC2, netbsd-5-1-RC1, netbsd-5-1-5-RELEASE, netbsd-5-1-4-RELEASE, netbsd-5-1-3-RELEASE, netbsd-5-1-2-RELEASE, netbsd-5-1-1-RELEASE, netbsd-5-1, netbsd-5-0-RELEASE, netbsd-5-0-RC4, netbsd-5-0-RC3, netbsd-5-0-RC2, netbsd-5-0-RC1, netbsd-5-0-2-RELEASE, netbsd-5-0-1-RELEASE, netbsd-5-0, netbsd-5, matt-nb5-pq3-base, matt-nb5-pq3, matt-nb5-mips64-u2-k2-k4-k7-k8-k9, matt-nb5-mips64-u1-k1-k5, matt-nb5-mips64-premerge-20101231, matt-nb5-mips64-premerge-20091211, matt-nb5-mips64-k15, matt-nb5-mips64, matt-nb4-mips64-k7-u2a-k9b, matt-mips64-base2, haad-dm-base1
Branch point for: nick-hppapmap
Changes since 1.69: +47 -26 lines
Diff to previous 1.69 (colored)

PR kern/39298 dd brings system to knees

Make /dev/zero and friends MPSAFE.

Revision 1.69.40.1 / (download) - annotate - [select for diffs], Sat Mar 29 16:17:56 2008 UTC (10 years, 4 months ago) by mjf
Branch: mjf-devfs2
Changes since 1.69: +17 -2 lines
Diff to previous 1.69 (colored)

- etc/devfsd.conf: Add some rules to give nodes like /dev/tty and
  		   /dev/null better default modes, i.e. 0666.

- sbin/init: Run devfsd -s before going to multiuser.

- sys/arch: Provide arm32, i386, sparc with a mem_init() function to request
  	    device nodes for /dev/null, /dev/zero, etc.

- sys/dev: Convert rnd, wd, agp, raid, cd, sd, wsdisplay, wskbd, wsmouse,
	   wsmux, tty, bpf, swap to devfs New World Order.

- sys/fs/devfs: Make the visibility attribute of device nodes configurable.
	        Also provide a function to mount a devfs on boot.

- sys/kern: Add a new boot flag, -n. This disables devfs support. Unless
	    the -n flag is specified the kernel will mount a devfs file
	    system on boot.

Revision 1.59.16.3 / (download) - annotate - [select for diffs], Mon Sep 3 14:26:42 2007 UTC (10 years, 11 months ago) by yamt
Branch: yamt-lazymbuf
Changes since 1.59.16.2: +9 -9 lines
Diff to previous 1.59.16.2 (colored) to branchpoint 1.59 (colored) next main 1.60 (colored)

sync with head.

Revision 1.68.2.1 / (download) - annotate - [select for diffs], Mon Mar 12 05:48:23 2007 UTC (11 years, 5 months ago) by rmind
Branch: yamt-idlelwp
Changes since 1.68: +9 -9 lines
Diff to previous 1.68 (colored) next main 1.69 (colored)

Sync with HEAD.

Revision 1.69 / (download) - annotate - [select for diffs], Sun Mar 4 05:59:57 2007 UTC (11 years, 5 months ago) by christos
Branch: MAIN
CVS Tags: yamt-x86pmap-base4, yamt-x86pmap-base3, yamt-x86pmap-base2, yamt-x86pmap-base, yamt-x86pmap, yamt-pf42-baseX, yamt-pf42-base4, yamt-pf42-base3, yamt-pf42-base2, yamt-pf42-base, yamt-pf42, yamt-nfs-mp-base2, yamt-nfs-mp-base, yamt-lazymbuf-base15, yamt-lazymbuf-base14, yamt-kmem-base3, yamt-kmem-base2, yamt-kmem-base, yamt-kmem, yamt-idlelwp-base8, wrstuden-revivesa-base-3, wrstuden-revivesa-base-2, wrstuden-revivesa-base-1, wrstuden-revivesa-base, vmlocking2-base3, vmlocking2-base2, vmlocking2-base1, vmlocking2, vmlocking-nbase, vmlocking-base, vmlocking, thorpej-atomic-base, thorpej-atomic, simonb-wapbl-nbase, simonb-wapbl-base, simonb-wapbl, reinoud-bufcleanup-nbase, reinoud-bufcleanup-base, reinoud-bufcleanup, ppcoea-renovation-base, ppcoea-renovation, nick-net80211-sync-base, nick-net80211-sync, nick-csl-alignment-base5, nick-csl-alignment-base, nick-csl-alignment, mjf-ufs-trans-base, mjf-ufs-trans, mjf-devfs-base, mjf-devfs, matt-mips64-base, matt-mips64, matt-armv6-prevmlocking, matt-armv6-nbase, matt-armv6-base, matt-armv6, keiichi-mipv6-nbase, keiichi-mipv6-base, keiichi-mipv6, jmcneill-pm-base, jmcneill-pm, jmcneill-base, hpcarm-cleanup-nbase, hpcarm-cleanup-base, hpcarm-cleanup, cube-autoconf-base, cube-autoconf, bouyer-xeni386-nbase, bouyer-xeni386-merge1, bouyer-xeni386-base, bouyer-xeni386, bouyer-xenamd64-base2, bouyer-xenamd64-base, bouyer-xenamd64, ad-socklock-base1
Branch point for: yamt-nfs-mp, wrstuden-revivesa, mjf-devfs2, haad-dm
Changes since 1.68: +9 -9 lines
Diff to previous 1.68 (colored)

Kill caddr_t; there will be some MI fallout, but it will be fixed shortly.

Revision 1.63.2.2 / (download) - annotate - [select for diffs], Fri Jan 12 01:00:50 2007 UTC (11 years, 7 months ago) by ad
Branch: newlock2
Changes since 1.63.2.1: +12 -3 lines
Diff to previous 1.63.2.1 (colored) to branchpoint 1.63 (colored) next main 1.64 (colored)

Sync with head.

Revision 1.59.16.2 / (download) - annotate - [select for diffs], Sat Dec 30 20:46:10 2006 UTC (11 years, 7 months ago) by yamt
Branch: yamt-lazymbuf
Changes since 1.59.16.1: +16 -36 lines
Diff to previous 1.59.16.1 (colored) to branchpoint 1.59 (colored)

sync with head.

Revision 1.68 / (download) - annotate - [select for diffs], Fri Dec 29 19:16:30 2006 UTC (11 years, 7 months ago) by ad
Branch: MAIN
CVS Tags: post-newlock2-merge, newlock2-nbase, newlock2-base, ad-audiomp-base, ad-audiomp
Branch point for: yamt-idlelwp
Changes since 1.67: +12 -3 lines
Diff to previous 1.67 (colored)

Enable /dev/io for COMPAT_FREEBSD.

Revision 1.63.4.2 / (download) - annotate - [select for diffs], Sun Dec 10 07:16:09 2006 UTC (11 years, 8 months ago) by yamt
Branch: yamt-splraiseipl
Changes since 1.63.4.1: +5 -36 lines
Diff to previous 1.63.4.1 (colored) to branchpoint 1.63 (colored) next main 1.64 (colored)

sync with head.

Revision 1.63.2.1 / (download) - annotate - [select for diffs], Sat Nov 18 21:29:19 2006 UTC (11 years, 8 months ago) by ad
Branch: newlock2
Changes since 1.63: +5 -34 lines
Diff to previous 1.63 (colored)

Sync with head.

Revision 1.67 / (download) - annotate - [select for diffs], Thu Nov 16 01:32:38 2006 UTC (11 years, 9 months ago) by christos
Branch: MAIN
CVS Tags: yamt-splraiseipl-base5, yamt-splraiseipl-base4, yamt-splraiseipl-base3, wrstuden-fixsa-newbase, wrstuden-fixsa-base-1, wrstuden-fixsa-base, wrstuden-fixsa, netbsd-4-base, netbsd-4-0-RELEASE, netbsd-4-0-RC5, netbsd-4-0-RC4, netbsd-4-0-RC3, netbsd-4-0-RC2, netbsd-4-0-RC1, netbsd-4-0-1-RELEASE, netbsd-4-0, netbsd-4, matt-nb4-arm-base, matt-nb4-arm
Changes since 1.66: +4 -4 lines
Diff to previous 1.66 (colored)

__unused removal on arguments; approved by core.

Revision 1.66 / (download) - annotate - [select for diffs], Mon Oct 30 00:41:26 2006 UTC (11 years, 9 months ago) by elad
Branch: MAIN
Changes since 1.65: +3 -34 lines
Diff to previous 1.65 (colored)

Move i386/amd64 common code (check_pa_acc()) to x86.

I didn't know what header to put the prototype in, so it's both in
i386/mem.c and amd64/mem.c; probably can be moved later.

Tested on amd64, assumed working on i386. :)

yamt@ okay

Revision 1.63.4.1 / (download) - annotate - [select for diffs], Sun Oct 22 06:04:44 2006 UTC (11 years, 9 months ago) by yamt
Branch: yamt-splraiseipl
Changes since 1.63: +7 -5 lines
Diff to previous 1.63 (colored)

sync with head

Revision 1.65 / (download) - annotate - [select for diffs], Thu Oct 12 04:31:03 2006 UTC (11 years, 10 months ago) by thorpej
Branch: MAIN
CVS Tags: yamt-splraiseipl-base2
Changes since 1.64: +4 -2 lines
Diff to previous 1.64 (colored)

mmopen(): Consume the flag argument even if COMPAT_10 is not defined.

Revision 1.64 / (download) - annotate - [select for diffs], Thu Oct 12 01:30:42 2006 UTC (11 years, 10 months ago) by christos
Branch: MAIN
Changes since 1.63: +5 -5 lines
Diff to previous 1.63 (colored)

- sprinkle __unused on function decls.
- fix a couple of unused bugs
- no more -Wno-unused for i386

Revision 1.62.6.1 / (download) - annotate - [select for diffs], Thu Sep 14 12:31:10 2006 UTC (11 years, 11 months ago) by yamt
Branch: yamt-pdpolicy
Changes since 1.62: +3 -3 lines
Diff to previous 1.62 (colored) next main 1.63 (colored)

sync with head.

Revision 1.62.2.1 / (download) - annotate - [select for diffs], Sat Sep 9 02:40:07 2006 UTC (11 years, 11 months ago) by rpaulo
Branch: rpaulo-netinet-merge-pcb
Changes since 1.62: +3 -3 lines
Diff to previous 1.62 (colored) next main 1.63 (colored)

sync with head

Revision 1.63 / (download) - annotate - [select for diffs], Sun Sep 3 21:05:01 2006 UTC (11 years, 11 months ago) by christos
Branch: MAIN
CVS Tags: yamt-splraiseipl-base, yamt-pdpolicy-base9, rpaulo-netinet-merge-pcb-base
Branch point for: yamt-splraiseipl, newlock2
Changes since 1.62: +3 -3 lines
Diff to previous 1.62 (colored)

add missing initializers.

Revision 1.59.16.1 / (download) - annotate - [select for diffs], Wed Jun 21 14:52:18 2006 UTC (12 years, 1 month ago) by yamt
Branch: yamt-lazymbuf
Changes since 1.59: +47 -19 lines
Diff to previous 1.59 (colored)

sync with head.

Revision 1.61.2.1 / (download) - annotate - [select for diffs], Wed Feb 1 14:51:28 2006 UTC (12 years, 6 months ago) by yamt
Branch: yamt-uio_vmspace
Changes since 1.61: +44 -7 lines
Diff to previous 1.61 (colored) next main 1.62 (colored)

sync with head.

Revision 1.62 / (download) - annotate - [select for diffs], Thu Jan 19 13:34:11 2006 UTC (12 years, 6 months ago) by yamt
Branch: MAIN
CVS Tags: yamt-uio_vmspace-base5, yamt-pdpolicy-base8, yamt-pdpolicy-base7, yamt-pdpolicy-base6, yamt-pdpolicy-base5, yamt-pdpolicy-base4, yamt-pdpolicy-base3, yamt-pdpolicy-base2, yamt-pdpolicy-base, simonb-timecounters-base, simonb-timecounters, simonb-timcounters-final, peter-altq-base, peter-altq, gdamore-uart-base, gdamore-uart, elad-kernelauth-base, elad-kernelauth, chap-midi-nbase, chap-midi-base, chap-midi, abandoned-netbsd-4-base, abandoned-netbsd-4
Branch point for: yamt-pdpolicy, rpaulo-netinet-merge-pcb
Changes since 1.61: +44 -7 lines
Diff to previous 1.61 (colored)

- mmrw, mmmmap: reject accesses to unknown pa if securelevel > 0.
- mmmmap: remove physmem check.  it was wrong and superseded by the above.
- mmmmap: remove suser() check.  there's no point to limit the operation
  to root here, given that the almost same thing can be done by
  normal read and write.

Revision 1.61 / (download) - annotate - [select for diffs], Sun Dec 25 18:46:27 2005 UTC (12 years, 7 months ago) by rpaulo
Branch: MAIN
Branch point for: yamt-uio_vmspace
Changes since 1.60: +5 -14 lines
Diff to previous 1.60 (colored)

ANSIfy.

Revision 1.60 / (download) - annotate - [select for diffs], Sun Dec 11 12:17:41 2005 UTC (12 years, 8 months ago) by christos
Branch: MAIN
Changes since 1.59: +4 -4 lines
Diff to previous 1.59 (colored)

merge ktrace-lwp.

Revision 1.58.2.4 / (download) - annotate - [select for diffs], Tue Sep 21 13:16:44 2004 UTC (13 years, 10 months ago) by skrll
Branch: ktrace-lwp
Changes since 1.58.2.3: +4 -4 lines
Diff to previous 1.58.2.3 (colored) next main 1.59 (colored)

Fix the sync with head I botched.

Revision 1.58.2.3 / (download) - annotate - [select for diffs], Sat Sep 18 14:35:28 2004 UTC (13 years, 11 months ago) by skrll
Branch: ktrace-lwp
Changes since 1.58.2.2: +4 -4 lines
Diff to previous 1.58.2.2 (colored)

Sync with HEAD.

Revision 1.58.2.2 / (download) - annotate - [select for diffs], Tue Aug 3 10:35:50 2004 UTC (14 years ago) by skrll
Branch: ktrace-lwp
Changes since 1.58.2.1: +35 -3 lines
Diff to previous 1.58.2.1 (colored)

Sync with HEAD

Revision 1.59 / (download) - annotate - [select for diffs], Thu Aug 7 16:27:55 2003 UTC (15 years ago) by agc
Branch: MAIN
CVS Tags: yamt-vop-base3, yamt-vop-base2, yamt-vop-base, yamt-vop, yamt-readahead-pervnode, yamt-readahead-perfile, yamt-readahead-base3, yamt-readahead-base2, yamt-readahead-base, yamt-readahead, yamt-km-base4, yamt-km-base3, yamt-km-base2, yamt-km-base, yamt-km, thorpej-vnode-attr-base, thorpej-vnode-attr, netbsd-3-base, netbsd-3-1-RELEASE, netbsd-3-1-RC4, netbsd-3-1-RC3, netbsd-3-1-RC2, netbsd-3-1-RC1, netbsd-3-1-1-RELEASE, netbsd-3-1, netbsd-3-0-RELEASE, netbsd-3-0-RC6, netbsd-3-0-RC5, netbsd-3-0-RC4, netbsd-3-0-RC3, netbsd-3-0-RC2, netbsd-3-0-RC1, netbsd-3-0-3-RELEASE, netbsd-3-0-2-RELEASE, netbsd-3-0-1-RELEASE, netbsd-3-0, netbsd-3, netbsd-2-base, netbsd-2-1-RELEASE, netbsd-2-1-RC6, netbsd-2-1-RC5, netbsd-2-1-RC4, netbsd-2-1-RC3, netbsd-2-1-RC2, netbsd-2-1-RC1, netbsd-2-1, netbsd-2-0-base, netbsd-2-0-RELEASE, netbsd-2-0-RC5, netbsd-2-0-RC4, netbsd-2-0-RC3, netbsd-2-0-RC2, netbsd-2-0-RC1, netbsd-2-0-3-RELEASE, netbsd-2-0-2-RELEASE, netbsd-2-0-1-RELEASE, netbsd-2-0, netbsd-2, ktrace-lwp-base, kent-audio2-base, kent-audio2, kent-audio1-beforemerge, kent-audio1-base, kent-audio1
Branch point for: yamt-lazymbuf
Changes since 1.58: +35 -3 lines
Diff to previous 1.58 (colored)

Move UCB-licensed code from 4-clause to 3-clause licence.

Patches provided by Joel Baker in PR 22364, verified by myself.

Revision 1.58.2.1 / (download) - annotate - [select for diffs], Wed Jul 2 15:25:22 2003 UTC (15 years, 1 month ago) by darrenr
Branch: ktrace-lwp
Changes since 1.58: +4 -4 lines
Diff to previous 1.58 (colored)

Apply the aborted ktrace-lwp changes to a specific branch.  This is just for
others to review, I'm concerned that patch fuziness may have resulted in some
errant code being generated but I'll look at that later by comparing the diff
from the base to the branch with the file I attempt to apply to it.  This will,
at the very least, put the changes in a better context for others to review
them and attempt to tinker with removing passing of 'struct lwp' through
the kernel.

Revision 1.58 / (download) - annotate - [select for diffs], Sun Jun 29 22:28:25 2003 UTC (15 years, 1 month ago) by fvdl
Branch: MAIN
Branch point for: ktrace-lwp
Changes since 1.57: +2 -2 lines
Diff to previous 1.57 (colored)

Back out the lwp/ktrace changes. They contained a lot of colateral damage,
and need to be examined and discussed more.

Revision 1.57 / (download) - annotate - [select for diffs], Sat Jun 28 14:20:55 2003 UTC (15 years, 1 month ago) by darrenr
Branch: MAIN
Changes since 1.56: +4 -4 lines
Diff to previous 1.56 (colored)

Pass lwp pointers throughtout the kernel, as required, so that the lwpid can
be inserted into ktrace records.  The general change has been to replace
"struct proc *" with "struct lwp *" in various function prototypes, pass
the lwp through and use l_proc to get the process pointer when needed.

Bump the kernel rev up to 1.6V

Revision 1.56 / (download) - annotate - [select for diffs], Wed Feb 26 21:28:23 2003 UTC (15 years, 5 months ago) by fvdl
Branch: MAIN
Changes since 1.55: +3 -3 lines
Diff to previous 1.55 (colored)

Adapt for move of files to arch/x86.

Revision 1.55 / (download) - annotate - [select for diffs], Fri Jan 17 23:10:31 2003 UTC (15 years, 7 months ago) by thorpej
Branch: MAIN
Changes since 1.54: +3 -3 lines
Diff to previous 1.54 (colored)

Merge the nathanw_sa branch.

Revision 1.47.4.10 / (download) - annotate - [select for diffs], Mon Nov 11 21:59:09 2002 UTC (15 years, 9 months ago) by nathanw
Branch: nathanw_sa
CVS Tags: nathanw_sa_end
Changes since 1.47.4.9: +1 -1 lines
Diff to previous 1.47.4.9 (colored) to branchpoint 1.47 (colored) next main 1.48 (colored)

Catch up to -current

Revision 1.54 / (download) - annotate - [select for diffs], Wed Oct 23 09:11:21 2002 UTC (15 years, 9 months ago) by jdolecek
Branch: MAIN
CVS Tags: nathanw_sa_before_merge, nathanw_sa_base, kqueue-aftermerge, gmcgarry_ucred_base, gmcgarry_ucred, gmcgarry_ctxsw_base, gmcgarry_ctxsw, fvdl_fs64_base
Changes since 1.53: +3 -3 lines
Diff to previous 1.53 (colored)

merge kqueue branch into -current

kqueue provides a stateful and efficient event notification framework
currently supported events include socket, file, directory, fifo,
pipe, tty and device changes, and monitoring of processes and signals

kqueue is supported by all writable filesystems in NetBSD tree
(with exception of Coda) and all device drivers supporting poll(2)

based on work done by Jonathan Lemon for FreeBSD
initial NetBSD port done by Luke Mewburn and Jason Thorpe

Revision 1.47.4.9 / (download) - annotate - [select for diffs], Fri Oct 18 02:37:46 2002 UTC (15 years, 10 months ago) by nathanw
Branch: nathanw_sa
Changes since 1.47.4.8: +2 -1 lines
Diff to previous 1.47.4.8 (colored) to branchpoint 1.47 (colored)

Catch up to -current.

Revision 1.48.4.4 / (download) - annotate - [select for diffs], Thu Oct 10 18:33:23 2002 UTC (15 years, 10 months ago) by jdolecek
Branch: kqueue
Changes since 1.48.4.3: +16 -14 lines
Diff to previous 1.48.4.3 (colored) to branchpoint 1.48 (colored) next main 1.49 (colored)

sync kqueue with -current; this includes merge of gehenna-devsw branch,
merge of i386 MP branch, and part of autoconf rototil work

Revision 1.53 / (download) - annotate - [select for diffs], Tue Oct 1 12:56:57 2002 UTC (15 years, 10 months ago) by fvdl
Branch: MAIN
CVS Tags: kqueue-beforemerge, kqueue-base
Changes since 1.52: +2 -1 lines
Diff to previous 1.52 (colored)

Merge Bill Sommerfeld's i386 MP branch. This code has some known
caveats, but works quite well in a lot of MP cases, and all
UP cases that I have tested. Parts of this will hopefully be
reworked in the not-too-distant future.

Revision 1.47.4.8 / (download) - annotate - [select for diffs], Tue Sep 17 21:15:08 2002 UTC (15 years, 11 months ago) by nathanw
Branch: nathanw_sa
Changes since 1.47.4.7: +15 -14 lines
Diff to previous 1.47.4.7 (colored) to branchpoint 1.47 (colored)

Catch up to -current.

Revision 1.52 / (download) - annotate - [select for diffs], Fri Sep 6 13:18:43 2002 UTC (15 years, 11 months ago) by gehenna
Branch: MAIN
Changes since 1.51: +15 -14 lines
Diff to previous 1.51 (colored)

Merge the gehenna-devsw branch into the trunk.

This merge changes the device switch tables from static array to
dynamically generated by config(8).

- All device switches is defined as a constant structure in device drivers.

- The new grammer ``device-major'' is introduced to ``files''.

	device-major <prefix> char <num> [block <num>] [<rules>]

- All device major numbers must be listed up in port dependent majors.<arch>
  by using this grammer.

- Added the new naming convention.
  The name of the device switch must be <prefix>_[bc]devsw for auto-generation
  of device switch tables.

- The backward compatibility of loading block/character device
  switch by LKM framework is broken. This is necessary to convert
  from block/character device major to device name in runtime and vice versa.

- The restriction to assign device major by LKM is completely removed.
  We don't need to reserve LKM entries for dynamic loading of device switch.

- In compile time, device major numbers list is packed into the kernel and
  the LKM framework will refer it to assign device major number dynamically.

Revision 1.47.4.7 / (download) - annotate - [select for diffs], Fri Jul 12 01:39:31 2002 UTC (16 years, 1 month ago) by nathanw
Branch: nathanw_sa
Changes since 1.47.4.6: +2 -3 lines
Diff to previous 1.47.4.6 (colored) to branchpoint 1.47 (colored)

No longer need to pull in lwp.h; proc.h pulls it in for us.

Revision 1.47.4.6 / (download) - annotate - [select for diffs], Mon Jun 24 22:05:01 2002 UTC (16 years, 1 month ago) by nathanw
Branch: nathanw_sa
Changes since 1.47.4.5: +4 -4 lines
Diff to previous 1.47.4.5 (colored) to branchpoint 1.47 (colored)

Curproc->curlwp renaming.

Change uses of "curproc->l_proc" back to "curproc", which is more like the
original use. Bare uses of "curproc" are now "curlwp".

"curproc" is now #defined in proc.h as ((curlwp) ? (curlwp)->l_proc) : NULL)
so that it is always safe to reference curproc (*de*referencing curproc
is another story, but that's always been true).

Revision 1.51.10.1 / (download) - annotate - [select for diffs], Fri May 17 13:35:32 2002 UTC (16 years, 3 months ago) by gehenna
Branch: gehenna-devsw
Changes since 1.51: +15 -14 lines
Diff to previous 1.51 (colored) next main 1.52 (colored)

Add the character device switch.

Revision 1.48.4.3 / (download) - annotate - [select for diffs], Sat Mar 16 15:58:15 2002 UTC (16 years, 5 months ago) by jdolecek
Branch: kqueue
Changes since 1.48.4.2: +10 -15 lines
Diff to previous 1.48.4.2 (colored) to branchpoint 1.48 (colored)

Catch up with -current.

Revision 1.47.4.5 / (download) - annotate - [select for diffs], Thu Feb 28 04:10:18 2002 UTC (16 years, 5 months ago) by nathanw
Branch: nathanw_sa
Changes since 1.47.4.4: +10 -15 lines
Diff to previous 1.47.4.4 (colored) to branchpoint 1.47 (colored)

Catch up to -current.

Revision 1.51.8.2 / (download) - annotate - [select for diffs], Wed Feb 27 01:20:54 2002 UTC (16 years, 5 months ago) by christos
Branch: sommerfeld_i386mp_1
Changes since 1.51.8.1: +217 -0 lines
Diff to previous 1.51.8.1 (colored) to branchpoint 1.51 (colored) next main 1.52 (colored)

- Use DEV_ constants, instead of documenting the numbers!
- Delete cdev_decl(mm); where appropriate, and other hand-crufting [hi powerpc!]

Revision 1.51.8.1, Wed Feb 27 01:20:53 2002 UTC (16 years, 5 months ago) by christos
Branch: sommerfeld_i386mp_1
Changes since 1.51: +0 -217 lines
FILE REMOVED

file mem.c was added on branch sommerfeld_i386mp_1 on 2002-02-27 01:20:54 +0000

Revision 1.51 / (download) - annotate - [select for diffs], Wed Feb 27 01:20:53 2002 UTC (16 years, 5 months ago) by christos
Branch: MAIN
CVS Tags: sommerfeld_i386mpnext, sommerfeld_i386mpbase_1, newlock-base, newlock, netbsd-1-6-base, netbsd-1-6-RELEASE, netbsd-1-6-RC3, netbsd-1-6-RC2, netbsd-1-6-RC1, netbsd-1-6-PATCH002-RELEASE, netbsd-1-6-PATCH002-RC4, netbsd-1-6-PATCH002-RC3, netbsd-1-6-PATCH002-RC2, netbsd-1-6-PATCH002-RC1, netbsd-1-6-PATCH002, netbsd-1-6-PATCH001-RELEASE, netbsd-1-6-PATCH001-RC3, netbsd-1-6-PATCH001-RC2, netbsd-1-6-PATCH001-RC1, netbsd-1-6-PATCH001, netbsd-1-6, ifpoll-base, i386mp_plus16_stable, gehenna-devsw-base, eeh-devprop-base, eeh-devprop
Branch point for: sommerfeld_i386mp_1, gehenna-devsw
Changes since 1.50: +10 -15 lines
Diff to previous 1.50 (colored)

- Use DEV_ constants, instead of documenting the numbers!
- Delete cdev_decl(mm); where appropriate, and other hand-crufting [hi powerpc!]

Revision 1.48.4.2 / (download) - annotate - [select for diffs], Thu Jan 10 19:44:44 2002 UTC (16 years, 7 months ago) by thorpej
Branch: kqueue
Changes since 1.48.4.1: +6 -3 lines
Diff to previous 1.48.4.1 (colored) to branchpoint 1.48 (colored)

Sync kqueue branch with -current.

Revision 1.47.4.4 / (download) - annotate - [select for diffs], Tue Jan 8 00:25:26 2002 UTC (16 years, 7 months ago) by nathanw
Branch: nathanw_sa
Changes since 1.47.4.3: +6 -3 lines
Diff to previous 1.47.4.3 (colored) to branchpoint 1.47 (colored)

Catch up to -current.

Revision 1.50 / (download) - annotate - [select for diffs], Thu Nov 15 07:03:30 2001 UTC (16 years, 9 months ago) by lukem
Branch: MAIN
Changes since 1.49: +6 -3 lines
Diff to previous 1.49 (colored)

add RCSID

Revision 1.48.6.2 / (download) - annotate - [select for diffs], Mon Oct 1 12:39:51 2001 UTC (16 years, 10 months ago) by fvdl
Branch: thorpej-devvp
Changes since 1.48.6.1: +3 -3 lines
Diff to previous 1.48.6.1 (colored) to branchpoint 1.48 (colored) next main 1.49 (colored)

Catch up with -current.

Revision 1.47.4.3 / (download) - annotate - [select for diffs], Fri Sep 21 22:35:06 2001 UTC (16 years, 10 months ago) by nathanw
Branch: nathanw_sa
Changes since 1.47.4.2: +3 -3 lines
Diff to previous 1.47.4.2 (colored) to branchpoint 1.47 (colored)

Catch up to -current.

Revision 1.48.4.1 / (download) - annotate - [select for diffs], Thu Sep 13 01:13:46 2001 UTC (16 years, 11 months ago) by thorpej
Branch: kqueue
Changes since 1.48: +3 -3 lines
Diff to previous 1.48 (colored)

Update the kqueue branch to HEAD.

Revision 1.49 / (download) - annotate - [select for diffs], Mon Sep 10 21:19:15 2001 UTC (16 years, 11 months ago) by chris
Branch: MAIN
CVS Tags: thorpej-mips-cache-base, thorpej-mips-cache, thorpej-devvp-base3, thorpej-devvp-base2, pre-chs-ubcperf, post-chs-ubcperf
Changes since 1.48: +3 -3 lines
Diff to previous 1.48 (colored)

Update pmap_update to now take the updated pmap as an argument.
This will allow improvements to the pmaps so that they can more easily defer expensive operations, eg tlb/cache flush, til the last possible moment.

Currently this is a no-op on most platforms, so they should see no difference.

Reviewed by Jason.

Revision 1.48.6.1 / (download) - annotate - [select for diffs], Fri Sep 7 04:45:20 2001 UTC (16 years, 11 months ago) by thorpej
Branch: thorpej-devvp
Changes since 1.48: +17 -14 lines
Diff to previous 1.48 (colored)

Commit my "devvp" changes to the thorpej-devvp branch.  This
replaces the use of dev_t in most places with a struct vnode *.

This will form the basic infrastructure for real cloning device
support (besides being architecurally cleaner -- it'll be good
to get away from using numbers to represent objects).

Revision 1.47.4.2 / (download) - annotate - [select for diffs], Thu Jun 21 19:25:34 2001 UTC (17 years, 1 month ago) by nathanw
Branch: nathanw_sa
Changes since 1.47.4.1: +3 -1 lines
Diff to previous 1.47.4.1 (colored) to branchpoint 1.47 (colored)

Catch up to -current.

Revision 1.48 / (download) - annotate - [select for diffs], Tue Apr 24 04:30:58 2001 UTC (17 years, 3 months ago) by thorpej
Branch: MAIN
CVS Tags: thorpej_scsipi_beforemerge, thorpej-devvp-base
Branch point for: thorpej-devvp, kqueue
Changes since 1.47: +3 -1 lines
Diff to previous 1.47 (colored)

Sprinkle pmap_update() calls after calls to:
- pmap_enter()
- pmap_remove()
- pmap_protect()
- pmap_kenter_pa()
- pmap_kremove()
as described in pmap(9).

These calls are relatively conservative.  It may be possible to
optimize these a little more.

Revision 1.47.4.1 / (download) - annotate - [select for diffs], Mon Mar 5 22:49:13 2001 UTC (17 years, 5 months ago) by nathanw
Branch: nathanw_sa
Changes since 1.47: +4 -3 lines
Diff to previous 1.47 (colored)

Initial commit of scheduler activations and lightweight process support.

Revision 1.42.2.2 / (download) - annotate - [select for diffs], Wed Nov 22 16:00:21 2000 UTC (17 years, 8 months ago) by bouyer
Branch: thorpej_scsipi
Changes since 1.42.2.1: +6 -6 lines
Diff to previous 1.42.2.1 (colored) to branchpoint 1.42 (colored) next main 1.43 (colored)

Sync with HEAD.

Revision 1.42.2.1 / (download) - annotate - [select for diffs], Mon Nov 20 20:09:23 2000 UTC (17 years, 8 months ago) by bouyer
Branch: thorpej_scsipi
Changes since 1.42: +22 -27 lines
Diff to previous 1.42 (colored)

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.

Revision 1.47 / (download) - annotate - [select for diffs], Tue Nov 14 22:55:06 2000 UTC (17 years, 9 months ago) by thorpej
Branch: MAIN
CVS Tags: thorpej_scsipi_nbase, thorpej_scsipi_base
Branch point for: nathanw_sa
Changes since 1.46: +6 -6 lines
Diff to previous 1.46 (colored)

NBPG -> PAGE_SIZE

Revision 1.44.6.1 / (download) - annotate - [select for diffs], Fri Jun 30 16:27:26 2000 UTC (18 years, 1 month ago) by simonb
Branch: netbsd-1-5
CVS Tags: netbsd-1-5-RELEASE, netbsd-1-5-PATCH003, netbsd-1-5-PATCH002, netbsd-1-5-PATCH001, netbsd-1-5-BETA2, netbsd-1-5-BETA, netbsd-1-5-ALPHA2
Changes since 1.44: +18 -21 lines
Diff to previous 1.44 (colored) next main 1.45 (colored)

Pull up mmap paddr_t/off_t changes from trunk.

Revision 1.46 / (download) - annotate - [select for diffs], Thu Jun 29 08:44:52 2000 UTC (18 years, 1 month ago) by mrg
Branch: MAIN
Changes since 1.45: +1 -3 lines
Diff to previous 1.45 (colored)

remove include of <vm/vm.h>. <vm/vm.h> -> <uvm/uvm_extern.h>

Revision 1.45 / (download) - annotate - [select for diffs], Mon Jun 26 04:55:44 2000 UTC (18 years, 1 month ago) by simonb
Branch: MAIN
Changes since 1.44: +18 -21 lines
Diff to previous 1.44 (colored)

Change the kernel mmap interface so that the offset to map is an
"off_t" and the return value is a "paddr_t" to allow mappings
at offsets past 2^31 bytes.  Somewhat inspired by FreeBSD, which
only changed the offset to a "vm_offset_t".

Includes updates for the i386, pc532 and sh3 mmmmap from Jason Thorpe.

Revision 1.42.8.1 / (download) - annotate - [select for diffs], Mon Dec 27 18:32:20 1999 UTC (18 years, 7 months ago) by wrstuden
Branch: wrstuden-devbsize
Changes since 1.42: +5 -5 lines
Diff to previous 1.42 (colored) next main 1.43 (colored)

Pull up to last week's -current.

Revision 1.44 / (download) - annotate - [select for diffs], Sat Dec 4 21:20:31 1999 UTC (18 years, 8 months ago) by ragge
Branch: MAIN
CVS Tags: wrstuden-devbsize-base, wrstuden-devbsize-19991221, sommerfeld_i386mpbase_20000422, sommerfeld_i386mp_houseclean, netbsd-1-5-base, minoura-xpg4dl-base, minoura-xpg4dl, chs-ubc2-newbase
Branch point for: netbsd-1-5
Changes since 1.43: +4 -4 lines
Diff to previous 1.43 (colored)

CL* discarding.

Revision 1.42.4.1 / (download) - annotate - [select for diffs], Mon Nov 15 00:38:02 1999 UTC (18 years, 9 months ago) by fvdl
Branch: fvdl-softdep
Changes since 1.42: +2 -2 lines
Diff to previous 1.42 (colored) next main 1.43 (colored)

Sync with -current

Revision 1.43 / (download) - annotate - [select for diffs], Sat Nov 13 00:30:34 1999 UTC (18 years, 9 months ago) by thorpej
Branch: MAIN
CVS Tags: fvdl-softdep-base
Changes since 1.42: +2 -2 lines
Diff to previous 1.42 (colored)

Update for pmap_enter() API change.  No functional difference.

Revision 1.41.4.1 / (download) - annotate - [select for diffs], Mon Jun 21 00:49:59 1999 UTC (19 years, 2 months ago) by thorpej
Branch: chs-ubc2
Changes since 1.41: +1 -2 lines
Diff to previous 1.41 (colored) next main 1.42 (colored)

Sync w/ -current.

Revision 1.42 / (download) - annotate - [select for diffs], Thu Jun 17 00:12:11 1999 UTC (19 years, 2 months ago) by thorpej
Branch: MAIN
CVS Tags: comdex-fall-1999-base, comdex-fall-1999, chs-ubc2-base
Branch point for: wrstuden-devbsize, thorpej_scsipi, fvdl-softdep
Changes since 1.41: +1 -2 lines
Diff to previous 1.41 (colored)

PMAP_NEW is no longer optional on the i386; the old pmap's page table
allocation strategy no longer works at all.  Move pmap.new.* to pmap.*.

To read the revision history of PMAP_NEW up until this merge, use cvs
rlog of the old pmap.new.* files.

Revision 1.41 / (download) - annotate - [select for diffs], Sat Mar 27 00:30:07 1999 UTC (19 years, 4 months ago) by mycroft
Branch: MAIN
CVS Tags: netbsd-1-4-base, netbsd-1-4-RELEASE, netbsd-1-4-PATCH003, netbsd-1-4-PATCH002, netbsd-1-4-PATCH001, netbsd-1-4, kame_14_19990705, kame_14_19990628, kame_141_19991130, kame
Branch point for: chs-ubc2
Changes since 1.40: +2 -2 lines
Diff to previous 1.40 (colored)

Oops; vm_offset_t -> vaddr_t.

Revision 1.40 / (download) - annotate - [select for diffs], Fri Mar 26 23:41:30 1999 UTC (19 years, 4 months ago) by mycroft
Branch: MAIN
Changes since 1.39: +6 -15 lines
Diff to previous 1.39 (colored)

Changes for modified pmap_enter() API:
* Map the message buffer with access_type = VM_PROT_READ|VM_PROT_WRITE `just
  because'.
* Map the file system buffers with access_type = VM_PROT_READ|VM_PROT_WRITE to
  avoid possible problems with pagemove().
* Do not use VM_PROT_EXEC with either of the above.
* Map pages for /dev/mem with access_type = prot.  Also, DO NOT use
  pmap_kenter() for this, as we DO NOT want to lose modification information.
* Map pages in dumpsys() with VM_PROT_READ.
* Map pages in m68k mappedcopyin()/mappedcopyout() and writeback() with
  access_type = prot.
* For now, bus_dma*(), pmap_map(), vmapbuf(), and similar functions still use
  access_type = 0.  This should probably be revisited.

Revision 1.39 / (download) - annotate - [select for diffs], Wed Mar 24 05:51:01 1999 UTC (19 years, 4 months ago) by mrg
Branch: MAIN
Changes since 1.38: +2 -15 lines
Diff to previous 1.38 (colored)

completely remove Mach VM support.  all that is left is the all the
header files as UVM still uses (most of) these.

Revision 1.32.8.1 / (download) - annotate - [select for diffs], Mon Nov 23 03:12:54 1998 UTC (19 years, 8 months ago) by cgd
Branch: netbsd-1-3
CVS Tags: netbsd-1-3-PATCH003-CANDIDATE2, netbsd-1-3-PATCH003-CANDIDATE1, netbsd-1-3-PATCH003-CANDIDATE0, netbsd-1-3-PATCH003
Changes since 1.32: +3 -3 lines
Diff to previous 1.32 (colored) next main 1.33 (colored)

Fix many real and potential security problems with character device
driver mmap routines that did not properly bounds check offsets.
See NetBSD security advisory NetBSD-SA1998-005 for details.  Done
as a patch because it's large, and a fair number of bits are different
in -current.  (mrg)

Revision 1.38 / (download) - annotate - [select for diffs], Thu Nov 19 15:38:22 1998 UTC (19 years, 9 months ago) by mrg
Branch: MAIN
CVS Tags: kenh-if-detach-base, kenh-if-detach
Changes since 1.37: +4 -4 lines
Diff to previous 1.37 (colored)

fix problems in many d_mmap routines:
	- returned EOPNOTSUPP rather than -1.
	- no check for negative offset.
many of these fix potential security problems in these drivers.


XXX XXX XXX
the d_mmap cdev routine should be changed to have a prototype like:
	paddr_t (*d_mmap) __P((dev_t, off_t, int));

by someone!

Revision 1.37 / (download) - annotate - [select for diffs], Thu Aug 13 21:36:03 1998 UTC (20 years ago) by thorpej
Branch: MAIN
CVS Tags: chs-ubc-base, chs-ubc
Changes since 1.36: +7 -7 lines
Diff to previous 1.36 (colored)

vm_offset_t -> {vaddr_t,paddr_t}, vm_size_t -> vsize_t

Revision 1.35.2.2 / (download) - annotate - [select for diffs], Sat Aug 8 03:06:39 1998 UTC (20 years ago) by eeh
Branch: eeh-paddr_t
Changes since 1.35.2.1: +2 -2 lines
Diff to previous 1.35.2.1 (colored) to branchpoint 1.35 (colored) next main 1.36 (colored)

Revert cdevsw mmap routines to return int.

Revision 1.35.2.1 / (download) - annotate - [select for diffs], Fri Aug 7 12:39:48 1998 UTC (20 years ago) by drochner
Branch: eeh-paddr_t
Changes since 1.35: +2 -2 lines
Diff to previous 1.35 (colored)

make it compile in paddr_t world

Revision 1.36 / (download) - annotate - [select for diffs], Wed Aug 5 02:45:09 1998 UTC (20 years ago) by perry
Branch: MAIN
Changes since 1.35: +2 -2 lines
Diff to previous 1.35 (colored)

bzero->memset, bcopy->memcpy, bcmp->memcmp

Revision 1.35 / (download) - annotate - [select for diffs], Sun Jul 5 08:49:35 1998 UTC (20 years, 1 month ago) by jonathan
Branch: MAIN
CVS Tags: eeh-paddr_t-base
Branch point for: eeh-paddr_t
Changes since 1.34: +2 -1 lines
Diff to previous 1.34 (colored)

* defopt COMPAT_{09,10,11,12,13} and COMPAT_NOMID.
TODO: revisit interaction between native compat and emul compat usage.

Revision 1.34 / (download) - annotate - [select for diffs], Tue Feb 10 14:11:07 1998 UTC (20 years, 6 months ago) by mrg
Branch: MAIN
Changes since 1.33: +4 -1 lines
Diff to previous 1.33 (colored)

- add defopt's for UVM, UVMHIST and PMAP_NEW.
- remove unnecessary UVMHIST_DECL's.

Revision 1.33 / (download) - annotate - [select for diffs], Fri Feb 6 07:21:57 1998 UTC (20 years, 6 months ago) by mrg
Branch: MAIN
Changes since 1.32: +26 -1 lines
Diff to previous 1.32 (colored)

add the i386 MD portions for UVM.

Revision 1.32 / (download) - annotate - [select for diffs], Mon Mar 24 21:16:59 1997 UTC (21 years, 4 months ago) by mycroft
Branch: MAIN
CVS Tags: thorpej-signal-base, thorpej-signal, netbsd-1-3-base, netbsd-1-3-RELEASE, netbsd-1-3-PATCH002, netbsd-1-3-PATCH001, netbsd-1-3-BETA, marc-pcmcia-bp, marc-pcmcia-base, marc-pcmcia, bouyer-scsipi
Branch point for: netbsd-1-3
Changes since 1.31: +8 -14 lines
Diff to previous 1.31 (colored)

Optimize the case of writing to /dev/zero, and clean up the
surrounding code a bit.  Partly suggested by gwr.

Revision 1.31 / (download) - annotate - [select for diffs], Fri May 3 19:42:19 1996 UTC (22 years, 3 months ago) by christos
Branch: MAIN
CVS Tags: thorpej-setroot, netbsd-1-2-base, netbsd-1-2-RELEASE, netbsd-1-2-PATCH001, netbsd-1-2-BETA, netbsd-1-2, mrg-vm-swap, is-newarp-before-merge, is-newarp-base, is-newarp
Changes since 1.30: +6 -5 lines
Diff to previous 1.30 (colored)

Prototype and gcc -Wall cleanups

Revision 1.30 / (download) - annotate - [select for diffs], Wed Oct 11 04:19:46 1995 UTC (22 years, 10 months ago) by mycroft
Branch: MAIN
CVS Tags: netbsd-1-1-base, netbsd-1-1-RELEASE, netbsd-1-1-PATCH001, netbsd-1-1
Changes since 1.29: +4 -1 lines
Diff to previous 1.29 (colored)

Various changes from John Kohl and me:
Map kernel stacks only at unique addresses.
Use one TSS per process.
Add sysarch calls for modifying IOPL and the I/O permission bitmap.
Add a compacting GDT entry allocator, for TSS and LDT selectors.
Enable modifying %fs and %gs with PT_SETREGS.
Sanitize various bits of code.

Revision 1.29 / (download) - annotate - [select for diffs], Mon May 1 08:06:44 1995 UTC (23 years, 3 months ago) by mycroft
Branch: MAIN
Changes since 1.28: +2 -2 lines
Diff to previous 1.28 (colored)

Update to match include files.  Eliminate _ucodesel, _udatasel, and IdlePTD.

Revision 1.28 / (download) - annotate - [select for diffs], Mon Apr 10 13:14:36 1995 UTC (23 years, 4 months ago) by mycroft
Branch: MAIN
Changes since 1.27: +3 -3 lines
Diff to previous 1.27 (colored)

kernel_pmap --> pmap_kernel()

Revision 1.27 / (download) - annotate - [select for diffs], Mon Apr 10 11:54:57 1995 UTC (23 years, 4 months ago) by mycroft
Branch: MAIN
Changes since 1.26: +11 -9 lines
Diff to previous 1.26 (colored)

Add mmopen(), mmclose(), and mmmmap() where appropriate.  Lock vmmap when
needed.  Make types consistent.

Revision 1.26 / (download) - annotate - [select for diffs], Mon Apr 10 04:17:12 1995 UTC (23 years, 4 months ago) by mycroft
Branch: MAIN
Changes since 1.25: +16 -19 lines
Diff to previous 1.25 (colored)

Minor changes to match hp300 version.

Revision 1.25 / (download) - annotate - [select for diffs], Mon Apr 10 01:57:50 1995 UTC (23 years, 4 months ago) by mycroft
Branch: MAIN
Changes since 1.24: +2 -5 lines
Diff to previous 1.24 (colored)

Declare all return types.

Revision 1.24 / (download) - annotate - [select for diffs], Mon Apr 10 01:26:43 1995 UTC (23 years, 4 months ago) by mycroft
Branch: MAIN
Changes since 1.23: +13 -14 lines
Diff to previous 1.23 (colored)

Minor stylistic changes.

Revision 1.23 / (download) - annotate - [select for diffs], Mon Jan 9 09:13:09 1995 UTC (23 years, 7 months ago) by mycroft
Branch: MAIN
Changes since 1.22: +37 -72 lines
Diff to previous 1.22 (colored)

Copy physlock code from SPARC port, and some minor cleaning.

Revision 1.22 / (download) - annotate - [select for diffs], Thu Oct 27 04:15:33 1994 UTC (23 years, 9 months ago) by cgd
Branch: MAIN
CVS Tags: before_newconf_base
Changes since 1.21: +5 -3 lines
Diff to previous 1.21 (colored)

new RCS ID format.

Revision 1.21 / (download) - annotate - [select for diffs], Tue May 24 02:37:59 1994 UTC (24 years, 2 months ago) by cgd
Branch: MAIN
CVS Tags: netbsd-1-0-base, netbsd-1-0-RELEASE, netbsd-1-0-PATCH1, netbsd-1-0-PATCH06, netbsd-1-0-PATCH05, netbsd-1-0-PATCH04, netbsd-1-0-PATCH03, netbsd-1-0-PATCH02, netbsd-1-0-PATCH0, netbsd-1-0
Changes since 1.20: +4 -4 lines
Diff to previous 1.20 (colored)

MIN -> min, MAX -> max

Revision 1.20 / (download) - annotate - [select for diffs], Mon May 23 03:02:39 1994 UTC (24 years, 3 months ago) by cgd
Branch: MAIN
Changes since 1.19: +6 -4 lines
Diff to previous 1.19 (colored)

casts to quiet warnings

Revision 1.19 / (download) - annotate - [select for diffs], Sat May 21 15:57:30 1994 UTC (24 years, 3 months ago) by mycroft
Branch: MAIN
Changes since 1.18: +2 -13 lines
Diff to previous 1.18 (colored)

Switch the IOPL hackery to /dev/io, and *don't* do it on close, since that's
unreliable anyway.

Revision 1.18 / (download) - annotate - [select for diffs], Thu May 5 05:35:52 1994 UTC (24 years, 3 months ago) by cgd
Branch: MAIN
Changes since 1.17: +3 -3 lines
Diff to previous 1.17 (colored)

lots of changes: prototype migration, move lots of variables, definitions,
and structure elements around.  kill some unnecessary type and macro
definitions.  standardize clock handling.  More changes than you'd want.

Revision 1.17 / (download) - annotate - [select for diffs], Wed Apr 27 03:53:29 1994 UTC (24 years, 3 months ago) by mycroft
Branch: MAIN
Changes since 1.16: +9 -9 lines
Diff to previous 1.16 (colored)

Fix mmopen() and mmclose().

Revision 1.16 / (download) - annotate - [select for diffs], Mon Apr 25 06:17:30 1994 UTC (24 years, 3 months ago) by mycroft
Branch: MAIN
Changes since 1.15: +3 -3 lines
Diff to previous 1.15 (colored)

Fix minor number.

Revision 1.15 / (download) - annotate - [select for diffs], Mon Apr 25 05:17:25 1994 UTC (24 years, 3 months ago) by mycroft
Branch: MAIN
Changes since 1.14: +2 -1 lines
Diff to previous 1.14 (colored)

Need fcntl.h.

Revision 1.14 / (download) - annotate - [select for diffs], Mon Apr 25 05:15:07 1994 UTC (24 years, 3 months ago) by mycroft
Branch: MAIN
Changes since 1.13: +16 -11 lines
Diff to previous 1.13 (colored)

Only diddle IOPL if opened for writing.

Revision 1.13 / (download) - annotate - [select for diffs], Sun Mar 27 08:55:31 1994 UTC (24 years, 4 months ago) by cgd
Branch: MAIN
Changes since 1.12: +4 -3 lines
Diff to previous 1.12 (colored)

casting perversion

Revision 1.12 / (download) - annotate - [select for diffs], Wed Mar 23 05:09:45 1994 UTC (24 years, 5 months ago) by cgd
Branch: MAIN
Changes since 1.11: +8 -8 lines
Diff to previous 1.11 (colored)

allow mmaping of /dev/mem and /dev/kmem.  The former for folks with
buff vid boards which map at high physical addrs, the latter for fun,
since it's possible.

Revision 1.11 / (download) - annotate - [select for diffs], Fri Mar 18 19:08:28 1994 UTC (24 years, 5 months ago) by mycroft
Branch: MAIN
Changes since 1.10: +10 -10 lines
Diff to previous 1.10 (colored)

Standardize #includes.

Revision 1.10 / (download) - annotate - [select for diffs], Fri Mar 18 03:11:47 1994 UTC (24 years, 5 months ago) by cgd
Branch: MAIN
Changes since 1.9: +2 -6 lines
Diff to previous 1.9 (colored)

needs these includes like a hole in its head...

Revision 1.9.2.2 / (download) - annotate - [select for diffs], Tue Feb 1 05:40:12 1994 UTC (24 years, 6 months ago) by mycroft
Branch: magnum
Changes since 1.9.2.1: +262 -0 lines
Diff to previous 1.9.2.1 (colored) to branchpoint 1.9 (colored) next main 1.10 (colored)

Synchronize with magnum branch.

Revision 1.9.2.1, Tue Feb 1 05:40:11 1994 UTC (24 years, 6 months ago) by mycroft
Branch: magnum
Changes since 1.9: +0 -262 lines
FILE REMOVED

file mem.c was added on branch magnum on 1994-02-01 05:40:12 +0000

Revision 1.9 / (download) - annotate - [select for diffs], Tue Feb 1 05:40:11 1994 UTC (24 years, 6 months ago) by mycroft
Branch: MAIN
CVS Tags: magnum-base
Branch point for: magnum
Changes since 1.8: +9 -27 lines
Diff to previous 1.8 (colored)

Synchronize with magnum branch.

Revision 1.4.2.4 / (download) - annotate - [select for diffs], Tue Oct 26 12:59:01 1993 UTC (24 years, 9 months ago) by mycroft
Changes since 1.4.2.3: +9 -2 lines
Diff to previous 1.4.2.3 (colored) next main 1.5 (colored)

Merge changes from trunk.

Revision 1.8 / (download) - annotate - [select for diffs], Thu Oct 21 23:55:02 1993 UTC (24 years, 10 months ago) by cgd
Branch: MAIN
Changes since 1.7: +5 -1 lines
Diff to previous 1.7 (colored)

mapping the mem or kmem devices is *very* dangerous with the current
vm system.  Don't allow it.

Revision 1.7 / (download) - annotate - [select for diffs], Wed Oct 6 23:37:09 1993 UTC (24 years, 10 months ago) by cgd
Branch: MAIN
Changes since 1.6: +22 -3 lines
Diff to previous 1.6 (colored)

fix the mmap of kmem somewhat, but it's still not perfect...
(or, at least, it crashes the machines in some situations where
i don't think it should...)

Revision 1.4.2.3 / (download) - annotate - [select for diffs], Wed Oct 6 12:13:51 1993 UTC (24 years, 10 months ago) by mycroft
Changes since 1.4.2.2: +25 -1 lines
Diff to previous 1.4.2.2 (colored)

Merge changes from trunk.

Revision 1.6 / (download) - annotate - [select for diffs], Sat Oct 2 00:16:25 1993 UTC (24 years, 10 months ago) by cgd
Branch: MAIN
Changes since 1.5: +28 -1 lines
Diff to previous 1.5 (colored)

add mmmmap (mem device mmap routine).  possible problems:
	(1) the 'physmem' constant has a value which i don't think is
		correct
	(2) not sure what happens if you mmap a region of kmem which is
		not in the kernel's address space...

Revision 1.4.2.2 / (download) - annotate - [select for diffs], Fri Sep 24 08:46:01 1993 UTC (24 years, 10 months ago) by mycroft
Changes since 1.4.2.1: +7 -8 lines
Diff to previous 1.4.2.1 (colored)

Changes from trunk.
conf.c: Make strategy functions return void.  Also, we really only need
to declare swstrategy() once, not thrice.
disksubr.c: Strategy functions return void.
machdep.c: Add #ifdef DIAGNOSTIC around unexpected internal failure.
Enable PSL checks in sigreturn().
pmap.c: Add a XXXX.
trap.c: Move common return code from trap() and syscall() into new userret().

Revision 1.5 / (download) - annotate - [select for diffs], Thu Sep 16 03:24:37 1993 UTC (24 years, 11 months ago) by brezak
Branch: MAIN
Changes since 1.4: +7 -7 lines
Diff to previous 1.4 (colored)

Changes to use a trap frame for syscalls.

Revision 1.4.2.1 / (download) - annotate - [select for diffs], Tue Sep 14 17:28:42 1993 UTC (24 years, 11 months ago) by mycroft
Changes since 1.4: +3 -1 lines
Diff to previous 1.4 (colored)

New i386 code.

Revision 1.4 / (download) - annotate - [select for diffs], Sat Aug 14 01:29:36 1993 UTC (25 years ago) by mycroft
Branch: MAIN
Changes since 1.3: +3 -3 lines
Diff to previous 1.3 (colored)

Absolutely unimportant change to RCS identifier stuff.

Revision 1.3 / (download) - annotate - [select for diffs], Sat May 22 07:59:53 1993 UTC (25 years, 3 months ago) by cgd
Branch: MAIN
CVS Tags: netbsd-0-9-patch-001, netbsd-0-9-base, netbsd-0-9-RELEASE, netbsd-0-9-BETA, netbsd-0-9-ALPHA2, netbsd-0-9-ALPHA, netbsd-0-9
Changes since 1.2: +2 -1 lines
Diff to previous 1.2 (colored)

add rcsids to everything and clean up headers

Revision 1.2 / (download) - annotate - [select for diffs], Sun May 16 03:42:49 1993 UTC (25 years, 3 months ago) by cgd
Branch: MAIN
Changes since 1.1: +38 -0 lines
Diff to previous 1.1 (colored)

patch from Guido van Rooij <guido@gvr.win.tue.nl> to make ioports
work "normally," i.e. not randomly, and only when /dev/mem is opened.

Revision 1.1.1.1 / (download) - annotate - [select for diffs] (vendor branch), Sun Mar 21 09:45:37 1993 UTC (25 years, 5 months ago) by cgd
Branch: WFJ-920714
CVS Tags: patchkit-0-2-2, netbsd-alpha-1, netbsd-0-8, WFJ-386bsd-01
Changes since 1.1: +0 -0 lines
Diff to previous 1.1 (colored)

initial import of 386bsd-0.1 sources

Revision 1.1 / (download) - annotate - [select for diffs], Sun Mar 21 09:45:37 1993 UTC (25 years, 5 months ago) by cgd
Branch: MAIN

Initial revision

This form allows you to request diff's between any two revisions of a file. You may select a symbolic revision name using the selection box or you may type in a numeric name using the type-in text box.




CVSweb <webmaster@jp.NetBSD.org>