The NetBSD Project

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

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

Request diff between arbitrary revisions


Default branch: MAIN


Revision 1.34 / (download) - annotate - [select for diffs], Sun Feb 13 13:41:17 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: +14 -1 lines
Diff to previous 1.33 (colored)

sparc: __cpu_simple_lock membar audit.

No functional change -- comments only, to justify the absence of
barriers with reference to chapter & verse.

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

Merge changes from current as of 20200406

Revision 1.33 / (download) - annotate - [select for diffs], Fri Nov 29 20:06:34 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.32: +1 -43 lines
Diff to previous 1.32 (colored)

Nix mb_* on sparc and sparc64.

Revision 1.31.44.1 / (download) - annotate - [select for diffs], Sun Dec 3 11:36:43 2017 UTC (5 years, 2 months ago) by jdolecek
Branch: tls-maxphys
Changes since 1.31: +3 -3 lines
Diff to previous 1.31 (colored) next main 1.32 (colored)

update from HEAD

Revision 1.32 / (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.31: +3 -3 lines
Diff to previous 1.31 (colored)

more const.

Revision 1.30.16.1 / (download) - annotate - [select for diffs], Mon Jun 2 13:22:41 2008 UTC (14 years, 8 months ago) by mjf
Branch: mjf-devfs2
Changes since 1.30: +1 -8 lines
Diff to previous 1.30 (colored) next main 1.31 (colored)

Sync with HEAD.

Revision 1.30.18.1 / (download) - annotate - [select for diffs], Sun May 18 12:32:47 2008 UTC (14 years, 8 months ago) by yamt
Branch: yamt-pf42
Changes since 1.30: +1 -8 lines
Diff to previous 1.30 (colored) next main 1.31 (colored)

sync with head.

Revision 1.30.20.1 / (download) - annotate - [select for diffs], Fri May 16 02:23:11 2008 UTC (14 years, 8 months ago) by yamt
Branch: yamt-nfs-mp
Changes since 1.30: +1 -8 lines
Diff to previous 1.30 (colored) next main 1.31 (colored)

sync with head.

Revision 1.31 / (download) - annotate - [select for diffs], Mon Apr 28 20:23:36 2008 UTC (14 years, 9 months ago) by martin
Branch: MAIN
CVS Tags: yamt-pf42-base4, yamt-pf42-base3, yamt-pf42-base2, 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-base2, yamt-nfs-mp-base11, yamt-nfs-mp-base10, wrstuden-revivesa-base-4, wrstuden-revivesa-base-3, wrstuden-revivesa-base-2, wrstuden-revivesa-base-1, wrstuden-revivesa-base, wrstuden-revivesa, 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, simonb-wapbl-nbase, simonb-wapbl-base, simonb-wapbl, 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, perseant-stdc-iso10646-base, perseant-stdc-iso10646, nick-nhusb-base-20170825, 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-nhusb, nick-hppapmap-base4, nick-hppapmap-base3, nick-hppapmap-base2, nick-hppapmap-base, nick-hppapmap, 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, 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, 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, mjf-devfs2-base, matt-premerge-20091211, matt-nb8-mediatek-base, matt-nb8-mediatek, matt-nb6-plus-nbase, matt-nb6-plus-base, matt-nb6-plus, 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-premerge-20101231, matt-mips64-base2, 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, hpcarm-cleanup-nbase, haad-nbase2, haad-dm-base2, haad-dm-base1, haad-dm-base, haad-dm, 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, ad-audiomp2-base, ad-audiomp2
Branch point for: tls-maxphys
Changes since 1.30: +1 -8 lines
Diff to previous 1.30 (colored)

Remove clause 3 and 4 from TNF licenses

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

sync with HEAD

Revision 1.18.6.3 / (download) - annotate - [select for diffs], Sat Oct 27 11:28:34 2007 UTC (15 years, 3 months ago) by yamt
Branch: yamt-lazymbuf
Changes since 1.18.6.2: +25 -1 lines
Diff to previous 1.18.6.2 (colored) to branchpoint 1.18 (colored) next main 1.19 (colored)

sync with head.

Revision 1.30 / (download) - annotate - [select for diffs], Wed Oct 17 19:57:13 2007 UTC (15 years, 3 months ago) by garbled
Branch: MAIN
CVS Tags: yamt-x86pmap-base4, yamt-pf42-baseX, yamt-pf42-base, yamt-nfs-mp-base, yamt-lazymbuf-base15, yamt-lazymbuf-base14, 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-nbase, matt-armv6-base, keiichi-mipv6-nbase, keiichi-mipv6-base, keiichi-mipv6, jmcneill-pm-base, jmcneill-base, hpcarm-cleanup-base, cube-autoconf-base, cube-autoconf, bouyer-xeni386-nbase, bouyer-xeni386-merge1, bouyer-xeni386-base, bouyer-xeni386, bouyer-xenamd64-base2, bouyer-xenamd64-base, ad-socklock-base1
Branch point for: yamt-pf42, yamt-nfs-mp, mjf-devfs2
Changes since 1.29: +1 -1 lines
Diff to previous 1.29 (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.28.4.1 / (download) - annotate - [select for diffs], Tue Oct 9 13:38:28 2007 UTC (15 years, 3 months ago) by ad
Branch: vmlocking
Changes since 1.28: +25 -1 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], Wed Oct 3 19:25:13 2007 UTC (15 years, 4 months ago) by garbled
Branch: ppcoea-renovation
Changes since 1.28: +25 -1 lines
Diff to previous 1.28 (colored) next main 1.29 (colored)

Sync with HEAD

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

Sync with HEAD.

Revision 1.29 / (download) - annotate - [select for diffs], Mon Sep 10 11:34:09 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.28: +25 -1 lines
Diff to previous 1.28 (colored)

Merge nick-csl-alignment.

Revision 1.28.16.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.28: +25 -1 lines
Diff to previous 1.28 (colored) next main 1.29 (colored)

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

Revision 1.27.2.1 / (download) - annotate - [select for diffs], Tue Feb 27 16:53:08 2007 UTC (15 years, 11 months ago) by yamt
Branch: yamt-idlelwp
Changes since 1.27: +5 -6 lines
Diff to previous 1.27 (colored) next main 1.28 (colored)

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

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

sync with head.

Revision 1.28 / (download) - annotate - [select for diffs], Sat Feb 17 19:30:33 2007 UTC (15 years, 11 months ago) by ad
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, ad-audiomp-base, ad-audiomp
Branch point for: vmlocking, ppcoea-renovation, nick-csl-alignment, matt-armv6, jmcneill-pm
Changes since 1.27: +5 -6 lines
Diff to previous 1.27 (colored)

Put a sock in it..

Revision 1.27 / (download) - annotate - [select for diffs], Fri Feb 16 15:42:02 2007 UTC (15 years, 11 months ago) by ad
Branch: MAIN
Branch point for: yamt-idlelwp
Changes since 1.26: +5 -7 lines
Diff to previous 1.26 (colored)

Pacify lint.

Revision 1.26 / (download) - annotate - [select for diffs], Thu Feb 15 15:27:53 2007 UTC (15 years, 11 months ago) by ad
Branch: MAIN
Changes since 1.25: +4 -1 lines
Diff to previous 1.25 (colored)

Pacify lint/gcc.

Revision 1.25 / (download) - annotate - [select for diffs], Sun Feb 11 15:41:31 2007 UTC (15 years, 11 months ago) by ad
Branch: MAIN
Changes since 1.24: +7 -7 lines
Diff to previous 1.24 (colored)

inline -> __inline

Revision 1.24 / (download) - annotate - [select for diffs], Fri Feb 9 21:55:12 2007 UTC (15 years, 11 months ago) by ad
Branch: MAIN
CVS Tags: post-newlock2-merge
Changes since 1.23: +45 -3 lines
Diff to previous 1.23 (colored)

Merge newlock2 to head.

Revision 1.23.14.3 / (download) - annotate - [select for diffs], Tue Feb 6 17:03:54 2007 UTC (15 years, 11 months ago) by ad
Branch: newlock2
Changes since 1.23.14.2: +23 -5 lines
Diff to previous 1.23.14.2 (colored) to branchpoint 1.23 (colored) next main 1.24 (colored)

Test for the presence of 'membar' by checking for __sparc_v9__.

Revision 1.23.14.2 / (download) - annotate - [select for diffs], Fri Jan 12 02:12:54 2007 UTC (16 years ago) by ad
Branch: newlock2
Changes since 1.23.14.1: +3 -1 lines
Diff to previous 1.23.14.1 (colored) to branchpoint 1.23 (colored)

Make sparc64 build again.

Revision 1.23.14.1 / (download) - annotate - [select for diffs], Fri Jan 12 01:47:51 2007 UTC (16 years ago) by ad
Branch: newlock2
Changes since 1.23: +23 -1 lines
Diff to previous 1.23 (colored)

sparc MD changes.

Revision 1.22.4.1 / (download) - annotate - [select for diffs], Sat Sep 9 02:43:23 2006 UTC (16 years, 4 months ago) by rpaulo
Branch: rpaulo-netinet-merge-pcb
Changes since 1.22: +6 -6 lines
Diff to previous 1.22 (colored) next main 1.23 (colored)

sync with head

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

sync with head.

Revision 1.22.6.1 / (download) - annotate - [select for diffs], Sat Apr 22 11:37:59 2006 UTC (16 years, 9 months ago) by simonb
Branch: simonb-timecounters
CVS Tags: simonb-timcounters-final
Changes since 1.22: +6 -6 lines
Diff to previous 1.22 (colored) next main 1.23 (colored)

Sync with head.

Revision 1.23 / (download) - annotate - [select for diffs], Sat Mar 4 03:39:02 2006 UTC (16 years, 11 months ago) by uwe
Branch: MAIN
CVS Tags: 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, rpaulo-netinet-merge-pcb-base, peter-altq-base, peter-altq, newlock2-nbase, newlock2-base, 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
Branch point for: newlock2
Changes since 1.22: +6 -6 lines
Diff to previous 1.22 (colored)

De-__P.

Revision 1.22 / (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
Branch point for: simonb-timecounters, rpaulo-netinet-merge-pcb
Changes since 1.21: +11 -11 lines
Diff to previous 1.21 (colored)

inline -> __inline

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

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

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

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

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

merge ktrace-lwp.

Revision 1.17.4.1 / (download) - annotate - [select for diffs], Fri Apr 29 11:28:23 2005 UTC (17 years, 9 months ago) by kent
Branch: kent-audio2
Changes since 1.17: +2 -2 lines
Diff to previous 1.17 (colored) next main 1.18 (colored)

sync with -current

Revision 1.14.2.1.2.1 / (download) - annotate - [select for diffs], Wed Mar 16 12:38:15 2005 UTC (17 years, 10 months ago) by tron
Branch: netbsd-2
CVS Tags: 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
Changes since 1.14.2.1: +2 -2 lines
Diff to previous 1.14.2.1 (colored) next main 1.14.2.2 (colored)

Pull up revision 1.18 (requested by chs in ticket #1159):
add the early-clobber modifier on the destination reg of ldstub.
in some implementations (eg. sun4c), the hardware modifies the destination
reg before checking for write permission on the memory location.  without
this change, gcc was using the same register for the address and the
destination, so if the store part of the instruction faulted, the address
was already gone when the instruction was retried after resolving the fault.
part of PR 25633, PR 25896.

Revision 1.14.2.2 / (download) - annotate - [select for diffs], Wed Mar 16 12:38:12 2005 UTC (17 years, 10 months ago) by tron
Branch: netbsd-2-0
CVS Tags: netbsd-2-0-3-RELEASE, netbsd-2-0-2-RELEASE
Changes since 1.14.2.1: +2 -2 lines
Diff to previous 1.14.2.1 (colored) to branchpoint 1.14 (colored) next main 1.15 (colored)

Pull up revision 1.18 (requested by chs in ticket #1159):
add the early-clobber modifier on the destination reg of ldstub.
in some implementations (eg. sun4c), the hardware modifies the destination
reg before checking for write permission on the memory location.  without
this change, gcc was using the same register for the address and the
destination, so if the store part of the instruction faulted, the address
was already gone when the instruction was retried after resolving the fault.
part of PR 25633, PR 25896.

Revision 1.17.6.1 / (download) - annotate - [select for diffs], Sat Feb 12 18:17:40 2005 UTC (17 years, 11 months ago) by yamt
Branch: yamt-km
Changes since 1.17: +2 -2 lines
Diff to previous 1.17 (colored) next main 1.18 (colored)

sync with head.

Revision 1.10.28.4 / (download) - annotate - [select for diffs], Fri Feb 4 11:44:56 2005 UTC (18 years ago) by skrll
Branch: ktrace-lwp
Changes since 1.10.28.3: +2 -2 lines
Diff to previous 1.10.28.3 (colored) to branchpoint 1.10 (colored) next main 1.11 (colored)

Sync with HEAD.

Revision 1.18 / (download) - annotate - [select for diffs], Thu Feb 3 16:17:21 2005 UTC (18 years ago) by chs
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, 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, ktrace-lwp-base, kent-audio2-base
Branch point for: yamt-lazymbuf
Changes since 1.17: +2 -2 lines
Diff to previous 1.17 (colored)

add the early-clobber modifier on the destination reg of ldstub.
in some implementations (eg. sun4c), the hardware modifies the destination
reg before checking for write permission on the memory location.  without
this change, gcc was using the same register for the address and the
destination, so if the store part of the instruction faulted, the address
was already gone when the instruction was retried after resolving the fault.
part of PR 25633, PR 25896.

Revision 1.10.28.3 / (download) - annotate - [select for diffs], Tue Sep 21 13:22:15 2004 UTC (18 years, 4 months ago) by skrll
Branch: ktrace-lwp
Changes since 1.10.28.2: +1 -1 lines
Diff to previous 1.10.28.2 (colored) to branchpoint 1.10 (colored)

Fix the sync with head I botched.

Revision 1.10.28.2 / (download) - annotate - [select for diffs], Sat Sep 18 14:40:38 2004 UTC (18 years, 4 months ago) by skrll
Branch: ktrace-lwp
Changes since 1.10.28.1: +0 -0 lines
Diff to previous 1.10.28.1 (colored) to branchpoint 1.10 (colored)

Sync with HEAD.

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

Sync with HEAD

Revision 1.14.2.1 / (download) - annotate - [select for diffs], Sat Apr 24 18:32:29 2004 UTC (18 years, 9 months ago) by jdc
Branch: netbsd-2-0
CVS Tags: netbsd-2-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-1-RELEASE
Branch point for: netbsd-2
Changes since 1.14: +12 -6 lines
Diff to previous 1.14 (colored)

Pull up revisions 1.15-1.17 (requested by pk in ticket #179)

Many fixes for issues with sparc multi-processor support (includes
fixes to make HyperSPARC MP work).

Revision 1.17 / (download) - annotate - [select for diffs], Tue Apr 20 08:48:03 2004 UTC (18 years, 9 months ago) by pk
Branch: MAIN
CVS Tags: yamt-km-base, kent-audio1-beforemerge, kent-audio1-base, kent-audio1
Branch point for: yamt-km, kent-audio2
Changes since 1.16: +4 -4 lines
Diff to previous 1.16 (colored)

Turn __CPU_SIMPLE_LOCK_INLINE into !__CPU_SIMPLE_LOCK_NOINLINE, so we don't
screw up user land.

Revision 1.16 / (download) - annotate - [select for diffs], Mon Apr 19 12:41:53 2004 UTC (18 years, 9 months ago) by pk
Branch: MAIN
Changes since 1.15: +2 -3 lines
Diff to previous 1.15 (colored)

__cpu_simple_lock() isn't a pure function.

Revision 1.15 / (download) - annotate - [select for diffs], Sun Apr 18 19:20:09 2004 UTC (18 years, 9 months ago) by pk
Branch: MAIN
Changes since 1.14: +13 -6 lines
Diff to previous 1.14 (colored)

Make inlining __cpu_simple_lock() optional. Add a version with a built-in
spin out counter that panics with a diagnostic.

Revision 1.14 / (download) - annotate - [select for diffs], Fri Dec 26 06:00:58 2003 UTC (19 years, 1 month ago) by mrg
Branch: MAIN
CVS Tags: netbsd-2-0-base
Branch point for: netbsd-2-0
Changes since 1.13: +13 -12 lines
Diff to previous 1.13 (colored)

convert __ldstub() from a ({}) macro into a properly static inline function.
the latter is not valid for C++ so says GCC3.

Revision 1.13 / (download) - annotate - [select for diffs], Sun Nov 16 11:22:30 2003 UTC (19 years, 2 months ago) by pk
Branch: MAIN
Changes since 1.12: +5 -4 lines
Diff to previous 1.12 (colored)

__cpu_simple_unlock: use __insn_barrier() instead of a "memory" clobber.

Revision 1.12 / (download) - annotate - [select for diffs], Sun Nov 9 21:04:44 2003 UTC (19 years, 2 months ago) by pk
Branch: MAIN
Changes since 1.11: +10 -2 lines
Diff to previous 1.11 (colored)

__cpu_simple_unlock: avoid instruction re-ordering by the compiler.

Revision 1.11 / (download) - annotate - [select for diffs], Fri Sep 26 22:46:01 2003 UTC (19 years, 4 months ago) by nathanw
Branch: MAIN
Changes since 1.10: +1 -11 lines
Diff to previous 1.10 (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.10.16.1 / (download) - annotate - [select for diffs], Tue Mar 19 05:13:51 2002 UTC (20 years, 10 months ago) by thorpej
Branch: newlock
Changes since 1.10: +5 -6 lines
Diff to previous 1.10 (colored) next main 1.11 (colored)

Change __cpu_simple_lock_t to a single byte.

Revision 1.6.2.1 / (download) - annotate - [select for diffs], Mon Nov 20 20:25:39 2000 UTC (22 years, 2 months ago) by bouyer
Branch: thorpej_scsipi
Changes since 1.6: +52 -38 lines
Diff to previous 1.6 (colored) next main 1.7 (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.10 / (download) - annotate - [select for diffs], Fri May 5 20:12:00 2000 UTC (22 years, 9 months ago) by hannken
Branch: MAIN
CVS Tags: thorpej_scsipi_nbase, thorpej_scsipi_beforemerge, thorpej_scsipi_base, 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, 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, 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, nathanw_sa_end, nathanw_sa_before_merge, nathanw_sa_base, nathanw_sa, minoura-xpg4dl-base, minoura-xpg4dl, kqueue-beforemerge, kqueue-base, kqueue-aftermerge, kqueue, ifpoll-base, gmcgarry_ucred_base, gmcgarry_ucred, gmcgarry_ctxsw_base, gmcgarry_ctxsw, gehenna-devsw-base, gehenna-devsw, fvdl_fs64_base, eeh-devprop-base, eeh-devprop
Branch point for: newlock, ktrace-lwp
Changes since 1.9: +5 -1 lines
Diff to previous 1.9 (colored)

Fix for lint during build of libc.

Revision 1.9 / (download) - annotate - [select for diffs], Tue May 2 04:41:11 2000 UTC (22 years, 9 months ago) by thorpej
Branch: MAIN
Changes since 1.8: +12 -9 lines
Diff to previous 1.8 (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.8 / (download) - annotate - [select for diffs], Sun Apr 30 22:15:30 2000 UTC (22 years, 9 months ago) by pk
Branch: MAIN
Changes since 1.7: +2 -2 lines
Diff to previous 1.7 (colored)

FIx declaration in __ldstub.

Revision 1.7 / (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.6: +45 -38 lines
Diff to previous 1.6 (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.3.8.1 / (download) - annotate - [select for diffs], Mon Aug 2 20:09:13 1999 UTC (23 years, 6 months ago) by thorpej
Branch: chs-ubc2
Changes since 1.3: +22 -20 lines
Diff to previous 1.3 (colored) next main 1.4 (colored)

Update from trunk.

Revision 1.6 / (download) - annotate - [select for diffs], Tue Jul 27 23:45:14 1999 UTC (23 years, 6 months ago) by thorpej
Branch: MAIN
CVS Tags: wrstuden-devbsize-base, wrstuden-devbsize-19991221, wrstuden-devbsize, fvdl-softdep-base, fvdl-softdep, comdex-fall-1999-base, comdex-fall-1999, chs-ubc2-newbase, chs-ubc2-base
Branch point for: thorpej_scsipi
Changes since 1.5: +2 -2 lines
Diff to previous 1.5 (colored)

Make a slight rearrangement in how <machine/lock.h> is included.

Revision 1.5 / (download) - annotate - [select for diffs], Tue Jul 27 22:22:33 1999 UTC (23 years, 6 months ago) by thorpej
Branch: MAIN
Changes since 1.4: +13 -6 lines
Diff to previous 1.4 (colored)

Define apporpriate an value for SIMPLELOCK_LOCKED, based on the
semantics of ldstub.

Revision 1.4 / (download) - annotate - [select for diffs], Tue Jul 27 21:45:41 1999 UTC (23 years, 6 months ago) by thorpej
Branch: MAIN
Changes since 1.3: +10 -15 lines
Diff to previous 1.3 (colored)

Prepend `cpu_' to the machine-dependent atomic locking primitivies.

Revision 1.3 / (download) - annotate - [select for diffs], Wed Nov 4 06:19:55 1998 UTC (24 years, 3 months ago) by chs
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, kenh-if-detach-base, kenh-if-detach, kame_14_19990705, kame_14_19990628, kame_141_19991130, kame, chs-ubc-base, chs-ubc
Branch point for: chs-ubc2
Changes since 1.2: +7 -1 lines
Diff to previous 1.2 (colored)

LOCKDEBUG enhancements for non-MP:
keep a list of locked locks.
use this to print where the lock was locked
when we either go to sleep with a lock held
or try to free a locked lock.

Revision 1.2 / (download) - annotate - [select for diffs], Mon Oct 5 19:58:19 1998 UTC (24 years, 4 months ago) by pk
Branch: MAIN
Changes since 1.1: +16 -2 lines
Diff to previous 1.1 (colored)

If a lock is held do not spin in a read/write loop but just read the lock
until it is released. This is easier on the bus cache coherency logic.

Revision 1.1 / (download) - annotate - [select for diffs], Sun Sep 27 14:31:18 1998 UTC (24 years, 4 months ago) by pk
Branch: MAIN

sparc spin lock functions.

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>