The NetBSD Project

CVS log for src/sys/arch/vax/include/lock.h

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

Request diff between arbitrary revisions


Default branch: MAIN


Revision 1.34 / (download) - annotate - [select for diffs], Sun Feb 13 13:42:21 2022 UTC (11 months, 2 weeks ago) by riastradh
Branch: MAIN
CVS Tags: netbsd-10-base, netbsd-10, bouyer-sunxi-drm-base, bouyer-sunxi-drm, HEAD
Changes since 1.33: +4 -4 lines
Diff to previous 1.33 (colored)

vax: __cpu_simple_lock audit.

Fix missing "memory" asm clobber so the compiler can't reorder memory
access around __cpu_simple_lock/lock_try/unlock.

Revision 1.33 / (download) - annotate - [select for diffs], Sat Feb 12 17:17:53 2022 UTC (11 months, 2 weeks ago) by riastradh
Branch: MAIN
Changes since 1.32: +2 -12 lines
Diff to previous 1.32 (colored)

__cpu_simple_lock(9): Omit needless barriers in init.

It is, and always has been, the caller's responsibility to ensure the
lock is initialized before it can be used -- otherwise the memory
could hold garbage; it is nonsensical to even attempt locking
operations on it before initialization.

So there's no need to issue explicit barriers here.  The barrier
seems to have been introduced in sys/arch/alpha/alpha/lock_machdep.c
rev. 1.1 (since moved to inline asm in alpha/include/lock.h) and then
copied & pasted into several other architectures.

Revision 1.31.4.1 / (download) - annotate - [select for diffs], Wed Apr 8 14:07:56 2020 UTC (2 years, 9 months ago) by martin
Branch: phil-wifi
Changes since 1.31: +1 -12 lines
Diff to previous 1.31 (colored) next main 1.32 (colored)

Merge changes from current as of 20200406

Revision 1.32 / (download) - annotate - [select for diffs], Fri Nov 29 20:06:44 2019 UTC (3 years, 2 months ago) by riastradh
Branch: MAIN
CVS Tags: thorpej-i2c-spi-conf2-base, thorpej-i2c-spi-conf2, thorpej-i2c-spi-conf-base, thorpej-i2c-spi-conf, thorpej-futex2-base, thorpej-futex2, thorpej-futex-base, thorpej-futex, thorpej-cfargs2-base, thorpej-cfargs2, thorpej-cfargs-base, thorpej-cfargs, phil-wifi-20200421, phil-wifi-20200411, phil-wifi-20200406, is-mlppp-base, is-mlppp, cjep_sun2x-base1, cjep_sun2x-base, cjep_sun2x, cjep_staticlib_x-base1, cjep_staticlib_x-base, cjep_staticlib_x, bouyer-xenpvh-base2, bouyer-xenpvh-base1, bouyer-xenpvh-base, bouyer-xenpvh, ad-namecache-base3, ad-namecache-base2, ad-namecache-base1, ad-namecache-base, ad-namecache
Changes since 1.31: +1 -12 lines
Diff to previous 1.31 (colored)

Nix mb_* on vax.

Revision 1.29.24.1 / (download) - annotate - [select for diffs], Sun Dec 3 11:36:48 2017 UTC (5 years, 1 month ago) by jdolecek
Branch: tls-maxphys
Changes since 1.29: +3 -8 lines
Diff to previous 1.29 (colored) next main 1.30 (colored)

update from HEAD

Revision 1.31 / (download) - annotate - [select for diffs], Sun Sep 17 00:01:08 2017 UTC (5 years, 4 months ago) by christos
Branch: MAIN
CVS Tags: tls-maxphys-base-20171202, phil-wifi-base, phil-wifi-20191119, phil-wifi-20190609, pgoyette-compat-merge-20190127, pgoyette-compat-base, pgoyette-compat-20190127, pgoyette-compat-20190118, pgoyette-compat-1226, pgoyette-compat-1126, pgoyette-compat-1020, pgoyette-compat-0930, pgoyette-compat-0906, 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, netbsd-9-base, netbsd-9-3-RELEASE, netbsd-9-2-RELEASE, netbsd-9-1-RELEASE, netbsd-9-0-RELEASE, netbsd-9-0-RC2, netbsd-9-0-RC1, netbsd-9, isaki-audio2-base, isaki-audio2
Branch point for: phil-wifi
Changes since 1.30: +3 -3 lines
Diff to previous 1.30 (colored)

more const.

