The NetBSD Project

CVS log for src/sys/arch/hp300/include/intr.h

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

Request diff between arbitrary revisions


Default branch: MAIN


Revision 1.39 / (download) - annotate - [select for diffs], Fri Jan 19 03:09:04 2024 UTC (6 weeks ago) by thorpej
Branch: MAIN
CVS Tags: HEAD
Changes since 1.38: +9 -1 lines
Diff to previous 1.38 (colored)

Add _KERNEL guards around most of the definitions in these files.

Revision 1.38 / (download) - annotate - [select for diffs], Tue Jan 16 07:07:00 2024 UTC (6 weeks, 3 days ago) by thorpej
Branch: MAIN
Changes since 1.37: +8 -7 lines
Diff to previous 1.37 (colored)

Fix computation of the appropriate auto-vector interrupt level to use
for the DMA controller by tracking all of the DIO devices that have
"ISRPRI_BIO" interrupt handlers, and finding the highest auto-vector
level among them and informing the DMA controller.

Previously, in a post-flattening world, the DMA controller was always
told to interrupt at lev5, which is fine I guess although definitely not
ideal, but would not work on aaaancient HP320 Rev A DMA boards.  To that
effect, print a warning if a Rev B DMA board ends up at ipl != 3 (we can't
differentiate between a Rev A and a Rev B board).

Revision 1.37 / (download) - annotate - [select for diffs], Tue Jan 16 03:44:44 2024 UTC (6 weeks, 3 days ago) by thorpej
Branch: MAIN
Changes since 1.36: +41 -96 lines
Diff to previous 1.36 (colored)

Switch hp300 over to the common interrupt dispatch code.

XXX There are still some things to fix up here, but it's no worse
than it was before (the problems date back to when we flattened
the device interrupt levels into IPL_VM).

