The NetBSD Project

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

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

Request diff between arbitrary revisions


Default branch: MAIN


Revision 1.53 / (download) - annotate - [select for diffs], Sun Apr 7 17:08:00 2024 UTC (9 days, 5 hours ago) by rillig
Branch: MAIN
CVS Tags: HEAD
Changes since 1.52: +6 -3 lines
Diff to previous 1.52 (colored) to selected 1.21 (colored)

sparc: fix typos and omissions in PSTATE_BITS and ECC_AFR_BITS

Fixes PR 57869.

Revision 1.50.4.1 / (download) - annotate - [select for diffs], Wed Aug 9 17:42:02 2023 UTC (8 months, 1 week ago) by martin
Branch: netbsd-10
CVS Tags: netbsd-10-0-RELEASE, netbsd-10-0-RC6, netbsd-10-0-RC5, netbsd-10-0-RC4, netbsd-10-0-RC3, netbsd-10-0-RC2, netbsd-10-0-RC1
Changes since 1.50: +8 -6 lines
Diff to previous 1.50 (colored) next main 1.51 (colored) to selected 1.21 (colored)

Pull up following revision(s) (requested by maya in ticket #316):

	sys/arch/m68k/include/mutex.h: revision 1.13
	sys/arch/arm/include/cpu.h: revision 1.125
	sys/arch/sun68k/include/intr.h: revision 1.21
	sys/arch/arm/include/mutex.h: revision 1.28
	sys/sys/rwlock.h: revision 1.18
	sys/arch/powerpc/include/mutex.h: revision 1.7
	sys/arch/arm/include/mutex.h: revision 1.29
	sys/arch/powerpc/include/mutex.h: revision 1.8
	sys/uvm/uvm_param.h: revision 1.42
	sys/sys/ksem.h: revision 1.16
	sys/arch/x86/include/mutex.h: revision 1.10
	sys/sys/proc.h: revision 1.372
	sys/sys/ksem.h: revision 1.17
	sys/arch/ia64/include/mutex.h: revision 1.8
	sys/arch/evbarm/include/intr.h: revision 1.29
	sys/sys/lua.h: revision 1.9
	sys/arch/next68k/include/intr.h: revision 1.23
	sys/arch/ia64/include/mutex.h: revision 1.9
	sys/arch/hp300/include/intr.h: revision 1.35
	sys/arch/hp300/include/intr.h: revision 1.36
	sys/arch/sparc/include/cpu.h: revision 1.111
	sys/arch/hppa/include/mutex.h: revision 1.16
	sys/arch/vax/include/intr.h: revision 1.31
	sys/arch/hppa/include/mutex.h: revision 1.17
	sys/arch/news68k/include/intr.h: revision 1.28
	sys/arch/hppa/include/mutex.h: revision 1.18
	sys/arch/hppa/include/intr.h: revision 1.3
	sys/arch/hppa/include/mutex.h: revision 1.19
	sys/arch/hppa/include/intr.h: revision 1.4
	sys/sys/sched.h: revision 1.92
	sys/opencrypto/cryptodev.h: revision 1.51
	sys/arch/vax/include/mutex.h: revision 1.20
	sys/arch/sparc64/include/mutex.h: revision 1.10
	sys/arch/ia64/include/sapicvar.h: revision 1.2
	sys/arch/riscv/include/mutex.h: revision 1.5
	sys/arch/amiga/dev/grfabs_cc.c: revision 1.39
	sys/external/bsd/drm2/include/linux/idr.h: revision 1.11
	sys/arch/riscv/include/mutex.h: revision 1.6
	sys/ddb/files.ddb: revision 1.16
	sys/arch/mac68k/include/intr.h: revision 1.32
	share/man/man4/ddb.4: revision 1.203
	sys/ddb/db_command.c: revision 1.183
	sys/arch/mips/include/mutex.h: revision 1.10
	sys/ddb/db_command.c: revision 1.184
	sys/arch/x68k/include/intr.h: revision 1.22
	sys/arch/sparc/include/psl.h: revision 1.51
	sys/arch/or1k/include/mutex.h: revision 1.4
	sys/arch/mips/include/mutex.h: revision 1.11
	sys/arch/arm/xscale/pxa2x0_intr.h: revision 1.16
	sys/arch/sparc64/include/cpu.h: revision 1.134
	sys/arch/sparc/include/psl.h: revision 1.52
	sys/arch/or1k/include/mutex.h: revision 1.5
	sys/arch/mvme68k/include/intr.h: revision 1.22
	sys/arch/luna68k/include/intr.h: revision 1.16
	external/cddl/osnet/sys/sys/kcondvar.h: revision 1.6
	sys/arch/sparc/include/mutex.h: revision 1.12
	sys/arch/sparc/include/mutex.h: revision 1.13
	sys/arch/usermode/include/mutex.h: revision 1.5
	sys/arch/usermode/include/mutex.h: revision 1.6
	sys/kern/kern_core.c: revision 1.38
	usr.sbin/crash/Makefile: revision 1.49
	sys/arch/amiga/include/intr.h: revision 1.23
	sys/arch/alpha/include/mutex.h: revision 1.12
	sys/arch/alpha/include/mutex.h: revision 1.13
	sys/arch/evbarm/lubbock/sacc_obio.c: revision 1.16
	sys/ddb/ddb.h: revision 1.6
	sys/arch/sparc64/include/mutex.h: revision 1.8
	sys/arch/sh3/include/mutex.h: revision 1.12
	sys/arch/evbarm/lubbock/sacc_obio.c: revision 1.17
	sys/ddb/db_syncobj.c: revision 1.1
	sys/arch/vax/include/mutex.h: revision 1.18
	sys/arch/sparc64/include/psl.h: revision 1.63
	sys/arch/sparc64/include/mutex.h: revision 1.9
	sys/arch/sh3/include/mutex.h: revision 1.13
	sys/arch/evbarm/lubbock/obio.c: revision 1.13
	sys/arch/atari/include/intr.h: revision 1.23
	sys/ddb/db_syncobj.c: revision 1.2
	sys/arch/vax/include/mutex.h: revision 1.19
	sys/arch/evbarm/g42xxeb/obio.c: revision 1.14
	sys/arch/evbarm/g42xxeb/obio.c: revision 1.15
	sys/arch/cesfic/include/intr.h: revision 1.14
	sys/ddb/db_syncobj.h: revision 1.1
	sys/arch/x86/include/cpu.h: revision 1.134
	sys/arch/evbarm/g42xxeb/obio.c: revision 1.16
	sys/arch/cesfic/include/intr.h: revision 1.15
	sys/arch/arm/xscale/pxa2x0_intr.c: revision 1.26
	sys/sys/cpu_data.h: revision 1.54
	sys/arch/m68k/include/mutex.h: revision 1.12
	sys/arch/ia64/acpi/madt.c: revision 1.6

sys/rwlock.h: Make this more self-contained for bool.

machine/mutex.h: Sprinkle includes so this can be used by crash(8).

ddb: New `show all tstiles' command.
Shows who's waiting for which locks and what the owner is up to.

Include psl.h for ipl_cookie_t if __MUTEX_PRIVATE

sys: Rip <sys/resourcevar.h> out of <uvm/uvm_param.h>.

And thus out of <sys/param.h>, which is exceedingly overused and
fragile and delenda est.

Should fix (some) issues with the recent inclusion of machine/lock.h
in various machine/mutex.h files.

arm/mutex.h: Need machine/intr.h, machine/lock.h.

For ipl_cookie_t and __cpu_simple_lock_t.
evbarm/intr.h: Define ipl_cookie_t before including ARM_INTR_IMPL.

Otherwise arm/mutex.h doesn't work, due to a cyclic dependency which
should really be fixed.
opencrypto/cryptodev.h: Fix includes.
- Move sys/condvar.h under #ifdef _KERNEL.
- Add some other necessary includes and forward declarations.
- Sort.

hp300/intr.h: Fix missing includes.
linux/idr.h: Need <sys/mutex.h> for kmutex_t.
amiga/intr.h: Don't define spl*() functions if !_KERNEL.

This is used by crash(8) now, and what's important is ipl_cookie_t.
cesfic/intr.h: Expose ipl_cookie_t to userland for crash(8).
cesfic/intr.h: Expose ipl_cookie_t to userland only with _KMEMUSER.

Probably not necessary but let's be a little more cautious about
this.

atari/intr.h: Expose ipl_cookie_t with _KMEMUSER for crash(8).

arm/cpu.h: Need sys/param.h for COHERENCY_UNIT.

Nix machine/param.h -- not meant to be used directly, pulled in by
sys/param.h.

Move the definition of ipl_cookie_t out of the kernel-only sections,
some _KMEMUSER applications need it.

ddb: Cast pointer to uintptr_t first before db_expr_t.

hppa/intr.h: Expose ipl_cookie_t to _KMEMUSER for crash(8).

luna68k/intr.h: Expose ipl_cookie_t to _KMEMUSER for crash(8).

mvme68k/intr.h: Expose ipl_cookie_t to _KMEMUSER for crash(8).

news68k/intr.h: Fix includes.  Put some definitions under _KERNEL.

next68k/intr.h: Expose ipl_cookie_t to _KMEMUSER for crash(8).

sys/ksem.h: Hack around fstat(8) abuse of _KERNEL.

sun68k/intr.h: Expose ipl_cookie_t to _KMEMUSER for crash(8).

vax/intr.h: Expose ipl_cookie_t to _KMEMUSER for crash(8).

x68k/intr.h: Put functions under _KERNEL so crash(8) can use this.

Make ipl_cookie_t visible for _KMEMUSER userland applications.

fix editor mishap in previous

Explicitly include <sys/mutex.h> for kmutex_t.

Replace kmutex_t * (which may be undefined here) with struct kmutex *,
suggested by Taylor.

hp300/intr.h: Put most of this under #ifdef _KERNEL.
Only ipl_cookie_t really needs to be exposed now, for crash(8).

mac68k/intr.h: Expose ipl_cookie_t to _KMEMUSER for crash(8).
Make inclusion of sys/intr.h explicit for spl*.

fix hppa and vax builds.

machine/lock.h isn't necessary for __cpu_simple_lock_t, it's in
sys/types.h.  avoids cpu_data.h vs sched.h include order issues.

move the hppa ipl_t typedef with the moved usage of it.
machine/mutex.h: Sprinkle sys/types.h, omit machine/lock.h.

Turns out machine/lock.h is not needed for __cpu_simple_lock_t, which
always comes from sys/types.h.  And, really, sys/types.h (or at least
sys/stdint.h) is needed for uintN_t and uintptr_t.

ddb: Cast pointer to uintptr_t, then to db_expr_t.
Avoids warnings about conversion between pointer and integer of
different size on some architectures.

re-fix hppa builds.

this file uses __cpu_simple_lock(), not just the underlying type,
so it does need machine/lock.h.

Break cycle by using `struct kmutex *' instead of `kmutex_t *'.
sys/sched.h included sys/mutex.h
which includes sys/intr.h
which includes machine/intr.h
which on cats includes arm/footbridge/footbridge_intr.h
which includes arm/cpu.h
which includes sys/cpu_data.h
which includes sys/sched.h

But there was never any real need for sys/mutex.h in sys/sched.h,
because it only uses pointers to the opaque struct kmutex.  Cycle
broken by using `struct kmutex *' instead of pulling in sys/mutex.h
for the definition of kmutex_t.

Side effect: This revealed that sys/cpu_data.h needed sys/intr.h
(which was pulled in accidentally by sys/mutex.h via sys/sched.h) for
SOFTINT_COUNT.  Also revealed some other machine/cpu.h header files
were missing includes of sys/mutex.h for kmutex_t.

ia64: Need sys/types.h for u_int, vaddr_t; sys/mutex.h for kmutex_t.

explicitly include no longer implicitly included sys/mutex.h.

arm/xscale: Use sys/bitops.h fls32 - 1 instead of 31 - __builtin_clz.
Sidesteps namespace collision with `#define bits ...' in net/zlib.c.

complete the previous - there were two calls to find_first_bit() to fix.

arm/xscale: Missed a spot with previous find_first_bit commit.

evbarm/g42xxeb: Fix off-by-one in previous.

The original find_first_bit(x) was 31 - __builtin_clz((uint32_t)x),
which is equivalent to fls32(x) - 1, not to fls32(x).

Note that fls32 is 1-based and returns 0 for x=0.

Revision 1.52 / (download) - annotate - [select for diffs], Tue Jul 11 13:10:08 2023 UTC (9 months ago) by martin
Branch: MAIN
CVS Tags: thorpej-ifq-base, thorpej-ifq, thorpej-altq-separation-base, thorpej-altq-separation
Changes since 1.51: +2 -2 lines
Diff to previous 1.51 (colored) to selected 1.21 (colored)

fix editor mishap in previous

Revision 1.51 / (download) - annotate - [select for diffs], Tue Jul 11 13:06:23 2023 UTC (9 months ago) by martin
Branch: MAIN
Changes since 1.50: +8 -6 lines
Diff to previous 1.50 (colored) to selected 1.21 (colored)

Make ipl_cookie_t visible for _KMEMUSER userland applications.

Revision 1.50 / (download) - annotate - [select for diffs], Tue Nov 2 11:26:04 2021 UTC (2 years, 5 months ago) by ryo
Branch: MAIN
CVS Tags: netbsd-10-base, bouyer-sunxi-drm-base, bouyer-sunxi-drm
Branch point for: netbsd-10
Changes since 1.49: +3 -3 lines
Diff to previous 1.49 (colored) to selected 1.21 (colored)

In order to prevent _mcount() from being recursively called when built with COPTS=-O0,
sprinkle `__always_inline' to make _mcount() be generated as a single function.

Revision 1.48.12.1 / (download) - annotate - [select for diffs], Sun Dec 3 11:36:43 2017 UTC (6 years, 4 months ago) by jdolecek
Branch: tls-maxphys
Changes since 1.48: +3 -3 lines
Diff to previous 1.48 (colored) next main 1.49 (colored) to selected 1.21 (colored)

update from HEAD

Revision 1.48.30.1 / (download) - annotate - [select for diffs], Sun May 29 08:44:18 2016 UTC (7 years, 10 months ago) by skrll
Branch: nick-nhusb
Changes since 1.48: +3 -3 lines
Diff to previous 1.48 (colored) next main 1.49 (colored) to selected 1.21 (colored)

Sync with HEAD

Revision 1.49 / (download) - annotate - [select for diffs], Wed May 18 08:16:04 2016 UTC (7 years, 11 months ago) by nakayama
Branch: MAIN
CVS Tags: tls-maxphys-base-20171202, 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, prg-localcount2-base3, prg-localcount2-base2, prg-localcount2-base1, prg-localcount2-base, prg-localcount2, phil-wifi-base, phil-wifi-20200421, phil-wifi-20200411, phil-wifi-20200406, phil-wifi-20191119, phil-wifi-20190609, phil-wifi, 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-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, 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, 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, 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, localcount-20160914, jdolecek-ncq-base, jdolecek-ncq, isaki-audio2-base, isaki-audio2, 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, bouyer-socketcan-base1, bouyer-socketcan-base, bouyer-socketcan, ad-namecache-base3, ad-namecache-base2, ad-namecache-base1, ad-namecache-base, ad-namecache
Changes since 1.48: +3 -3 lines
Diff to previous 1.48 (colored) to selected 1.21 (colored)

Fix (unused) pstate mask bits in tstate and comment.

Revision 1.48 / (download) - annotate - [select for diffs], Sun Aug 28 22:30:09 2011 UTC (12 years, 7 months ago) by mrg
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, riastradh-drm2-base2, riastradh-drm2-base1, riastradh-drm2-base, riastradh-drm2, 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, 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, matt-nb6-plus-nbase, matt-nb6-plus-base, matt-nb6-plus, khorben-n900, 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, agc-symver-base, agc-symver
Branch point for: tls-maxphys, nick-nhusb
Changes since 1.47: +7 -7 lines
Diff to previous 1.47 (colored) to selected 1.21 (colored)

apply some always_inline attribute to setpsr and spl*.  while i am
not yet sure exactly why this is necessary, but does avoid crashes
seen on sparc INSTALL with gcc 4.5.

Revision 1.47 / (download) - annotate - [select for diffs], Sat Jul 16 11:15:52 2011 UTC (12 years, 9 months ago) by nakayama
Branch: MAIN
Changes since 1.46: +7 -6 lines
Diff to previous 1.46 (colored) to selected 1.21 (colored)

Bring some fixes and minor differences from sparc64 version.

Revision 1.46 / (download) - annotate - [select for diffs], Fri Jul 15 19:30:08 2011 UTC (12 years, 9 months ago) by riz
Branch: MAIN
Changes since 1.45: +3 -3 lines
Diff to previous 1.45 (colored) to selected 1.21 (colored)

BLOCK_SIZE->SPARC64_BLOCK_SIZE
BLOCK_ALIGN->SPARC64_BLOCK_ALIGN

XXX these values are unused in sparc;  this is merely to keep the sparc
and sparc64 versions of psl.h in sync, and to allow sparc to build again.

Revision 1.44.62.1.2.1 / (download) - annotate - [select for diffs], Wed Apr 21 00:33:47 2010 UTC (13 years, 11 months ago) by matt
Branch: matt-nb5-mips64
CVS Tags: matt-nb5-mips64-premerge-20101231, matt-nb5-mips64-k15
Changes since 1.44.62.1: +1 -1 lines
Diff to previous 1.44.62.1 (colored) next main 1.45 (colored) to selected 1.21 (colored)

sync to netbsd-5

Revision 1.44.46.1 / (download) - annotate - [select for diffs], Sat Jun 20 07:20:09 2009 UTC (14 years, 10 months ago) by yamt
Branch: yamt-nfs-mp
Changes since 1.44: +6 -6 lines
Diff to previous 1.44 (colored) next main 1.45 (colored) to selected 1.21 (colored)

sync with head

Revision 1.44.62.1 / (download) - annotate - [select for diffs], Mon May 18 19:55:34 2009 UTC (14 years, 11 months ago) by bouyer
Branch: netbsd-5-0
CVS Tags: netbsd-5-0-2-RELEASE, netbsd-5-0-1-RELEASE, matt-nb5-mips64-u2-k2-k4-k7-k8-k9, matt-nb5-mips64-u1-k1-k5, matt-nb5-mips64-premerge-20091211, matt-nb4-mips64-k7-u2a-k9b
Branch point for: matt-nb5-mips64
Changes since 1.44: +6 -6 lines
Diff to previous 1.44 (colored) next main 1.45 (colored) to selected 1.21 (colored)

Pull up following revision(s) (requested by martin in ticket #764):
	sys/arch/sparc/include/psl.h: revision 1.45
Add memory clobbers to the inline assembler modifying/testing the %psr
register, to avoid the compiler reordering instructions out of critical
sections. Should fix PR port-sparc/41372.

Revision 1.44.56.1 / (download) - annotate - [select for diffs], Mon May 18 19:54:56 2009 UTC (14 years, 11 months ago) by bouyer
Branch: netbsd-5
CVS Tags: 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, matt-nb5-pq3-base, matt-nb5-pq3
Changes since 1.44: +6 -6 lines
Diff to previous 1.44 (colored) next main 1.45 (colored) to selected 1.21 (colored)

Pull up following revision(s) (requested by martin in ticket #764):
	sys/arch/sparc/include/psl.h: revision 1.45
Add memory clobbers to the inline assembler modifying/testing the %psr
register, to avoid the compiler reordering instructions out of critical
sections. Should fix PR port-sparc/41372.

Revision 1.40.18.1 / (download) - annotate - [select for diffs], Mon May 18 18:23:47 2009 UTC (14 years, 11 months ago) by bouyer
Branch: netbsd-4-0
Changes since 1.40: +5 -5 lines
Diff to previous 1.40 (colored) next main 1.41 (colored) to selected 1.21 (colored)

Pull up following revision(s) (requested by martin in ticket #1317):
	sys/arch/sparc/include/psl.h: revision 1.45
Add memory clobbers to the inline assembler modifying/testing the %psr
register, to avoid the compiler reordering instructions out of critical
sections. Should fix PR port-sparc/41372.

Revision 1.40.12.1 / (download) - annotate - [select for diffs], Mon May 18 18:23:13 2009 UTC (14 years, 11 months ago) by bouyer
Branch: netbsd-4
Changes since 1.40: +5 -5 lines
Diff to previous 1.40 (colored) next main 1.41 (colored) to selected 1.21 (colored)

Pull up following revision(s) (requested by martin in ticket #1317):
	sys/arch/sparc/include/psl.h: revision 1.45
Add memory clobbers to the inline assembler modifying/testing the %psr
register, to avoid the compiler reordering instructions out of critical
sections. Should fix PR port-sparc/41372.

Revision 1.45 / (download) - annotate - [select for diffs], Sat May 16 17:16:12 2009 UTC (14 years, 11 months ago) by martin
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-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, rmind-uvmplock-nbase, rmind-uvmplock-base, rmind-uvmplock, matt-premerge-20091211, matt-mips64-premerge-20101231, jymxensuspend-base, jym-xensuspend-nbase, jym-xensuspend-base, jruoho-x86intr-base, jruoho-x86intr, cherry-xenmp-base, cherry-xenmp, bouyer-quota2-nbase, bouyer-quota2-base, bouyer-quota2
Changes since 1.44: +6 -6 lines
Diff to previous 1.44 (colored) to selected 1.21 (colored)

Add memory clobbers to the inline assembler modifying/testing the %psr
register, to avoid the compiler reordering instructions out of critical
sections. Should fix PR port-sparc/41372.

Revision 1.43.2.1 / (download) - annotate - [select for diffs], Tue Feb 27 16:53:09 2007 UTC (17 years, 1 month ago) by yamt
Branch: yamt-idlelwp
Changes since 1.43: +3 -4 lines
Diff to previous 1.43 (colored) next main 1.44 (colored) to selected 1.21 (colored)

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

Revision 1.36.2.3 / (download) - annotate - [select for diffs], Mon Feb 26 09:08:17 2007 UTC (17 years, 1 month ago) by yamt
Branch: yamt-lazymbuf
Changes since 1.36.2.2: +3 -5 lines
Diff to previous 1.36.2.2 (colored) to branchpoint 1.36 (colored) next main 1.37 (colored) to selected 1.21 (colored)

sync with head.

Revision 1.44 / (download) - annotate - [select for diffs], Mon Feb 19 02:57:40 2007 UTC (17 years, 2 months ago) by mrg
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-base4, yamt-nfs-mp-base3, 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-4, wrstuden-revivesa-base-3, wrstuden-revivesa-base-2, wrstuden-revivesa-base-1, wrstuden-revivesa-base, wrstuden-revivesa, 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-hppapmap-base4, nick-hppapmap-base3, nick-hppapmap-base2, nick-hppapmap-base, nick-hppapmap, nick-csl-alignment-base5, nick-csl-alignment-base, nick-csl-alignment, netbsd-5-base, netbsd-5-0-RELEASE, netbsd-5-0-RC4, netbsd-5-0-RC3, netbsd-5-0-RC2, netbsd-5-0-RC1, mjf-ufs-trans-base, mjf-ufs-trans, mjf-devfs2-base, mjf-devfs2, mjf-devfs-base, mjf-devfs, matt-mips64-base2, matt-mips64-base, matt-mips64, matt-armv6-prevmlocking, matt-armv6-nbase, matt-armv6-base, matt-armv6, keiichi-mipv6-nbase, keiichi-mipv6-base, keiichi-mipv6, jym-xensuspend, jmcneill-pm-base, jmcneill-pm, jmcneill-base, hpcarm-cleanup-nbase, hpcarm-cleanup-base, hpcarm-cleanup, haad-nbase2, haad-dm-base2, haad-dm-base1, haad-dm-base, haad-dm, 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, ad-audiomp2-base, ad-audiomp2, ad-audiomp-base, ad-audiomp
Branch point for: yamt-nfs-mp, netbsd-5-0, netbsd-5
Changes since 1.43: +3 -4 lines
Diff to previous 1.43 (colored) to selected 1.21 (colored)

remove a redundant variable from spl0().

Revision 1.43 / (download) - annotate - [select for diffs], Fri Feb 16 02:53:51 2007 UTC (17 years, 2 months ago) by ad
Branch: MAIN
Branch point for: yamt-idlelwp
Changes since 1.42: +1 -2 lines
Diff to previous 1.42 (colored) to selected 1.21 (colored)

Remove spllowersoftclock() and CLKF_BASEPRI(), and always dispatch callouts
via a soft interrupt. In the near future, softclock will be run from process
context.

Revision 1.40.8.1 / (download) - annotate - [select for diffs], Fri Jan 12 01:00:59 2007 UTC (17 years, 3 months ago) by ad
Branch: newlock2
Changes since 1.40: +20 -7 lines
Diff to previous 1.40 (colored) next main 1.41 (colored) to selected 1.21 (colored)

Sync with head.

Revision 1.36.2.2 / (download) - annotate - [select for diffs], Sat Dec 30 20:46:58 2006 UTC (17 years, 3 months ago) by yamt
Branch: yamt-lazymbuf
Changes since 1.36.2.1: +20 -7 lines
Diff to previous 1.36.2.1 (colored) to branchpoint 1.36 (colored) to selected 1.21 (colored)

sync with head.

Revision 1.42 / (download) - annotate - [select for diffs], Tue Dec 26 15:22:44 2006 UTC (17 years, 3 months ago) by ad
Branch: MAIN
CVS Tags: post-newlock2-merge, newlock2-nbase, newlock2-base
Changes since 1.41: +2 -2 lines
Diff to previous 1.41 (colored) to selected 1.21 (colored)

Define ipl_t as uint8_t so that it can be packed into a word with a lock
byte. Ok yamt@.

Revision 1.41 / (download) - annotate - [select for diffs], Thu Dec 21 15:55:25 2006 UTC (17 years, 3 months ago) by yamt
Branch: MAIN
Changes since 1.40: +20 -7 lines
Diff to previous 1.40 (colored) to selected 1.21 (colored)

merge yamt-splraiseipl branch.

	- finish implementing splraiseipl (and makeiplcookie).
	  http://mail-index.NetBSD.org/tech-kern/2006/07/01/0000.html
	- complete workqueue(9) and fix its ipl problem, which is reported
	  to cause audio skipping.
	- fix netbt (at least compilation problems) for some ports.
	- fix PR/33218.

Revision 1.40.10.1 / (download) - annotate - [select for diffs], Tue Sep 19 10:52:34 2006 UTC (17 years, 7 months ago) by yamt
Branch: yamt-splraiseipl
Changes since 1.40: +19 -6 lines
Diff to previous 1.40 (colored) next main 1.41 (colored) to selected 1.21 (colored)

implement new api for sparc.

Revision 1.38.4.1 / (download) - annotate - [select for diffs], Sat Sep 9 02:43:24 2006 UTC (17 years, 7 months ago) by rpaulo
Branch: rpaulo-netinet-merge-pcb
Changes since 1.38: +15 -48 lines
Diff to previous 1.38 (colored) next main 1.39 (colored) to selected 1.21 (colored)

sync with head

Revision 1.36.2.1 / (download) - annotate - [select for diffs], Wed Jun 21 14:56:12 2006 UTC (17 years, 10 months ago) by yamt
Branch: yamt-lazymbuf
Changes since 1.36: +24 -57 lines
Diff to previous 1.36 (colored) to selected 1.21 (colored)

sync with head.

Revision 1.38.6.2 / (download) - annotate - [select for diffs], Thu Jun 1 22:35:25 2006 UTC (17 years, 10 months ago) by kardel
Branch: simonb-timecounters
CVS Tags: simonb-timcounters-final
Changes since 1.38.6.1: +8 -41 lines
Diff to previous 1.38.6.1 (colored) next main 1.39 (colored) to selected 1.21 (colored)

Sync with head.

Revision 1.39.6.1 / (download) - annotate - [select for diffs], Wed May 24 15:48:22 2006 UTC (17 years, 10 months ago) by tron
Branch: peter-altq
Changes since 1.39: +8 -41 lines
Diff to previous 1.39 (colored) next main 1.40 (colored) to selected 1.21 (colored)

Merge 2006-05-24 NetBSD-current into the "peter-altq" branch.

Revision 1.39.2.1 / (download) - annotate - [select for diffs], Wed May 24 10:57:14 2006 UTC (17 years, 10 months ago) by yamt
Branch: yamt-pdpolicy
Changes since 1.39: +8 -41 lines
Diff to previous 1.39 (colored) next main 1.40 (colored) to selected 1.21 (colored)

sync with head.

Revision 1.39.4.1 / (download) - annotate - [select for diffs], Thu May 11 23:27:03 2006 UTC (17 years, 11 months ago) by elad
Branch: elad-kernelauth
Changes since 1.39: +8 -41 lines
Diff to previous 1.39 (colored) next main 1.40 (colored) to selected 1.21 (colored)

sync with head

Revision 1.40 / (download) - annotate - [select for diffs], Thu May 4 12:21:18 2006 UTC (17 years, 11 months ago) by yamt
Branch: MAIN
CVS Tags: yamt-splraiseipl-base5, yamt-splraiseipl-base4, yamt-splraiseipl-base3, yamt-splraiseipl-base2, yamt-splraiseipl-base, yamt-pdpolicy-base9, yamt-pdpolicy-base8, yamt-pdpolicy-base7, yamt-pdpolicy-base6, yamt-pdpolicy-base5, wrstuden-fixsa-newbase, wrstuden-fixsa-base-1, wrstuden-fixsa-base, wrstuden-fixsa, simonb-timecounters-base, rpaulo-netinet-merge-pcb-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, matt-nb4-arm-base, matt-nb4-arm, gdamore-uart-base, gdamore-uart, elad-kernelauth-base, chap-midi-nbase, chap-midi-base, chap-midi, abandoned-netbsd-4-base, abandoned-netbsd-4
Branch point for: yamt-splraiseipl, newlock2, netbsd-4-0, netbsd-4
Changes since 1.39: +8 -41 lines
Diff to previous 1.39 (colored) to selected 1.21 (colored)

implement splraiseipl() for sparc.
reviewed by Martin Husemann.

while i'm here, use macros for some MD constants (eg. IPL_ZS)
as suggested by Havard Eidnes.

Revision 1.38.6.1 / (download) - annotate - [select for diffs], Sat Apr 22 11:37:59 2006 UTC (17 years, 11 months ago) by simonb
Branch: simonb-timecounters
Changes since 1.38: +9 -9 lines
Diff to previous 1.38 (colored) to selected 1.21 (colored)

Sync with head.

Revision 1.38.2.1 / (download) - annotate - [select for diffs], Sat Feb 18 15:38:47 2006 UTC (18 years, 2 months ago) by yamt
Branch: yamt-uio_vmspace
Changes since 1.38: +9 -9 lines
Diff to previous 1.38 (colored) next main 1.39 (colored) to selected 1.21 (colored)

sync with head.

Revision 1.39 / (download) - annotate - [select for diffs], Thu Feb 16 20:17:15 2006 UTC (18 years, 2 months ago) by perry
Branch: MAIN
CVS Tags: yamt-uio_vmspace-base5, yamt-pdpolicy-base4, yamt-pdpolicy-base3, yamt-pdpolicy-base2, yamt-pdpolicy-base, peter-altq-base
Branch point for: yamt-pdpolicy, peter-altq, elad-kernelauth
Changes since 1.38: +9 -9 lines
Diff to previous 1.38 (colored) to selected 1.21 (colored)

Change "inline" back to "__inline" in .h files -- C99 is still too
new, and some apps compile things in C89 mode. C89 keywords stay.

As per core@.

Revision 1.38 / (download) - annotate - [select for diffs], Sat Dec 24 20:07:32 2005 UTC (18 years, 3 months ago) by perry
Branch: MAIN
Branch point for: yamt-uio_vmspace, simonb-timecounters, rpaulo-netinet-merge-pcb
Changes since 1.37: +28 -28 lines
Diff to previous 1.37 (colored) to selected 1.21 (colored)

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

Revision 1.37 / (download) - annotate - [select for diffs], Sun Dec 11 12:19:06 2005 UTC (18 years, 4 months ago) by christos
Branch: MAIN
Changes since 1.36: +1 -1 lines
Diff to previous 1.36 (colored) to selected 1.21 (colored)

merge ktrace-lwp.

Revision 1.33.2.4 / (download) - annotate - [select for diffs], Thu Nov 10 13:58:56 2005 UTC (18 years, 5 months ago) by skrll
Branch: ktrace-lwp
Changes since 1.33.2.3: +47 -78 lines
Diff to previous 1.33.2.3 (colored) next main 1.34 (colored) to selected 1.21 (colored)

Sync with HEAD. Here we go again...

Revision 1.36 / (download) - annotate - [select for diffs], Sun Jun 19 20:31:26 2005 UTC (18 years, 10 months ago) by thorpej
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
Branch point for: yamt-lazymbuf
Changes since 1.35: +1 -12 lines
Diff to previous 1.35 (colored) to selected 1.21 (colored)

Remove some unused definitions.

Revision 1.35 / (download) - annotate - [select for diffs], Sun Jun 19 01:54:51 2005 UTC (18 years, 10 months ago) by thorpej
Branch: MAIN
Changes since 1.34: +47 -67 lines
Diff to previous 1.34 (colored) to selected 1.21 (colored)

- Do away with the old _SPLRAISE() template macro.  Instead, provide an
  splraise() inline function, and define the various spl routines in terms
  of splraise().
- Use ANSI function decls.

Revision 1.33.2.3 / (download) - annotate - [select for diffs], Tue Sep 21 13:22:15 2004 UTC (19 years, 6 months ago) by skrll
Branch: ktrace-lwp
Changes since 1.33.2.2: +1 -1 lines
Diff to previous 1.33.2.2 (colored) to selected 1.21 (colored)

Fix the sync with head I botched.

Revision 1.33.2.2 / (download) - annotate - [select for diffs], Sat Sep 18 14:40:39 2004 UTC (19 years, 7 months ago) by skrll
Branch: ktrace-lwp
Changes since 1.33.2.1: +0 -0 lines
Diff to previous 1.33.2.1 (colored) to selected 1.21 (colored)

Sync with HEAD.

Revision 1.33.2.1 / (download) - annotate - [select for diffs], Tue Aug 3 10:40:56 2004 UTC (19 years, 8 months ago) by skrll
Branch: ktrace-lwp
Changes since 1.33: +2 -6 lines
Diff to previous 1.33 (colored) to selected 1.21 (colored)

Sync with HEAD

Revision 1.34 / (download) - annotate - [select for diffs], Thu Aug 7 16:29:40 2003 UTC (20 years, 8 months ago) by agc
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, 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, kent-audio2-base, kent-audio2, kent-audio1-beforemerge, kent-audio1-base, kent-audio1
Changes since 1.33: +2 -6 lines
Diff to previous 1.33 (colored) to selected 1.21 (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.33 / (download) - annotate - [select for diffs], Mon Jun 16 20:01:05 2003 UTC (20 years, 10 months ago) by thorpej
Branch: MAIN
Branch point for: ktrace-lwp
Changes since 1.32: +2 -2 lines
Diff to previous 1.32 (colored) to selected 1.21 (colored)

Rename IPL_IMP -> IPL_VM.

Revision 1.29.8.4 / (download) - annotate - [select for diffs], Wed Jan 15 18:40:13 2003 UTC (21 years, 3 months ago) by thorpej
Branch: nathanw_sa
CVS Tags: nathanw_sa_end
Changes since 1.29.8.3: +2 -1 lines
Diff to previous 1.29.8.3 (colored) to branchpoint 1.29 (colored) next main 1.30 (colored) to selected 1.21 (colored)

Sync with HEAD.

Revision 1.32 / (download) - annotate - [select for diffs], Tue Jan 14 22:58:00 2003 UTC (21 years, 3 months ago) by pk
Branch: MAIN
CVS Tags: nathanw_sa_before_merge, nathanw_sa_base
Changes since 1.31: +2 -1 lines
Diff to previous 1.31 (colored) to selected 1.21 (colored)

Define spllowerschedclock().
To be used in the same spirit as spllowersoftclock().

Revision 1.29.8.3 / (download) - annotate - [select for diffs], Fri Jan 3 16:55:24 2003 UTC (21 years, 3 months ago) by thorpej
Branch: nathanw_sa
Changes since 1.29.8.2: +3 -3 lines
Diff to previous 1.29.8.2 (colored) to branchpoint 1.29 (colored) to selected 1.21 (colored)

Sync with HEAD.

XXX ALT_SWITCH_CODE is not yet LWP'ified.

Revision 1.31 / (download) - annotate - [select for diffs], Tue Dec 31 15:51:18 2002 UTC (21 years, 3 months ago) by pk
Branch: MAIN
CVS Tags: fvdl_fs64_base
Changes since 1.30: +3 -3 lines
Diff to previous 1.30 (colored) to selected 1.21 (colored)

Define IPL_SCHED at level 11 and make splsched() use it.

Revision 1.29.8.2 / (download) - annotate - [select for diffs], Wed Dec 11 06:12:08 2002 UTC (21 years, 4 months ago) by thorpej
Branch: nathanw_sa
Changes since 1.29.8.1: +411 -0 lines
Diff to previous 1.29.8.1 (colored) to branchpoint 1.29 (colored) to selected 1.21 (colored)

Sync with HEAD.

Revision 1.30 / (download) - annotate - [select for diffs], Fri Dec 6 15:36:45 2002 UTC (21 years, 4 months ago) by pk
Branch: MAIN
CVS Tags: gmcgarry_ucred_base, gmcgarry_ucred, gmcgarry_ctxsw_base, gmcgarry_ctxsw
Changes since 1.29: +19 -21 lines
Diff to previous 1.29 (colored) to selected 1.21 (colored)

Start using IPL_* constants from intr.h; phase out PIL_* in psl.h

Revision 1.29.12.1 / (download) - annotate - [select for diffs], Mon Mar 18 07:51:05 2002 UTC (22 years, 1 month ago) by thorpej
Branch: newlock
Changes since 1.29: +20 -1 lines
Diff to previous 1.29 (colored) next main 1.30 (colored) to selected 1.21 (colored)

Add splraiseipl() for use by kern_mutex.c

Revision 1.24.2.2 / (download) - annotate - [select for diffs], Thu Jun 21 19:34:42 2001 UTC (22 years, 10 months ago) by nathanw
Changes since 1.24.2.1: +9 -10 lines
Diff to previous 1.24.2.1 (colored) next main 1.25 (colored) to selected 1.21 (colored)

Catch up to -current.

Revision 1.29.8.1, Fri Jun 8 01:33:32 2001 UTC (22 years, 10 months ago) by thorpej
Branch: nathanw_sa
Changes since 1.29: +0 -413 lines
FILE REMOVED

file psl.h was added on branch nathanw_sa on 2002-12-11 06:12:08 +0000

Revision 1.29 / (download) - annotate - [select for diffs], Fri Jun 8 01:33:32 2001 UTC (22 years, 10 months ago) by uwe
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, 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, kqueue-beforemerge, kqueue-base, kqueue-aftermerge, kqueue, ifpoll-base, gehenna-devsw-base, gehenna-devsw, eeh-devprop-base, eeh-devprop
Branch point for: newlock, nathanw_sa
Changes since 1.28: +2 -2 lines
Diff to previous 1.28 (colored) to selected 1.21 (colored)

Oops, missed in the previous commit: bump PIL_SER to 13 as well.
It seems to be unused...

Revision 1.28 / (download) - annotate - [select for diffs], Wed Jun 6 13:45:18 2001 UTC (22 years, 10 months ago) by uwe
Branch: MAIN
Changes since 1.27: +7 -6 lines
Diff to previous 1.27 (colored) to selected 1.21 (colored)

Bump splserial to 13 to support com port on Tadpole and JavaStations.
While I'm here - remove redefinition of PIL_TTY, move splnet
definition to keep the list sorted and sync its comment with reality.

Revision 1.27 / (download) - annotate - [select for diffs], Mon Apr 23 14:40:03 2001 UTC (22 years, 11 months ago) by pk
Branch: MAIN
CVS Tags: thorpej_scsipi_beforemerge
Changes since 1.26: +2 -3 lines
Diff to previous 1.26 (colored) to selected 1.21 (colored)

Bump PIL_NET to 7; some sbus network boards use this interrupt level.
Nuke PIL_IMP.

Revision 1.18.2.4 / (download) - annotate - [select for diffs], Sat Apr 21 17:54:38 2001 UTC (23 years ago) by bouyer
Branch: thorpej_scsipi
Changes since 1.18.2.3: +1 -2 lines
Diff to previous 1.18.2.3 (colored) to branchpoint 1.18 (colored) next main 1.19 (colored) to selected 1.21 (colored)

Sync with HEAD

Revision 1.26 / (download) - annotate - [select for diffs], Fri Apr 13 23:30:05 2001 UTC (23 years ago) by thorpej
Branch: MAIN
CVS Tags: thorpej_scsipi_nbase, thorpej_scsipi_base
Changes since 1.25: +1 -2 lines
Diff to previous 1.25 (colored) to selected 1.21 (colored)

Remove the use of splimp() from the NetBSD kernel.  splnet()
and only splnet() is allowed for the protection of data structures
used by network devices.

Revision 1.24.2.1 / (download) - annotate - [select for diffs], Mon Apr 9 01:54:49 2001 UTC (23 years ago) by nathanw
Changes since 1.24: +190 -25 lines
Diff to previous 1.24 (colored) to selected 1.21 (colored)

Catch up with -current.

Revision 1.18.2.3 / (download) - annotate - [select for diffs], Tue Mar 27 15:31:28 2001 UTC (23 years ago) by bouyer
Branch: thorpej_scsipi
Changes since 1.18.2.2: +189 -24 lines
Diff to previous 1.18.2.2 (colored) to branchpoint 1.18 (colored) to selected 1.21 (colored)

Sync with HEAD.

Revision 1.25 / (download) - annotate - [select for diffs], Thu Mar 22 06:21:43 2001 UTC (23 years, 1 month ago) by mrg
Branch: MAIN
Changes since 1.24: +190 -25 lines
Diff to previous 1.24 (colored) to selected 1.21 (colored)

sync with sparc64.

Revision 1.18.2.2 / (download) - annotate - [select for diffs], Thu Jan 18 09:23:01 2001 UTC (23 years, 3 months ago) by bouyer
Branch: thorpej_scsipi
Changes since 1.18.2.1: +2 -2 lines
Diff to previous 1.18.2.1 (colored) to branchpoint 1.18 (colored) to selected 1.21 (colored)

Sync with head (for UBC+NFS fixes, mostly).

Revision 1.24 / (download) - annotate - [select for diffs], Sun Jan 14 02:00:42 2001 UTC (23 years, 3 months ago) by thorpej
Branch: MAIN
Changes since 1.23: +2 -2 lines
Diff to previous 1.23 (colored) to selected 1.21 (colored)

Make sure everybody has an splvm() and equate it with splimp() (splimp()
is the historical name for this interrupt level, and the historical name
is going to go away in the near future).

Revision 1.18.2.1 / (download) - annotate - [select for diffs], Mon Nov 20 20:25:40 2000 UTC (23 years, 5 months ago) by bouyer
Branch: thorpej_scsipi
Changes since 1.18: +25 -20 lines
Diff to previous 1.18 (colored) to selected 1.21 (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.23 / (download) - annotate - [select for diffs], Tue Aug 22 19:46:31 2000 UTC (23 years, 7 months ago) by thorpej
Branch: MAIN
Changes since 1.22: +2 -1 lines
Diff to previous 1.22 (colored) to selected 1.21 (colored)

Add spllock().  See spl(9) for details.

Revision 1.22 / (download) - annotate - [select for diffs], Mon Aug 21 02:06:34 2000 UTC (23 years, 8 months ago) by thorpej
Branch: MAIN
Changes since 1.21: +3 -1 lines
Diff to previous 1.21 (colored)

Make sure we provide splsched() as described in spl(9).

Revision 1.20.2.1 / (download) - annotate - [select for diffs], Thu Jun 22 17:04:04 2000 UTC (23 years, 10 months ago) by minoura
Branch: minoura-xpg4dl
Changes since 1.20: +11 -14 lines
Diff to previous 1.20 (colored) next main 1.21 (colored)

Sync w/ netbsd-1-5-base.

Revision 1.21 / (download) - annotate - [selected], Fri Jun 9 10:43:52 2000 UTC (23 years, 10 months ago) by pk
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
Changes since 1.20: +11 -14 lines
Diff to previous 1.20 (colored)

spl0() and spllowersoftclock() return void.

Revision 1.20 / (download) - annotate - [select for diffs], Fri Jan 21 13:22:55 2000 UTC (24 years, 3 months ago) by pk
Branch: MAIN
CVS Tags: minoura-xpg4dl-base, chs-ubc2-newbase
Branch point for: minoura-xpg4dl
Changes since 1.19: +10 -6 lines
Diff to previous 1.19 (colored) to selected 1.21 (colored)

Move several PIL_* definitions into the scope of LOCORE stuff.

Revision 1.18.8.1 / (download) - annotate - [select for diffs], Mon Dec 27 18:33:49 1999 UTC (24 years, 3 months ago) by wrstuden
Branch: wrstuden-devbsize
Changes since 1.18: +3 -2 lines
Diff to previous 1.18 (colored) next main 1.19 (colored) to selected 1.21 (colored)

Pull up to last week's -current.

Revision 1.19 / (download) - annotate - [select for diffs], Wed Dec 15 08:01:01 1999 UTC (24 years, 4 months ago) by garbled
Branch: MAIN
CVS Tags: wrstuden-devbsize-base, wrstuden-devbsize-19991221
Changes since 1.18: +3 -2 lines
Diff to previous 1.18 (colored) to selected 1.21 (colored)

Add new spl level for tadpole devices splts102.
Device entrypoints for tctrl device (tadpole micro controller)
add header for direct-access ioctl to the tadpole microcontroller.

Revision 1.18 / (download) - annotate - [select for diffs], Thu Aug 5 21:16:55 1999 UTC (24 years, 8 months ago) by thorpej
Branch: MAIN
CVS Tags: fvdl-softdep-base, fvdl-softdep, comdex-fall-1999-base, comdex-fall-1999
Branch point for: wrstuden-devbsize, thorpej_scsipi
Changes since 1.17: +18 -17 lines
Diff to previous 1.17 (colored) to selected 1.21 (colored)

Change spl calls to always raise priority, except for the ones which are
specifically supposed to lower it.

Revision 1.17 / (download) - annotate - [select for diffs], Thu Aug 5 18:08:13 1999 UTC (24 years, 8 months ago) by thorpej
Branch: MAIN
Changes since 1.16: +3 -2 lines
Diff to previous 1.16 (colored) to selected 1.21 (colored)

Change the semantics of splsoftclock() to be like other spl*() functions,
that is priority is rasied.  Add a new spllowersoftclock() to provide the
atomic drop-to-softclock semantics that the old splsoftclock() provided,
and update calls accordingly.

This fixes a problem with using the "rnd" pseudo-device from within
interrupt context to extract random data (e.g. from within the softnet
interrupt) where doing so would incorrectly unblock interrupts (causing
all sorts of lossage).

XXX 4 platforms do not have priority-raising capability: newsmips, sparc,
XXX sparc64, and VAX.  This platforms still have this bug until their
XXX spl*() functions are fixed.

Revision 1.16 / (download) - annotate - [select for diffs], Thu Nov 26 22:53:13 1998 UTC (25 years, 4 months ago) by pk
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-ubc2-base, chs-ubc2
Changes since 1.15: +2 -1 lines
Diff to previous 1.15 (colored) to selected 1.21 (colored)

Add splserial().

Revision 1.15 / (download) - annotate - [select for diffs], Fri Feb 6 01:22:54 1998 UTC (26 years, 2 months ago) by mrg
Branch: MAIN
CVS Tags: eeh-paddr_t-base, eeh-paddr_t, chs-ubc-base, chs-ubc
Changes since 1.14: +3 -2 lines
Diff to previous 1.14 (colored) to selected 1.21 (colored)

backout previous change.

Revision 1.14 / (download) - annotate - [select for diffs], Fri Feb 6 00:02:30 1998 UTC (26 years, 2 months ago) by mrg
Branch: MAIN
Changes since 1.13: +3 -3 lines
Diff to previous 1.13 (colored) to selected 1.21 (colored)

put PIL_CLOCK and splclock together, like the rest..

Revision 1.12.8.1 / (download) - annotate - [select for diffs], Thu Nov 20 03:20:24 1997 UTC (26 years, 5 months ago) by mellon
Branch: netbsd-1-3
CVS Tags: netbsd-1-3-RELEASE, netbsd-1-3-PATCH003-CANDIDATE2, netbsd-1-3-PATCH003-CANDIDATE1, netbsd-1-3-PATCH003-CANDIDATE0, netbsd-1-3-PATCH003, netbsd-1-3-PATCH002, netbsd-1-3-PATCH001, netbsd-1-3-BETA
Changes since 1.12: +3 -3 lines
Diff to previous 1.12 (colored) next main 1.13 (colored) to selected 1.21 (colored)

Pull rev 1.13 up from trunk (pk)

Revision 1.13 / (download) - annotate - [select for diffs], Wed Nov 19 23:05:49 1997 UTC (26 years, 5 months ago) by pk
Branch: MAIN
Changes since 1.12: +3 -3 lines
Diff to previous 1.12 (colored) to selected 1.21 (colored)

splpmap() is again equivalent to splimp().

Revision 1.11.8.1 / (download) - annotate - [select for diffs], Wed Mar 12 13:55:20 1997 UTC (27 years, 1 month ago) by is
Branch: is-newarp
Changes since 1.11: +10 -1 lines
Diff to previous 1.11 (colored) next main 1.12 (colored) to selected 1.21 (colored)

Merge in changes from The Trunk

Revision 1.12 / (download) - annotate - [select for diffs], Mon Mar 10 21:49:11 1997 UTC (27 years, 1 month ago) by pk
Branch: MAIN
CVS Tags: thorpej-signal-base, thorpej-signal, netbsd-1-3-base, marc-pcmcia-bp, marc-pcmcia-base, marc-pcmcia, is-newarp-before-merge, bouyer-scsipi
Branch point for: netbsd-1-3
Changes since 1.11: +10 -1 lines
Diff to previous 1.11 (colored) to selected 1.21 (colored)

Add getmid

Revision 1.11 / (download) - annotate - [select for diffs], Sun Mar 31 22:20:14 1996 UTC (28 years ago) by pk
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-base
Branch point for: is-newarp
Changes since 1.10: +18 -1 lines
Diff to previous 1.10 (colored) to selected 1.21 (colored)

Add a non-interrupt-priority-lowering version of SPL(). Used by splpmap()
at the moment.

Revision 1.10 / (download) - annotate - [select for diffs], Fri Feb 9 23:14:23 1996 UTC (28 years, 2 months ago) by christos
Branch: MAIN
Changes since 1.9: +23 -7 lines
Diff to previous 1.9 (colored) to selected 1.21 (colored)

A few prototype fixes

Revision 1.9 / (download) - annotate - [select for diffs], Sat Feb 3 16:10:58 1996 UTC (28 years, 2 months ago) by pk
Branch: MAIN
Changes since 1.8: +15 -12 lines
Diff to previous 1.8 (colored) to selected 1.21 (colored)

Move splbio to level 5.

Revision 1.8 / (download) - annotate - [select for diffs], Thu Feb 1 22:32:32 1996 UTC (28 years, 2 months ago) by mycroft
Branch: MAIN
Changes since 1.7: +3 -3 lines
Diff to previous 1.7 (colored) to selected 1.21 (colored)

LOCORE -> _LOCORE

Revision 1.7 / (download) - annotate - [select for diffs], Sun Aug 13 00:29:56 1995 UTC (28 years, 8 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.6: +7 -3 lines
Diff to previous 1.6 (colored) to selected 1.21 (colored)

Replace splnet() with splsoftnet().  Add splnet().

Revision 1.6 / (download) - annotate - [select for diffs], Tue Mar 28 18:20:07 1995 UTC (29 years ago) by jtc
Branch: MAIN
Changes since 1.5: +2 -2 lines
Diff to previous 1.5 (colored) to selected 1.21 (colored)

KERNEL -> _KERNEL

Revision 1.5 / (download) - annotate - [select for diffs], Thu Feb 23 19:58:16 1995 UTC (29 years, 1 month ago) by pk
Branch: MAIN
Changes since 1.4: +7 -0 lines
Diff to previous 1.4 (colored) to selected 1.21 (colored)

floppy levels.

Revision 1.4 / (download) - annotate - [select for diffs], Sun Nov 20 20:53:25 1994 UTC (29 years, 5 months ago) by deraadt
Branch: MAIN
Changes since 1.3: +2 -3 lines
Diff to previous 1.3 (colored) to selected 1.21 (colored)

copyright/Id cleanup

Revision 1.3 / (download) - annotate - [select for diffs], Tue Mar 22 08:09:24 1994 UTC (30 years, 1 month ago) by deraadt
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.2: +4 -4 lines
Diff to previous 1.2 (colored) to selected 1.21 (colored)

splimp >= (splnet or spltty)

Revision 1.2 / (download) - annotate - [select for diffs], Mon Oct 11 02:28:29 1993 UTC (30 years, 6 months ago) by deraadt
Branch: MAIN
CVS Tags: sparc-magnum
Changes since 1.1: +3 -3 lines
Diff to previous 1.1 (colored) to selected 1.21 (colored)

stdarg.h, varargs.h, psl.h, autoconf.h: posted patches from torek
cpu.h: cpu_adjstack() won't work well in the NetBSD execve - need a
	different model, stub enablertclock() for now..
exec.h: a netbsd-type exec.h file (ie. empty)
param.h: add MID_MACHINE
pmap.h: delete kernel_pmap hack - it doesn't work for us, + two proto's
vmparam.h: VM_MIN_ADDRESS = 0!

Revision 1.1 / (download) - annotate - [select for diffs], Sat Oct 2 10:23:21 1993 UTC (30 years, 6 months ago) by deraadt
Branch: MAIN
Diff to selected 1.21 (colored)

Chris Torek's sparc port. Missing lots of things.

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>