Revision 1.29.42.1 / (download) - annotate - [select for diffs], Mon Aug 28 17:51:54 2017 UTC (5 years, 5 months ago) by skrll
Branch: nick-nhusb
Changes since 1.29: +1 -6 lines
Diff to previous 1.29 (colored) next main 1.30 (colored)

Sync with HEAD

Revision 1.30 / (download) - annotate - [select for diffs], Mon May 22 17:12:11 2017 UTC (5 years, 8 months ago) by ragge
Branch: MAIN
CVS Tags: perseant-stdc-iso10646-base, perseant-stdc-iso10646, nick-nhusb-base-20170825, netbsd-8-base, netbsd-8-2-RELEASE, netbsd-8-1-RELEASE, netbsd-8-1-RC1, netbsd-8-0-RELEASE, netbsd-8-0-RC2, netbsd-8-0-RC1, netbsd-8, matt-nb8-mediatek-base, matt-nb8-mediatek
Changes since 1.29: +1 -6 lines
Diff to previous 1.29 (colored)

Update copyright notice for Ludd (remove clause 3 & 4).

Revision 1.28.4.1 / (download) - annotate - [select for diffs], Mon May 4 08:12:04 2009 UTC (13 years, 9 months ago) by yamt
Branch: yamt-nfs-mp
Changes since 1.28: +9 -7 lines
Diff to previous 1.28 (colored) next main 1.29 (colored)

sync with head.

Revision 1.28.12.1 / (download) - annotate - [select for diffs], Mon Jan 19 13:17:02 2009 UTC (14 years ago) by skrll
Branch: nick-hppapmap
Changes since 1.28: +9 -7 lines
Diff to previous 1.28 (colored) next main 1.29 (colored)

Sync with HEAD.

Revision 1.27.16.2 / (download) - annotate - [select for diffs], Sat Jan 17 13:28:35 2009 UTC (14 years ago) by mjf
Branch: mjf-devfs2
Changes since 1.27.16.1: +8 -6 lines
Diff to previous 1.27.16.1 (colored) to branchpoint 1.27 (colored) next main 1.28 (colored)

Sync with HEAD.

Revision 1.29 / (download) - annotate - [select for diffs], Wed Jan 14 23:20:34 2009 UTC (14 years ago) by pooka
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, 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-base7, uebayasi-xip-base6, uebayasi-xip-base5, uebayasi-xip-base4, uebayasi-xip-base3, uebayasi-xip-base2, uebayasi-xip-base1, uebayasi-xip-base, uebayasi-xip, tls-maxphys-base, tls-earlyentropy-base, tls-earlyentropy, rmind-uvmplock-nbase, rmind-uvmplock-base, rmind-uvmplock, rmind-smpnet-nbase, rmind-smpnet-base, rmind-smpnet, riastradh-xf86-video-intel-2-7-1-pre-2-21-15, riastradh-drm2-base3, riastradh-drm2-base2, riastradh-drm2-base1, riastradh-drm2-base, riastradh-drm2, 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, nick-nhusb-base-20170204, nick-nhusb-base-20161204, nick-nhusb-base-20161004, nick-nhusb-base-20160907, nick-nhusb-base-20160529, nick-nhusb-base-20160422, nick-nhusb-base-20160319, nick-nhusb-base-20151226, nick-nhusb-base-20150921, nick-nhusb-base-20150606, nick-nhusb-base-20150406, nick-nhusb-base, nick-hppapmap-base4, nick-hppapmap-base3, nick-hppapmap-base2, nick-hppapmap-base, netbsd-7-nhusb-base-20170116, netbsd-7-nhusb-base, netbsd-7-nhusb, netbsd-7-base, netbsd-7-2-RELEASE, netbsd-7-1-RELEASE, netbsd-7-1-RC2, netbsd-7-1-RC1, netbsd-7-1-2-RELEASE, netbsd-7-1-1-RELEASE, netbsd-7-1, netbsd-7-0-RELEASE, netbsd-7-0-RC3, netbsd-7-0-RC2, netbsd-7-0-RC1, netbsd-7-0-2-RELEASE, netbsd-7-0-1-RELEASE, netbsd-7-0, netbsd-7, netbsd-6-base, netbsd-6-1-RELEASE, netbsd-6-1-RC4, netbsd-6-1-RC3, netbsd-6-1-RC2, netbsd-6-1-RC1, netbsd-6-1-5-RELEASE, netbsd-6-1-4-RELEASE, netbsd-6-1-3-RELEASE, netbsd-6-1-2-RELEASE, netbsd-6-1-1-RELEASE, netbsd-6-1, netbsd-6-0-RELEASE, netbsd-6-0-RC2, netbsd-6-0-RC1, netbsd-6-0-6-RELEASE, netbsd-6-0-5-RELEASE, netbsd-6-0-4-RELEASE, netbsd-6-0-3-RELEASE, netbsd-6-0-2-RELEASE, netbsd-6-0-1-RELEASE, netbsd-6-0, netbsd-6, mjf-devfs2-base, matt-premerge-20091211, matt-nb6-plus-nbase, matt-nb6-plus-base, matt-nb6-plus, matt-mips64-premerge-20101231, localcount-20160914, khorben-n900, jymxensuspend-base, jym-xensuspend-nbase, jym-xensuspend-base, jym-xensuspend, jruoho-x86intr-base, jruoho-x86intr, jmcneill-usbmp-pre-base2, jmcneill-usbmp-base9, jmcneill-usbmp-base8, jmcneill-usbmp-base7, jmcneill-usbmp-base6, jmcneill-usbmp-base5, jmcneill-usbmp-base4, jmcneill-usbmp-base3, jmcneill-usbmp-base2, jmcneill-usbmp-base10, jmcneill-usbmp-base, jmcneill-usbmp, jmcneill-audiomp3-base, jmcneill-audiomp3, jdolecek-ncq-base, jdolecek-ncq, cherry-xenmp-base, cherry-xenmp, bouyer-socketcan-base1, bouyer-socketcan-base, bouyer-socketcan, bouyer-quota2-nbase, bouyer-quota2-base, bouyer-quota2, agc-symver-base, agc-symver
Branch point for: tls-maxphys, nick-nhusb
Changes since 1.28: +9 -7 lines
Diff to previous 1.28 (colored)