Revision 1.34.86.1 / (download) - annotate - [select for diffs], Wed Aug 9 17:42:02 2023 UTC (6 months, 3 weeks ago) by martin
Branch: netbsd-10
CVS Tags: netbsd-10-0-RC5, netbsd-10-0-RC4, netbsd-10-0-RC3, netbsd-10-0-RC2, netbsd-10-0-RC1
Changes since 1.34: +9 -1 lines
Diff to previous 1.34 (colored) next main 1.35 (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.36 / (download) - annotate - [select for diffs], Tue Jul 11 17:54:54 2023 UTC (7 months, 2 weeks ago) by riastradh
Branch: MAIN
CVS Tags: thorpej-ifq-base, thorpej-ifq, thorpej-altq-separation-base, thorpej-altq-separation
Changes since 1.35: +5 -1 lines
Diff to previous 1.35 (colored)

hp300/intr.h: Put most of this under #ifdef _KERNEL.

Only ipl_cookie_t really needs to be exposed now, for crash(8).

Revision 1.35 / (download) - annotate - [select for diffs], Tue Jul 11 10:42:26 2023 UTC (7 months, 3 weeks ago) by riastradh
Branch: MAIN
Changes since 1.34: +5 -1 lines
Diff to previous 1.34 (colored)

hp300/intr.h: Fix missing includes.

Revision 1.33.6.1 / (download) - annotate - [select for diffs], Mon Jun 6 09:05:37 2011 UTC (12 years, 8 months ago) by jruoho
Branch: jruoho-x86intr
Changes since 1.33: +3 -3 lines
Diff to previous 1.33 (colored) next main 1.34 (colored)

Sync with HEAD.

Revision 1.33.4.1 / (download) - annotate - [select for diffs], Thu Apr 21 01:41:02 2011 UTC (12 years, 10 months ago) by rmind
Branch: rmind-uvmplock
Changes since 1.33: +3 -3 lines
Diff to previous 1.33 (colored) next main 1.34 (colored)

sync with head

Revision 1.34 / (download) - annotate - [select for diffs], Sun Mar 6 14:51:22 2011 UTC (12 years, 11 months ago) by tsutsui
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-20171202, tls-maxphys-base, tls-maxphys, tls-earlyentropy-base, tls-earlyentropy, 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, rmind-uvmplock-nbase, rmind-uvmplock-base, 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, 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, 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, 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, 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-10-base, matt-nb8-mediatek-base, matt-nb8-mediatek, matt-nb6-plus-nbase, matt-nb6-plus-base, matt-nb6-plus, localcount-20160914, khorben-n900, jym-xensuspend-nbase, jym-xensuspend-base, 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, 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, cherry-xenmp-base, cherry-xenmp, bouyer-xenpvh-base2, bouyer-xenpvh-base1, bouyer-xenpvh-base, bouyer-xenpvh, bouyer-sunxi-drm-base, bouyer-sunxi-drm, bouyer-socketcan-base1, bouyer-socketcan-base, bouyer-socketcan, agc-symver-base, agc-symver, ad-namecache-base3, ad-namecache-base2, ad-namecache-base1, ad-namecache-base, ad-namecache
Branch point for: netbsd-10
Changes since 1.33: +3 -3 lines
Diff to previous 1.33 (colored)

Remove trailing spaces.

Revision 1.32.2.1 / (download) - annotate - [select for diffs], Wed May 13 17:17:42 2009 UTC (14 years, 9 months ago) by jym
Branch: jym-xensuspend
Changes since 1.32: +2 -2 lines
Diff to previous 1.32 (colored) next main 1.33 (colored)

Sync with HEAD.

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

Revision 1.27.10.2 / (download) - annotate - [select for diffs], Mon May 4 08:11:05 2009 UTC (14 years, 10 months ago) by yamt
Branch: yamt-nfs-mp
Changes since 1.27.10.1: +22 -13 lines
Diff to previous 1.27.10.1 (colored) to branchpoint 1.27 (colored) next main 1.28 (colored)

sync with head.

Revision 1.31.4.2 / (download) - annotate - [select for diffs], Tue Apr 28 07:34:02 2009 UTC (14 years, 10 months ago) by skrll
Branch: nick-hppapmap
Changes since 1.31.4.1: +2 -2 lines
Diff to previous 1.31.4.1 (colored) to branchpoint 1.31 (colored) next main 1.32 (colored)

Sync with HEAD.

Revision 1.33 / (download) - annotate - [select for diffs], Thu Apr 9 10:29:09 2009 UTC (14 years, 10 months ago) by tsutsui
Branch: MAIN
CVS Tags: yamt-nfs-mp-base9, yamt-nfs-mp-base8, yamt-nfs-mp-base7, yamt-nfs-mp-base6, yamt-nfs-mp-base5, yamt-nfs-mp-base4, yamt-nfs-mp-base3, yamt-nfs-mp-base11, yamt-nfs-mp-base10, uebayasi-xip-base7, uebayasi-xip-base6, uebayasi-xip-base5, uebayasi-xip-base4, uebayasi-xip-base3, uebayasi-xip-base2, uebayasi-xip-base1, uebayasi-xip-base, uebayasi-xip, nick-hppapmap-base4, nick-hppapmap-base3, nick-hppapmap-base, matt-premerge-20091211, matt-mips64-premerge-20101231, jymxensuspend-base, jruoho-x86intr-base, bouyer-quota2-nbase, bouyer-quota2-base, bouyer-quota2
Branch point for: rmind-uvmplock, jruoho-x86intr
Changes since 1.32: +2 -2 lines
Diff to previous 1.32 (colored)

Include <sys/evcnt.h> instead of <sys/device.h> for struct evcnt.

<sys/device.h> now requires <sys/mutex.h> for struct device_lock, and
<machine/mutex.h> requires <machine/intr.h> for ipl_cookie_t, so
including <sys/device.h> from <machine/intr.h> causes recursive dependency.

Revision 1.31.4.1 / (download) - annotate - [select for diffs], Mon Jan 19 13:16:13 2009 UTC (15 years, 1 month ago) by skrll
Branch: nick-hppapmap
Changes since 1.31: +10 -8 lines
Diff to previous 1.31 (colored)

Sync with HEAD.

Revision 1.27.6.3 / (download) - annotate - [select for diffs], Sat Jan 17 13:28:01 2009 UTC (15 years, 1 month ago) by mjf
Branch: mjf-devfs2
Changes since 1.27.6.2: +9 -7 lines
Diff to previous 1.27.6.2 (colored) to branchpoint 1.27 (colored) next main 1.28 (colored)

Sync with HEAD.

Revision 1.31.6.1 / (download) - annotate - [select for diffs], Sat Dec 27 04:00:19 2008 UTC (15 years, 2 months ago) by snj
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, 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, 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
Changes since 1.31: +10 -8 lines
Diff to previous 1.31 (colored) next main 1.32 (colored)

Pull up following revision(s) (requested by tsutsui in ticket #207):
	sys/arch/hp300/include/intr.h: revision 1.32
	sys/arch/hp300/hp300/locore.s: revision 1.145
	sys/arch/hp300/hp300/intr.c: revision 1.39
Remove obsolete code for old software interrupt emulation.
The MI softint(9) handles it in the kernel threads nowadays.
Note "Emulation of VAX REI instruction" is still there to handle ASTs.

Revision 1.32 / (download) - annotate - [select for diffs], Sun Dec 21 17:42:05 2008 UTC (15 years, 2 months ago) by tsutsui
Branch: MAIN
CVS Tags: nick-hppapmap-base2, mjf-devfs2-base
Branch point for: jym-xensuspend
Changes since 1.31: +10 -8 lines
Diff to previous 1.31 (colored)

Remove obsolete code for old software interrupt emulation.
The MI softint(9) handles it in the kernel threads nowadays.

Note "Emulation of VAX REI instruction" is still there to handle ASTs.

Revision 1.27.6.2 / (download) - annotate - [select for diffs], Sun Jun 29 09:32:56 2008 UTC (15 years, 8 months ago) by mjf
Branch: mjf-devfs2
Changes since 1.27.6.1: +11 -4 lines
Diff to previous 1.27.6.1 (colored) to branchpoint 1.27 (colored)

Sync with HEAD.

Revision 1.28.4.2 / (download) - annotate - [select for diffs], Fri Jun 27 15:11:17 2008 UTC (15 years, 8 months ago) by simonb
Branch: simonb-wapbl
Changes since 1.28.4.1: +11 -4 lines
Diff to previous 1.28.4.1 (colored) to branchpoint 1.28 (colored) next main 1.29 (colored)

Sync with head.

Revision 1.28.2.1 / (download) - annotate - [select for diffs], Mon Jun 23 04:30:22 2008 UTC (15 years, 8 months ago) by wrstuden
Branch: wrstuden-revivesa
Changes since 1.28: +12 -5 lines
Diff to previous 1.28 (colored) next main 1.29 (colored)

Sync w/ -current. 34 merge conflicts to follow.

Revision 1.31 / (download) - annotate - [select for diffs], Sun Jun 22 17:35:14 2008 UTC (15 years, 8 months ago) by tsutsui
Branch: MAIN
CVS Tags: wrstuden-revivesa-base-4, wrstuden-revivesa-base-3, wrstuden-revivesa-base-2, wrstuden-revivesa-base-1, wrstuden-revivesa-base, simonb-wapbl-nbase, simonb-wapbl-base, netbsd-5-base, matt-mips64-base2, haad-nbase2, haad-dm-base2, haad-dm-base1, haad-dm-base, haad-dm, ad-audiomp2-base, ad-audiomp2
Branch point for: nick-hppapmap, netbsd-5
Changes since 1.30: +9 -1 lines
Diff to previous 1.30 (colored)

Make cpu_intr_p() inline.

Revision 1.30 / (download) - annotate - [select for diffs], Sun Jun 22 16:29:36 2008 UTC (15 years, 8 months ago) by tsutsui
Branch: MAIN
Changes since 1.29: +3 -4 lines
Diff to previous 1.29 (colored)

Don't recompute an ipl level for IPL_VM during or after cpu_configure(9)
and use a static and possible highest ipl value (ipl 5) for IPL_VM
so that we can put ipl2psl_table[] conversion into makeiplcookie(9),
which could be called before cpu_configure(9).

Fixes "panic: sbappendaddr" on NFS load.

Revision 1.28.4.1 / (download) - annotate - [select for diffs], Wed Jun 18 16:32:40 2008 UTC (15 years, 8 months ago) by simonb
Branch: simonb-wapbl
Changes since 1.28: +4 -4 lines
Diff to previous 1.28 (colored)

Sync with head.

Revision 1.27.8.2 / (download) - annotate - [select for diffs], Tue Jun 17 09:14:00 2008 UTC (15 years, 8 months ago) by yamt
Branch: yamt-pf42
Changes since 1.27.8.1: +4 -4 lines
Diff to previous 1.27.8.1 (colored) to branchpoint 1.27 (colored) next main 1.28 (colored)

sync with head.

Revision 1.29 / (download) - annotate - [select for diffs], Sun Jun 15 07:15:30 2008 UTC (15 years, 8 months ago) by tsutsui
Branch: MAIN
CVS Tags: yamt-pf42-base4
Changes since 1.28: +4 -4 lines
Diff to previous 1.28 (colored)

Unify splraiseipl(9) implementation among m68k ports as per
suggestion from isaki@ on port-m68k.

For hp300:
- use ipl2psl_table[] for makeiplcookie() conversion
- use uint16_t for ipl2psl_table[]

Revision 1.27.6.1 / (download) - annotate - [select for diffs], Mon Jun 2 13:22:07 2008 UTC (15 years, 9 months ago) by mjf
Branch: mjf-devfs2
Changes since 1.27: +1 -8 lines
Diff to previous 1.27 (colored)

Sync with HEAD.

Revision 1.27.8.1 / (download) - annotate - [select for diffs], Sun May 18 12:31:57 2008 UTC (15 years, 9 months ago) by yamt
Branch: yamt-pf42
Changes since 1.27: +1 -8 lines
Diff to previous 1.27 (colored)

sync with head.

Revision 1.27.10.1 / (download) - annotate - [select for diffs], Fri May 16 02:22:22 2008 UTC (15 years, 9 months ago) by yamt
Branch: yamt-nfs-mp
Changes since 1.27: +1 -8 lines
Diff to previous 1.27 (colored)

sync with head.

Revision 1.28 / (download) - annotate - [select for diffs], Mon Apr 28 20:23:19 2008 UTC (15 years, 10 months ago) by martin
Branch: MAIN
CVS Tags: yamt-pf42-base3, yamt-pf42-base2, yamt-nfs-mp-base2, hpcarm-cleanup-nbase
Branch point for: wrstuden-revivesa, simonb-wapbl
Changes since 1.27: +1 -8 lines
Diff to previous 1.27 (colored)

Remove clause 3 and 4 from TNF licenses

Revision 1.23.18.3 / (download) - annotate - [select for diffs], Sun Mar 23 02:04:02 2008 UTC (15 years, 11 months ago) by matt
Branch: matt-armv6
Changes since 1.23.18.2: +2 -1 lines
Diff to previous 1.23.18.2 (colored) to branchpoint 1.23 (colored) next main 1.24 (colored)

sync with HEAD

Revision 1.25.2.2 / (download) - annotate - [select for diffs], Mon Feb 18 21:04:32 2008 UTC (16 years ago) by mjf
Branch: mjf-devfs
Changes since 1.25.2.1: +2 -1 lines
Diff to previous 1.25.2.1 (colored) to branchpoint 1.25 (colored) next main 1.26 (colored)

Sync with HEAD.

Revision 1.14.10.6 / (download) - annotate - [select for diffs], Mon Feb 4 09:21:53 2008 UTC (16 years ago) by yamt
Branch: yamt-lazymbuf
Changes since 1.14.10.5: +2 -1 lines
Diff to previous 1.14.10.5 (colored) to branchpoint 1.14 (colored) next main 1.15 (colored)

sync with head.

Revision 1.27 / (download) - annotate - [select for diffs], Mon Jan 28 16:21:20 2008 UTC (16 years, 1 month ago) by tsutsui
Branch: MAIN
CVS Tags: yamt-pf42-baseX, yamt-pf42-base, yamt-nfs-mp-base, yamt-lazymbuf-base15, yamt-lazymbuf-base14, nick-net80211-sync-base, nick-net80211-sync, mjf-devfs-base, matt-armv6-nbase, keiichi-mipv6-nbase, keiichi-mipv6-base, keiichi-mipv6, hpcarm-cleanup-base, ad-socklock-base1
Branch point for: yamt-pf42, yamt-nfs-mp, mjf-devfs2
Changes since 1.26: +2 -1 lines
Diff to previous 1.26 (colored)

- account idepth in a clock interrupt handler too
- use idepth for CLKF_INTR()

Revision 1.23.18.2 / (download) - annotate - [select for diffs], Wed Jan 9 01:46:06 2008 UTC (16 years, 1 month ago) by matt
Branch: matt-armv6
Changes since 1.23.18.1: +13 -30 lines
Diff to previous 1.23.18.1 (colored) to branchpoint 1.23 (colored)

sync with HEAD

Revision 1.23.16.2 / (download) - annotate - [select for diffs], Sun Dec 9 19:35:11 2007 UTC (16 years, 2 months ago) by jmcneill
Branch: jmcneill-pm
Changes since 1.23.16.1: +13 -30 lines
Diff to previous 1.23.16.1 (colored) to branchpoint 1.23 (colored) next main 1.24 (colored)

Sync with HEAD.

Revision 1.25.2.1 / (download) - annotate - [select for diffs], Sat Dec 8 18:16:59 2007 UTC (16 years, 2 months ago) by mjf
Branch: mjf-devfs
Changes since 1.25: +13 -30 lines
Diff to previous 1.25 (colored)

Sync with HEAD.

Revision 1.14.10.5 / (download) - annotate - [select for diffs], Fri Dec 7 17:24:44 2007 UTC (16 years, 2 months ago) by yamt
Branch: yamt-lazymbuf
Changes since 1.14.10.4: +13 -30 lines
Diff to previous 1.14.10.4 (colored) to branchpoint 1.14 (colored)

sync with head

Revision 1.22.2.3 / (download) - annotate - [select for diffs], Mon Dec 3 18:35:59 2007 UTC (16 years, 3 months ago) by ad
Branch: vmlocking
Changes since 1.22.2.2: +13 -30 lines
Diff to previous 1.22.2.2 (colored) next main 1.23 (colored)

Sync with HEAD.

Revision 1.26 / (download) - annotate - [select for diffs], Mon Dec 3 15:33:39 2007 UTC (16 years, 3 months ago) by ad
Branch: MAIN
CVS Tags: 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, matt-armv6-base, jmcneill-pm-base, cube-autoconf-base, cube-autoconf, bouyer-xeni386-nbase, bouyer-xeni386-merge1, bouyer-xeni386-base, bouyer-xeni386
Changes since 1.25: +13 -30 lines
Diff to previous 1.25 (colored)

Interrupt handling changes, in discussion since February:

- Reduce available SPL levels for hardware devices to none, vm, sched, high.
- Acquire kernel_lock only for interrupts at IPL_VM.
- Implement threaded soft interrupts.

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

sync with HEAD

Revision 1.14.10.4 / (download) - annotate - [select for diffs], Sat Oct 27 11:26:10 2007 UTC (16 years, 4 months ago) by yamt
Branch: yamt-lazymbuf
Changes since 1.14.10.3: +2 -1 lines
Diff to previous 1.14.10.3 (colored) to branchpoint 1.14 (colored)

sync with head.

Revision 1.23.16.1 / (download) - annotate - [select for diffs], Fri Oct 26 15:42:30 2007 UTC (16 years, 4 months ago) by joerg
Branch: jmcneill-pm
Changes since 1.23: +2 -1 lines
Diff to previous 1.23 (colored)

Sync with HEAD.

Follow the merge of pmap.c on i386 and amd64 and move
pmap_init_tmp_pgtbl into arch/x86/x86/pmap.c. Modify the ACPI wakeup
code to restore CR4 before jumping back into kernel space as the large
page option might cover that.

Revision 1.22.2.2 / (download) - annotate - [select for diffs], Tue Oct 23 20:12:57 2007 UTC (16 years, 4 months ago) by ad
Branch: vmlocking
Changes since 1.22.2.1: +2 -1 lines
Diff to previous 1.22.2.1 (colored)

Sync with head.

Revision 1.23.20.1 / (download) - annotate - [select for diffs], Thu Oct 18 08:32:00 2007 UTC (16 years, 4 months ago) by yamt
Branch: yamt-x86pmap
Changes since 1.23: +2 -1 lines
Diff to previous 1.23 (colored) next main 1.24 (colored)

sync with head.

Revision 1.25 / (download) - annotate - [select for diffs], Wed Oct 17 19:54:25 2007 UTC (16 years, 4 months ago) by garbled
Branch: MAIN
CVS Tags: yamt-x86pmap-base4, jmcneill-base, bouyer-xenamd64-base2, bouyer-xenamd64-base
Branch point for: mjf-devfs
Changes since 1.24: +1 -1 lines
Diff to previous 1.24 (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.23.8.1 / (download) - annotate - [select for diffs], Tue Oct 16 18:23:40 2007 UTC (16 years, 4 months ago) by garbled
Branch: ppcoea-renovation
Changes since 1.23: +2 -1 lines
Diff to previous 1.23 (colored) next main 1.24 (colored)

Sync with HEAD

Revision 1.24 / (download) - annotate - [select for diffs], Mon Oct 15 13:29:42 2007 UTC (16 years, 4 months ago) by tsutsui
Branch: MAIN
CVS Tags: ppcoea-renovation-base, bouyer-xenamd64
Changes since 1.23: +2 -1 lines
Diff to previous 1.23 (colored)

Add IPL_SERIAL definition since MI com(4) now requires it for mutex(9).

Revision 1.14.10.3 / (download) - annotate - [select for diffs], Mon Sep 3 14:25:26 2007 UTC (16 years, 6 months ago) by yamt
Branch: yamt-lazymbuf
Changes since 1.14.10.2: +3 -57 lines
Diff to previous 1.14.10.2 (colored) to branchpoint 1.14 (colored)

sync with head.

Revision 1.22.2.1 / (download) - annotate - [select for diffs], Tue Mar 13 16:49:58 2007 UTC (16 years, 11 months ago) by ad
Branch: vmlocking
Changes since 1.22: +2 -2 lines
Diff to previous 1.22 (colored)

Sync with head.

Revision 1.19.2.1 / (download) - annotate - [select for diffs], Mon Mar 12 05:47:56 2007 UTC (16 years, 11 months ago) by rmind
Branch: yamt-idlelwp
Changes since 1.19: +3 -57 lines
Diff to previous 1.19 (colored) next main 1.20 (colored)

Sync with HEAD.

Revision 1.23 / (download) - annotate - [select for diffs], Sun Mar 11 05:22:25 2007 UTC (16 years, 11 months ago) by thorpej
Branch: MAIN
CVS Tags: yamt-x86pmap-base3, yamt-x86pmap-base2, yamt-x86pmap-base, yamt-idlelwp-base8, vmlocking-base, thorpej-atomic-base, thorpej-atomic, reinoud-bufcleanup, nick-csl-alignment-base5, nick-csl-alignment-base, nick-csl-alignment, mjf-ufs-trans-base, mjf-ufs-trans, matt-mips64-base, matt-mips64, hpcarm-cleanup
Branch point for: yamt-x86pmap, ppcoea-renovation, matt-armv6, jmcneill-pm
Changes since 1.22: +2 -2 lines
Diff to previous 1.22 (colored)

- Shrink ipl_cookie_t from 32-bits to 16-bits (large enough to hold
  an SR value or an IPL_* constant).
- Take advange of the smaller ipl_cookie_t to shrink kmutex_t from
  16 bytes to 8 bytes by overlapping storage where possible.
- Implement a RAS-based _lock_cas() for mc68010 systems (Sun2).  See
  sun68k/sun68k/isr.c.

Tested on various m68k platforms, but NOT Sun2.  In any case, at least
Sun2 compiles now.

Revision 1.22 / (download) - annotate - [select for diffs], Sun Mar 4 09:59:53 2007 UTC (17 years ago) by tsutsui
Branch: MAIN
Branch point for: vmlocking
Changes since 1.21: +1 -5 lines
Diff to previous 1.21 (colored)

Remove #ifdef _KERNEL since this file is no longer exported.

Revision 1.21 / (download) - annotate - [select for diffs], Sun Mar 4 05:28:38 2007 UTC (17 years ago) by tsutsui
Branch: MAIN
Changes since 1.20: +3 -3 lines
Diff to previous 1.20 (colored)

Hide #include <m68k/softintr.h> inside #ifdef _KERNEL in <machine/intr.h>
to avoid exporting unnecessary files to userland.
Should fix build.sh failure, which was pointed out by isaki@.

XXX: which userland program would require contents of <machine/intr.h>?

Revision 1.20 / (download) - annotate - [select for diffs], Sun Mar 4 01:57:21 2007 UTC (17 years ago) by tsutsui
Branch: MAIN
Changes since 1.19: +3 -53 lines
Diff to previous 1.19 (colored)

Make hp300 use common m68k/softintr.c.

Revision 1.14.10.2 / (download) - annotate - [select for diffs], Mon Feb 26 09:06:33 2007 UTC (17 years ago) by yamt
Branch: yamt-lazymbuf
Changes since 1.14.10.1: +8 -8 lines
Diff to previous 1.14.10.1 (colored) to branchpoint 1.14 (colored)

sync with head.

Revision 1.19 / (download) - annotate - [select for diffs], Fri Feb 16 02:53:46 2007 UTC (17 years ago) by ad
Branch: MAIN
CVS Tags: ad-audiomp-base, ad-audiomp
Branch point for: yamt-idlelwp
Changes since 1.18: +1 -2 lines
Diff to previous 1.18 (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.18 / (download) - annotate - [select for diffs], Thu Feb 15 12:22:04 2007 UTC (17 years ago) by tsutsui
Branch: MAIN
Changes since 1.17: +2 -2 lines
Diff to previous 1.17 (colored)

Fix an indent in the previous.

Revision 1.17 / (download) - annotate - [select for diffs], Sat Feb 10 03:30:13 2007 UTC (17 years ago) by tsutsui
Branch: MAIN
Changes since 1.16: +8 -7 lines
Diff to previous 1.16 (colored)

Rename _IPL_SOFT* macro to SI_SOFT* to sync with other m68k ports.

Revision 1.15.20.1 / (download) - annotate - [select for diffs], Fri Jan 12 01:00:48 2007 UTC (17 years, 1 month ago) by ad
Branch: newlock2
Changes since 1.15: +52 -35 lines
Diff to previous 1.15 (colored) next main 1.16 (colored)

Sync with head.

Revision 1.14.10.1 / (download) - annotate - [select for diffs], Sat Dec 30 20:45:58 2006 UTC (17 years, 2 months ago) by yamt
Branch: yamt-lazymbuf
Changes since 1.14: +52 -35 lines
Diff to previous 1.14 (colored)

sync with head.

Revision 1.16 / (download) - annotate - [select for diffs], Thu Dec 21 15:55:22 2006 UTC (17 years, 2 months ago) by yamt
Branch: MAIN
CVS Tags: post-newlock2-merge, newlock2-nbase, newlock2-base
Changes since 1.15: +52 -35 lines
Diff to previous 1.15 (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.15.22.2 / (download) - annotate - [select for diffs], Sat Nov 4 15:52:40 2006 UTC (17 years, 4 months ago) by tsutsui
Branch: yamt-splraiseipl
Changes since 1.15.22.1: +2 -2 lines
Diff to previous 1.15.22.1 (colored) to branchpoint 1.15 (colored) next main 1.16 (colored)

Add missing parentheses to splsoftserial macro.
(which is used only inside #ifdef __NO_SOFT_SERIAL_INTERRUPT in com.c?)

Now init_main.c compiles though GENERIC still doesn't build due to
"initialization discards qualifiers from pointer target type" warnings
by newer gcc4.

Revision 1.15.22.1 / (download) - annotate - [select for diffs], Fri Oct 6 19:16:15 2006 UTC (17 years, 4 months ago) by tsutsui
Branch: yamt-splraiseipl
Changes since 1.15: +52 -35 lines
Diff to previous 1.15 (colored)

Reorganize IPL macros for proper splraiseipl() implementation:
- merge HP300_IPL_* and IPL_* macros
- prepare independent _IPL_SOFT_* macro to determine softintr(9) handlers
- rename hp300_ipls[] array to hp300_ipl2psl[]
- then use these macro for makeiplcookie() and splraiseipl()
Tested on HP382.

Revision 1.15 / (download) - annotate - [select for diffs], Sun Dec 11 12:17:19 2005 UTC (18 years, 2 months ago) by christos
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-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, peter-altq-base, peter-altq, 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: yamt-splraiseipl, newlock2
Changes since 1.14: +1 -1 lines
Diff to previous 1.14 (colored)

merge ktrace-lwp.

Revision 1.12.16.4 / (download) - annotate - [select for diffs], Mon Jan 17 19:29:28 2005 UTC (19 years, 1 month ago) by skrll
Branch: ktrace-lwp
Changes since 1.12.16.3: +2 -2 lines
Diff to previous 1.12.16.3 (colored) to branchpoint 1.12 (colored) next main 1.13 (colored)

Sync with HEAD.

Revision 1.14 / (download) - annotate - [select for diffs], Sun Jan 2 12:03:13 2005 UTC (19 years, 2 months ago) by tsutsui
Branch: MAIN
CVS Tags: yamt-vop-base3, yamt-vop-base2, yamt-vop-base, yamt-vop, yamt-readahead-pervnode, yamt-readahead-perfile, yamt-readahead-base3, yamt-readahead-base2, yamt-readahead-base, yamt-readahead, yamt-km-base4, yamt-km-base3, yamt-km-base2, yamt-km-base, yamt-km, thorpej-vnode-attr-base, thorpej-vnode-attr, netbsd-3-base, netbsd-3-1-RELEASE, netbsd-3-1-RC4, netbsd-3-1-RC3, netbsd-3-1-RC2, netbsd-3-1-RC1, netbsd-3-1-1-RELEASE, netbsd-3-1, netbsd-3-0-RELEASE, netbsd-3-0-RC6, netbsd-3-0-RC5, netbsd-3-0-RC4, netbsd-3-0-RC3, netbsd-3-0-RC2, netbsd-3-0-RC1, netbsd-3-0-3-RELEASE, netbsd-3-0-2-RELEASE, netbsd-3-0-1-RELEASE, netbsd-3-0, netbsd-3, ktrace-lwp-base, kent-audio2-base, kent-audio2, kent-audio1-beforemerge
Branch point for: yamt-lazymbuf
Changes since 1.13: +2 -2 lines
Diff to previous 1.13 (colored)

u_intNN_t -> uintNN_t

Revision 1.12.16.3 / (download) - annotate - [select for diffs], Tue Sep 21 13:15:27 2004 UTC (19 years, 5 months ago) by skrll
Branch: ktrace-lwp
Changes since 1.12.16.2: +1 -1 lines
Diff to previous 1.12.16.2 (colored) to branchpoint 1.12 (colored)

Fix the sync with head I botched.

Revision 1.12.16.2 / (download) - annotate - [select for diffs], Sat Sep 18 14:34:19 2004 UTC (19 years, 5 months ago) by skrll
Branch: ktrace-lwp
Changes since 1.12.16.1: +0 -0 lines
Diff to previous 1.12.16.1 (colored) to branchpoint 1.12 (colored)

Sync with HEAD.

Revision 1.12.16.1 / (download) - annotate - [select for diffs], Tue Aug 3 10:34:37 2004 UTC (19 years, 7 months ago) by skrll
Branch: ktrace-lwp
Changes since 1.12: +2 -1 lines
Diff to previous 1.12 (colored)

Sync with HEAD

Revision 1.13 / (download) - annotate - [select for diffs], Sat Nov 8 11:18:33 2003 UTC (20 years, 3 months ago) by tsutsui
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, kent-audio1-base, kent-audio1
Changes since 1.12: +2 -1 lines
Diff to previous 1.12 (colored)

Switch DCA and APCI serial devices to use MI com(4) driver.

DCA is tested on HP362 and HP382 with serial console,
but APCI on HP4xx is not tested yet.

Revision 1.11.2.1 / (download) - annotate - [select for diffs], Thu Jan 10 19:43:10 2002 UTC (22 years, 1 month ago) by thorpej
Branch: kqueue
Changes since 1.11: +73 -40 lines
Diff to previous 1.11 (colored) next main 1.12 (colored)

Sync kqueue branch with -current.

Revision 1.11.8.2 / (download) - annotate - [select for diffs], Tue Jan 8 00:24:45 2002 UTC (22 years, 1 month ago) by nathanw
Branch: nathanw_sa
CVS Tags: nathanw_sa_end
Changes since 1.11.8.1: +185 -0 lines
Diff to previous 1.11.8.1 (colored) to branchpoint 1.11 (colored) next main 1.12 (colored)

Catch up to -current.

Revision 1.12 / (download) - annotate - [select for diffs], Sat Dec 8 04:09:19 2001 UTC (22 years, 2 months ago) by gmcgarry
Branch: MAIN
CVS Tags: 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, nathanw_sa_before_merge, nathanw_sa_base, kqueue-beforemerge, kqueue-base, kqueue-aftermerge, 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: ktrace-lwp
Changes since 1.11: +73 -40 lines
Diff to previous 1.11 (colored)

softintr(9) interface for hp300

Revision 1.10.2.1 / (download) - annotate - [select for diffs], Thu Jun 21 19:22:06 2001 UTC (22 years, 8 months ago) by nathanw
Changes since 1.10: +1 -2 lines
Diff to previous 1.10 (colored) next main 1.11 (colored)

Catch up to -current.

Revision 1.7.2.3 / (download) - annotate - [select for diffs], Sat Apr 21 17:53:31 2001 UTC (22 years, 10 months ago) by bouyer
Branch: thorpej_scsipi
Changes since 1.7.2.2: +1 -2 lines
Diff to previous 1.7.2.2 (colored) to branchpoint 1.7 (colored) next main 1.8 (colored)

Sync with HEAD

Revision 1.11.8.1, Fri Apr 13 23:29:59 2001 UTC (22 years, 10 months ago) by nathanw
Branch: nathanw_sa
Changes since 1.11: +0 -152 lines
FILE REMOVED

file intr.h was added on branch nathanw_sa on 2002-01-08 00:24:45 +0000

Revision 1.11 / (download) - annotate - [select for diffs], Fri Apr 13 23:29:59 2001 UTC (22 years, 10 months ago) by thorpej
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
Branch point for: nathanw_sa, kqueue
Changes since 1.10: +1 -2 lines
Diff to previous 1.10 (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.7.2.2 / (download) - annotate - [select for diffs], Thu Jan 18 09:22:30 2001 UTC (23 years, 1 month ago) by bouyer
Branch: thorpej_scsipi
Changes since 1.7.2.1: +2 -1 lines
Diff to previous 1.7.2.1 (colored) to branchpoint 1.7 (colored)

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

Revision 1.10 / (download) - annotate - [select for diffs], Sun Jan 14 02:00:39 2001 UTC (23 years, 1 month ago) by thorpej
Branch: MAIN
Changes since 1.9: +2 -1 lines
Diff to previous 1.9 (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.7.2.1 / (download) - annotate - [select for diffs], Mon Nov 20 20:08:09 2000 UTC (23 years, 3 months ago) by bouyer
Branch: thorpej_scsipi
Changes since 1.7: +3 -1 lines
Diff to previous 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.9 / (download) - annotate - [select for diffs], Tue Aug 22 19:46:29 2000 UTC (23 years, 6 months ago) by thorpej
Branch: MAIN
Changes since 1.8: +2 -1 lines
Diff to previous 1.8 (colored)

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

Revision 1.8 / (download) - annotate - [select for diffs], Mon Aug 21 02:06:32 2000 UTC (23 years, 6 months ago) by thorpej
Branch: MAIN
Changes since 1.7: +2 -1 lines
Diff to previous 1.7 (colored)

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

Revision 1.7 / (download) - annotate - [select for diffs], Thu Aug 5 18:08:10 1999 UTC (24 years, 7 months ago) by thorpej
Branch: MAIN
CVS Tags: wrstuden-devbsize-base, wrstuden-devbsize-19991221, wrstuden-devbsize, 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, fvdl-softdep-base, fvdl-softdep, comdex-fall-1999-base, comdex-fall-1999, chs-ubc2-newbase
Branch point for: thorpej_scsipi
Changes since 1.6: +6 -45 lines
Diff to previous 1.6 (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.4.10.2 / (download) - annotate - [select for diffs], Mon Aug 2 19:46:12 1999 UTC (24 years, 7 months ago) by thorpej
Branch: chs-ubc2
Changes since 1.4.10.1: +20 -17 lines
Diff to previous 1.4.10.1 (colored) to branchpoint 1.4 (colored) next main 1.5 (colored)

Update from trunk.

Revision 1.6 / (download) - annotate - [select for diffs], Sun Aug 1 21:50:17 1999 UTC (24 years, 7 months ago) by thorpej
Branch: MAIN
CVS Tags: chs-ubc2-base
Changes since 1.5: +20 -17 lines
Diff to previous 1.5 (colored)

Store computed PSL values in an array indexed by abstract interrupt
level, rather than individual shortwords.

Revision 1.4.10.1 / (download) - annotate - [select for diffs], Mon Jun 21 00:49:22 1999 UTC (24 years, 8 months ago) by thorpej
Branch: chs-ubc2
Changes since 1.4: +3 -3 lines
Diff to previous 1.4 (colored)

Sync w/ -current.

Revision 1.5 / (download) - annotate - [select for diffs], Tue Jun 15 15:26:34 1999 UTC (24 years, 8 months ago) by kleink
Branch: MAIN
Changes since 1.4: +3 -3 lines
Diff to previous 1.4 (colored)

Slightly rearrange the SSIR inline assembly implementation in order to avoid
making assumptions on C symbol name prefixes.

Revision 1.4 / (download) - annotate - [select for diffs], Mon May 18 17:37:38 1998 UTC (25 years, 9 months ago) by kleink
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, eeh-paddr_t-base, eeh-paddr_t, chs-ubc-base, chs-ubc
Branch point for: chs-ubc2
Changes since 1.3: +2 -2 lines
Diff to previous 1.3 (colored)

Spell `interrupt' correctly.

Revision 1.2.2.1 / (download) - annotate - [select for diffs], Tue Oct 14 08:55:55 1997 UTC (26 years, 4 months ago) by thorpej
Branch: marc-pcmcia
Changes since 1.2: +3 -3 lines
Diff to previous 1.2 (colored) next main 1.3 (colored)

Update marc-pcmcia branch from trunk.

Revision 1.3 / (download) - annotate - [select for diffs], Thu Oct 9 08:58:47 1997 UTC (26 years, 4 months ago) by jtc
Branch: MAIN
CVS Tags: netbsd-1-3-base, 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, netbsd-1-3, marc-pcmcia-base
Changes since 1.2: +3 -3 lines
Diff to previous 1.2 (colored)

Fix tipo inherited from old version of TNF copyright template.

Revision 1.2 / (download) - annotate - [select for diffs], Thu Jul 24 05:43:08 1997 UTC (26 years, 7 months ago) by scottr
Branch: MAIN
CVS Tags: thorpej-signal-base, thorpej-signal, marc-pcmcia-bp
Branch point for: marc-pcmcia
Changes since 1.1: +16 -5 lines
Diff to previous 1.1 (colored)

Use optimized _splraise() implementation, from mac68k/intr.h

Revision 1.1 / (download) - annotate - [select for diffs], Mon Apr 14 02:28:51 1997 UTC (26 years, 10 months ago) by thorpej
Branch: MAIN
CVS Tags: bouyer-scsipi

Rearrange the interrupt code slightly:
- place all interrupt-related macros, prototypes, etc. into <machine/intr.h>,
  like other ports.
- rename isrlink/isrunlink/isrinit, etc. intr_establish/intr_disestablish/
  intr_init, etc., and move to intr.c for naming consistency.
- don't call intr_init() twice.

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>