Use kernel locking routines only with _HARDKERNEL

Revision 1.27.16.1 / (download) - annotate - [select for diffs], Thu Apr 3 12:42:27 2008 UTC (14 years, 10 months ago) by mjf
Branch: mjf-devfs2
Changes since 1.27: +18 -68 lines
Diff to previous 1.27 (colored)

Sync with HEAD.

Revision 1.27.12.1 / (download) - annotate - [select for diffs], Mon Mar 24 07:15:06 2008 UTC (14 years, 10 months ago) by keiichi
Branch: keiichi-mipv6
Changes since 1.27: +18 -68 lines
Diff to previous 1.27 (colored) next main 1.28 (colored)

sync with head.

Revision 1.25.20.2 / (download) - annotate - [select for diffs], Sun Mar 23 02:04:25 2008 UTC (14 years, 10 months ago) by matt
Branch: matt-armv6
Changes since 1.25.20.1: +18 -68 lines
Diff to previous 1.25.20.1 (colored) to branchpoint 1.25 (colored) next main 1.26 (colored)

sync with HEAD

Revision 1.16.12.5 / (download) - annotate - [select for diffs], Wed Feb 27 08:36:26 2008 UTC (14 years, 11 months ago) by yamt
Branch: yamt-lazymbuf
Changes since 1.16.12.4: +18 -68 lines
Diff to previous 1.16.12.4 (colored) to branchpoint 1.16 (colored) next main 1.17 (colored)

sync with head.

Revision 1.28 / (download) - annotate - [select for diffs], Sat Feb 23 05:48:13 2008 UTC (14 years, 11 months ago) by matt
Branch: MAIN
CVS Tags: 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, wrstuden-revivesa-base-4, wrstuden-revivesa-base-3, wrstuden-revivesa-base-2, wrstuden-revivesa-base-1, wrstuden-revivesa-base, wrstuden-revivesa, simonb-wapbl-nbase, simonb-wapbl-base, simonb-wapbl, 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, matt-armv6-nbase, keiichi-mipv6-nbase, keiichi-mipv6-base, hpcarm-cleanup-nbase, hpcarm-cleanup-base, haad-nbase2, haad-dm-base2, haad-dm-base1, haad-dm-base, haad-dm, ad-socklock-base1, ad-audiomp2-base, ad-audiomp2
Branch point for: yamt-nfs-mp, nick-hppapmap
Changes since 1.27: +18 -68 lines
Diff to previous 1.27 (colored)

A number of performance changes:
Change internal register SSP to contain curlwp insread curcpu().  This
shrinks the GENERIC by 2KB.
Add rwlock stubs (rw_enter, rw_exit, rw_tryenter).
Simplify simple lock code for uniprocessors.
Do SPL raise/lower in cpu_handle_ipi instead of simple_locks.

Revision 1.25.20.1 / (download) - annotate - [select for diffs], Tue Nov 6 23:23:11 2007 UTC (15 years, 2 months ago) by matt
Branch: matt-armv6
CVS Tags: matt-armv6-prevmlocking
Changes since 1.25: +25 -1 lines
Diff to previous 1.25 (colored)

sync with HEAD

Revision 1.16.12.4 / (download) - annotate - [select for diffs], Sat Oct 27 11:28:49 2007 UTC (15 years, 3 months ago) by yamt
Branch: yamt-lazymbuf
Changes since 1.16.12.3: +25 -1 lines
Diff to previous 1.16.12.3 (colored) to branchpoint 1.16 (colored)

sync with head.

Revision 1.27 / (download) - annotate - [select for diffs], Wed Oct 17 19:57:48 2007 UTC (15 years, 3 months ago) by garbled
Branch: MAIN
CVS Tags: yamt-x86pmap-base4, yamt-kmem-base3, yamt-kmem-base2, yamt-kmem-base, yamt-kmem, vmlocking2-base3, vmlocking2-base2, vmlocking2-base1, vmlocking2, vmlocking-nbase, reinoud-bufcleanup-nbase, reinoud-bufcleanup-base, nick-net80211-sync-base, nick-net80211-sync, mjf-devfs-base, mjf-devfs, matt-armv6-base, jmcneill-pm-base, jmcneill-base, cube-autoconf-base, cube-autoconf, bouyer-xeni386-nbase, bouyer-xeni386-merge1, bouyer-xeni386-base, bouyer-xeni386, bouyer-xenamd64-base2, bouyer-xenamd64-base
Branch point for: mjf-devfs2, keiichi-mipv6
Changes since 1.26: +1 -1 lines
Diff to previous 1.26 (colored)

Merge the ppcoea-renovation branch to HEAD.

This branch was a major cleanup and rototill of many of the various OEA
cpu based PPC ports that focused on sharing as much code as possible
between the various ports to eliminate near-identical copies of files in
every tree.  Additionally there is a new PIC system that unifies the
interface to interrupt code for all different OEA ppc arches.  The work
for this branch was done by a variety of people, too long to list here.

TODO:
bebox still needs work to complete the transition to -renovation.
ofppc still needs a bunch of work, which I will be looking at.
ev64260 still needs to be renovated
amigappc was not attempted.

NOTES:
pmppc was removed as an arch, and moved to a evbppc target.

Revision 1.25.2.1 / (download) - annotate - [select for diffs], Tue Oct 9 13:38:39 2007 UTC (15 years, 3 months ago) by ad
Branch: vmlocking
Changes since 1.25: +25 -1 lines
Diff to previous 1.25 (colored) next main 1.26 (colored)

Sync with head.

Revision 1.25.10.1 / (download) - annotate - [select for diffs], Wed Oct 3 19:25:38 2007 UTC (15 years, 4 months ago) by garbled
Branch: ppcoea-renovation
Changes since 1.25: +25 -1 lines
Diff to previous 1.25 (colored) next main 1.26 (colored)

Sync with HEAD

Revision 1.25.18.1 / (download) - annotate - [select for diffs], Tue Oct 2 18:27:48 2007 UTC (15 years, 4 months ago) by joerg
Branch: jmcneill-pm
Changes since 1.25: +25 -1 lines
Diff to previous 1.25 (colored) next main 1.26 (colored)

Sync with HEAD.

Revision 1.26 / (download) - annotate - [select for diffs], Mon Sep 10 11:34:10 2007 UTC (15 years, 4 months ago) by skrll
Branch: MAIN
CVS Tags: yamt-x86pmap-base3, yamt-x86pmap-base2, yamt-x86pmap-base, yamt-x86pmap, vmlocking-base, ppcoea-renovation-base, bouyer-xenamd64
Changes since 1.25: +25 -1 lines
Diff to previous 1.25 (colored)

Merge nick-csl-alignment.

Revision 1.16.12.3 / (download) - annotate - [select for diffs], Mon Sep 3 14:30:48 2007 UTC (15 years, 5 months ago) by yamt
Branch: yamt-lazymbuf
Changes since 1.16.12.2: +49 -33 lines
Diff to previous 1.16.12.2 (colored) to branchpoint 1.16 (colored)

sync with head.

Revision 1.25.14.1 / (download) - annotate - [select for diffs], Wed Aug 15 08:24:07 2007 UTC (15 years, 5 months ago) by skrll
Branch: nick-csl-alignment
Changes since 1.25: +25 -1 lines
Diff to previous 1.25 (colored) next main 1.26 (colored)

Provide __SIMPLELOCK_{UN,}LOCKED_P and __cpu_simple_lock_{set,clear}
for all architectures.

Revision 1.22.2.2 / (download) - annotate - [select for diffs], Mon Mar 12 05:51:13 2007 UTC (15 years, 10 months ago) by rmind
Branch: yamt-idlelwp
Changes since 1.22.2.1: +10 -1 lines
Diff to previous 1.22.2.1 (colored) next main 1.23 (colored)

Sync with HEAD.

Revision 1.25 / (download) - annotate - [select for diffs], Sun Mar 4 07:28:12 2007 UTC (15 years, 11 months ago) by ragge
Branch: MAIN
CVS Tags: yamt-idlelwp-base8, thorpej-atomic-base, thorpej-atomic, reinoud-bufcleanup, nick-csl-alignment-base5, nick-csl-alignment-base, mjf-ufs-trans-base, mjf-ufs-trans, matt-mips64-base, matt-mips64, hpcarm-cleanup
Branch point for: vmlocking, ppcoea-renovation, nick-csl-alignment, matt-armv6, jmcneill-pm
Changes since 1.24: +10 -1 lines
Diff to previous 1.24 (colored)

cpu_simple_lock() calls are emitted in the UP case if DEBUG || DIAGNOSTIC.
This should probably be fixed somewhere else, but currently just include
it here. Fixes PR#35866 from Henry R. Bent.

Revision 1.22.2.1 / (download) - annotate - [select for diffs], Tue Feb 27 16:53:21 2007 UTC (15 years, 11 months ago) by yamt
Branch: yamt-idlelwp
Changes since 1.22: +40 -33 lines
Diff to previous 1.22 (colored)

- sync with head.
- move sched_changepri back to kern_synch.c as it doesn't know PPQ anymore.

Revision 1.16.12.2 / (download) - annotate - [select for diffs], Mon Feb 26 09:08:39 2007 UTC (15 years, 11 months ago) by yamt
Branch: yamt-lazymbuf
Changes since 1.16.12.1: +16 -6 lines
Diff to previous 1.16.12.1 (colored) to branchpoint 1.16 (colored)

sync with head.

Revision 1.24 / (download) - annotate - [select for diffs], Mon Feb 26 01:33:41 2007 UTC (15 years, 11 months ago) by christos
Branch: MAIN
CVS Tags: ad-audiomp-base, ad-audiomp
Changes since 1.23: +40 -33 lines
Diff to previous 1.23 (colored)

- use __inline like the other ports do.
- use __ in parameter names
- provide separate prototype lines.

Revision 1.23 / (download) - annotate - [select for diffs], Sat Feb 24 02:25:02 2007 UTC (15 years, 11 months ago) by mrg
Branch: MAIN
Changes since 1.22: +2 -2 lines
Diff to previous 1.22 (colored)

fix a typo - s/_inline/inline/

Revision 1.22 / (download) - annotate - [select for diffs], Fri Feb 16 01:34:02 2007 UTC (15 years, 11 months ago) by matt
Branch: MAIN
Branch point for: yamt-idlelwp
Changes since 1.21: +16 -6 lines
Diff to previous 1.21 (colored)

Partially adapt the VAX port to the newlock2 changes.  These are untested
but they do at least compile.

Revision 1.16.12.1 / (download) - annotate - [select for diffs], Wed Jun 21 14:57:33 2006 UTC (16 years, 7 months ago) by yamt
Branch: yamt-lazymbuf
Changes since 1.16: +16 -16 lines
Diff to previous 1.16 (colored)

sync with head.

Revision 1.21 / (download) - annotate - [select for diffs], Wed Dec 28 19:09:30 2005 UTC (17 years, 1 month ago) by perry
Branch: MAIN
CVS Tags: yamt-uio_vmspace-base5, yamt-uio_vmspace, yamt-splraiseipl-base5, yamt-splraiseipl-base4, yamt-splraiseipl-base3, yamt-splraiseipl-base2, yamt-splraiseipl-base, yamt-splraiseipl, yamt-pdpolicy-base9, yamt-pdpolicy-base8, yamt-pdpolicy-base7, yamt-pdpolicy-base6, yamt-pdpolicy-base5, yamt-pdpolicy-base4, yamt-pdpolicy-base3, yamt-pdpolicy-base2, yamt-pdpolicy-base, yamt-pdpolicy, wrstuden-fixsa-newbase, wrstuden-fixsa-base-1, wrstuden-fixsa-base, wrstuden-fixsa, simonb-timecounters-base, simonb-timecounters, simonb-timcounters-final, rpaulo-netinet-merge-pcb-base, rpaulo-netinet-merge-pcb, post-newlock2-merge, peter-altq-base, peter-altq, newlock2-nbase, newlock2-base, newlock2, 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, 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
Changes since 1.20: +6 -6 lines
Diff to previous 1.20 (colored)

inline -> __inline

Revision 1.20 / (download) - annotate - [select for diffs], Sat Dec 24 23:24:07 2005 UTC (17 years, 1 month ago) by perry
Branch: MAIN
Changes since 1.19: +10 -10 lines
Diff to previous 1.19 (colored)

__asm__ -> __asm
__const__ -> const
__inline__ -> inline
__volatile__ -> volatile

Revision 1.19 / (download) - annotate - [select for diffs], Sat Dec 24 20:07:41 2005 UTC (17 years, 1 month ago) by perry
Branch: MAIN
Changes since 1.18: +15 -15 lines
Diff to previous 1.18 (colored)

Remove leading __ from __(const|inline|signed|volatile) -- it is obsolete.

Revision 1.18 / (download) - annotate - [select for diffs], Sun Dec 11 12:19:34 2005 UTC (17 years, 1 month ago) by christos
Branch: MAIN
Changes since 1.17: +1 -1 lines
Diff to previous 1.17 (colored)

merge ktrace-lwp.

Revision 1.13.2.4 / (download) - annotate - [select for diffs], Thu Nov 10 13:59:59 2005 UTC (17 years, 2 months ago) by skrll
Branch: ktrace-lwp
Changes since 1.13.2.3: +7 -7 lines
Diff to previous 1.13.2.3 (colored) next main 1.14 (colored)

Sync with HEAD. Here we go again...

Revision 1.17 / (download) - annotate - [select for diffs], Wed Jul 20 17:48:17 2005 UTC (17 years, 6 months ago) by he
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, thorpej-vnode-attr-base, thorpej-vnode-attr, ktrace-lwp-base
Changes since 1.16: +7 -7 lines
Diff to previous 1.16 (colored)

Fixes to make GENERIC.MP build again.  Several changes:
 o Rename global variable "tramp" to "vax_mp_tramp" to avoid warning
   with -Wshadow when compiling the signal code.
 o Rename a macro-local variable _s to __s in __cpu_simple_lock()
   to avoid -Wshadow warning when MALLOC() is used (also declares _s).
 o Follow up -Wcast-qual by making a number of function arguments const char*
   where string literals are used.

Revision 1.13.2.3 / (download) - annotate - [select for diffs], Tue Sep 21 13:23:43 2004 UTC (18 years, 4 months ago) by skrll
Branch: ktrace-lwp
Changes since 1.13.2.2: +1 -1 lines
Diff to previous 1.13.2.2 (colored)

Fix the sync with head I botched.

Revision 1.13.2.2 / (download) - annotate - [select for diffs], Sat Sep 18 14:42:06 2004 UTC (18 years, 4 months ago) by skrll
Branch: ktrace-lwp
Changes since 1.13.2.1: +0 -0 lines
Diff to previous 1.13.2.1 (colored)

Sync with HEAD.

Revision 1.13.2.1 / (download) - annotate - [select for diffs], Tue Aug 3 10:42:23 2004 UTC (18 years, 6 months ago) by skrll
Branch: ktrace-lwp
Changes since 1.13: +2 -6 lines
Diff to previous 1.13 (colored)

Sync with HEAD

Revision 1.16 / (download) - annotate - [select for diffs], Wed May 19 23:15:43 2004 UTC (18 years, 8 months ago) by he
Branch: MAIN
CVS Tags: yamt-km-base4, yamt-km-base3, yamt-km-base2, yamt-km-base, yamt-km, 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, kent-audio2-base, kent-audio2, kent-audio1-beforemerge, kent-audio1-base, kent-audio1
Branch point for: yamt-lazymbuf
Changes since 1.15: +2 -2 lines
Diff to previous 1.15 (colored)

Hm, let ipfresend also compile; move <machine/intr.h> include
in under the _KERNEL_OPT define.

Revision 1.15 / (download) - annotate - [select for diffs], Wed May 19 22:50:09 2004 UTC (18 years, 8 months ago) by he
Branch: MAIN
Changes since 1.14: +2 -1 lines
Diff to previous 1.14 (colored)

Since we are using the spl() functions here, also include <machine/intr.h>.

Revision 1.14 / (download) - annotate - [select for diffs], Fri Sep 26 22:46:01 2003 UTC (19 years, 4 months ago) by nathanw
Branch: MAIN
CVS Tags: 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
Changes since 1.13: +1 -6 lines
Diff to previous 1.13 (colored)

Move __cpu_simple_lock_t and __SIMPLELOCK_{UN,}LOCKED to machine/types.h
so that they can be used in a namespace-friendly way.

Revision 1.13 / (download) - annotate - [select for diffs], Thu Jun 26 13:20:55 2003 UTC (19 years, 7 months ago) by he
Branch: MAIN
Branch point for: ktrace-lwp
Changes since 1.12: +3 -1 lines
Diff to previous 1.12 (colored)

#ifdef _KERNEL_OPT police; identd defines _KERNEL before some includes.

Revision 1.12 / (download) - annotate - [select for diffs], Mon Jun 23 11:01:49 2003 UTC (19 years, 7 months ago) by martin
Branch: MAIN
Changes since 1.11: +2 -1 lines
Diff to previous 1.11 (colored)

Make sure to include opt_foo.h if a defflag option FOO is used.

Revision 1.11 / (download) - annotate - [select for diffs], Tue Feb 25 23:29:53 2003 UTC (19 years, 11 months ago) by matt
Branch: MAIN
Changes since 1.10: +5 -1 lines
Diff to previous 1.10 (colored)

This file has a _KERNEL dependency on <machine/cpu.h>.  So include it.
[GENERIC.MP builds again.]

Revision 1.8.8.3 / (download) - annotate - [select for diffs], Fri Oct 18 02:40:30 2002 UTC (20 years, 3 months ago) by nathanw
Branch: nathanw_sa
CVS Tags: nathanw_sa_end
Changes since 1.8.8.2: +5 -5 lines
Diff to previous 1.8.8.2 (colored) to branchpoint 1.8 (colored) next main 1.9 (colored)

Catch up to -current.

Revision 1.8.2.1 / (download) - annotate - [select for diffs], Thu Oct 10 18:37:17 2002 UTC (20 years, 3 months ago) by jdolecek
Branch: kqueue
Changes since 1.8: +32 -15 lines
Diff to previous 1.8 (colored) next main 1.9 (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.10 / (download) - annotate - [select for diffs], Thu Oct 10 17:12:23 2002 UTC (20 years, 3 months ago) by thorpej
Branch: MAIN
CVS Tags: nathanw_sa_before_merge, nathanw_sa_base, kqueue-beforemerge, kqueue-base, kqueue-aftermerge, gmcgarry_ucred_base, gmcgarry_ucred, gmcgarry_ctxsw_base, gmcgarry_ctxsw, fvdl_fs64_base
Changes since 1.9: +5 -5 lines
Diff to previous 1.9 (colored)

Add missing register prefixes.

Revision 1.8.8.2 / (download) - annotate - [select for diffs], Tue Sep 17 21:18:28 2002 UTC (20 years, 4 months ago) by nathanw
Branch: nathanw_sa
Changes since 1.8.8.1: +174 -0 lines
Diff to previous 1.8.8.1 (colored) to branchpoint 1.8 (colored)

Catch up to -current.

Revision 1.9 / (download) - annotate - [select for diffs], Thu Sep 12 07:31:13 2002 UTC (20 years, 4 months ago) by matt
Branch: MAIN
Changes since 1.8: +28 -11 lines
Diff to previous 1.8 (colored)

Add non-_KERNEL variants so regress/sys/kern/lock will compile.

Revision 1.5.4.1 / (download) - annotate - [select for diffs], Thu Jun 21 19:38:16 2001 UTC (21 years, 7 months ago) by nathanw
Changes since 1.5: +101 -11 lines
Diff to previous 1.5 (colored) next main 1.6 (colored)

Catch up to -current.

Revision 1.8.8.1, Mon Jun 4 21:37:12 2001 UTC (21 years, 8 months ago) by nathanw
Branch: nathanw_sa
Changes since 1.8: +0 -157 lines
FILE REMOVED

file lock.h was added on branch nathanw_sa on 2002-09-17 21:18:28 +0000

Revision 1.8 / (download) - annotate - [select for diffs], Mon Jun 4 21:37:12 2001 UTC (21 years, 8 months ago) by ragge
Branch: MAIN
CVS Tags: thorpej-mips-cache-base, thorpej-mips-cache, thorpej-devvp-base3, thorpej-devvp-base2, thorpej-devvp-base, thorpej-devvp, pre-chs-ubcperf, post-chs-ubcperf, 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, gehenna-devsw-base, gehenna-devsw, eeh-devprop-base, eeh-devprop
Branch point for: nathanw_sa, kqueue
Changes since 1.7: +3 -2 lines
Diff to previous 1.7 (colored)

Add rudimentary multiprocessor support for DDB.

Revision 1.7 / (download) - annotate - [select for diffs], Mon Jun 4 15:37:05 2001 UTC (21 years, 8 months ago) by ragge
Branch: MAIN
Changes since 1.6: +53 -19 lines
Diff to previous 1.6 (colored)

Check for console printf's in spinlocks, per discussion on tech-smp.

Revision 1.6 / (download) - annotate - [select for diffs], Sun Jun 3 15:10:11 2001 UTC (21 years, 8 months ago) by ragge
Branch: MAIN
Changes since 1.5: +55 -6 lines
Diff to previous 1.5 (colored)

Implement spinlocks as subroutines instead of inlines.
Add SPINLOCK_SPIN_HOOK; the VAX has low-priority IPIs like Alpha.

Revision 1.5.2.2 / (download) - annotate - [select for diffs], Mon Nov 20 20:32:56 2000 UTC (22 years, 2 months ago) by bouyer
Branch: thorpej_scsipi
Changes since 1.5.2.1: +73 -0 lines
Diff to previous 1.5.2.1 (colored) to branchpoint 1.5 (colored) next main 1.6 (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.5.2.1, Sat Jul 1 06:41:06 2000 UTC (22 years, 7 months ago) by bouyer
Branch: thorpej_scsipi
Changes since 1.5: +0 -73 lines
FILE REMOVED

file lock.h was added on branch thorpej_scsipi on 2000-11-20 20:32:56 +0000

Revision 1.5 / (download) - annotate - [select for diffs], Sat Jul 1 06:41:06 2000 UTC (22 years, 7 months ago) by matt
Branch: MAIN
CVS Tags: thorpej_scsipi_nbase, thorpej_scsipi_beforemerge, thorpej_scsipi_base
Branch point for: thorpej_scsipi
Changes since 1.4: +7 -7 lines
Diff to previous 1.4 (colored)

GCC 2.96 wants the = constraint first.  Also change to be a bit more
efficient.  Instead of using indirect register access, change the
constraint to memory and use the value directly.  This allow PC-rel
access among other things.

Revision 1.4 / (download) - annotate - [select for diffs], Tue May 2 04:41:11 2000 UTC (22 years, 9 months ago) by thorpej
Branch: MAIN
CVS Tags: netbsd-1-5-base, 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, netbsd-1-5, minoura-xpg4dl-base, minoura-xpg4dl
Changes since 1.3: +7 -6 lines
Diff to previous 1.3 (colored)

Let each platform typedef the new __cpu_simple_lock_t, which should
be the most efficient type used for the atomic operations in the
simplelock structure, and should also be __volatile.

Revision 1.3 / (download) - annotate - [select for diffs], Mon May 1 12:09:32 2000 UTC (22 years, 9 months ago) by ragge
Branch: MAIN
Changes since 1.2: +5 -1 lines
Diff to previous 1.2 (colored)

#define	__SIMPLELOCK_LOCKED and __SIMPLELOCK_UNLOCKED.

Revision 1.2 / (download) - annotate - [select for diffs], Sat Apr 29 03:31:55 2000 UTC (22 years, 9 months ago) by thorpej
Branch: MAIN
Changes since 1.1: +13 -14 lines
Diff to previous 1.1 (colored)

Require that each each MACHINE/MACHINE_ARCH supply a lock.h.  This file
contains the values __SIMPLELOCK_LOCKED and __SIMPLELOCK_UNLOCKED, which
replace the old SIMPLELOCK_LOCKED and SIMPLELOCK_UNLOCKED.  These files
are also required to supply inline functions __cpu_simple_lock(),
__cpu_simple_lock_try(), and __cpu_simple_unlock() if locking is to be
supported on that platform (i.e. if MULTIPROCESSOR is defined in the
_KERNEL case).  Change these functions to take an int * (&alp->lock_data)
rather than the struct simplelock * itself.

These changes make it possible for userland to use the locking primitives
by including <machine/lock.h>.

Revision 1.1 / (download) - annotate - [select for diffs], Sun Mar 19 14:56:53 2000 UTC (22 years, 10 months ago) by ragge
Branch: MAIN

First cut of multiprocessor support for vax. Still much to do before
other CPUs than the master can spin up.

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>