The NetBSD Project

CVS log for src/sys/arch/arm/arm32/irq_dispatch.S

[BACK] Up to [cvs.netbsd.org] / src / sys / arch / arm / arm32

Request diff between arbitrary revisions


Default branch: MAIN


Revision 1.10.28.1 / (download) - annotate - [select for diffs], Mon Jun 6 09:05:01 2011 UTC (11 months, 2 weeks ago) by jruoho
Branch: jruoho-x86intr
Changes since 1.10: +2 -4 lines
Diff to previous 1.10 (colored) next main 1.11 (colored)

Sync with HEAD.

Revision 1.10.22.1 / (download) - annotate - [select for diffs], Tue May 31 03:03:55 2011 UTC (11 months, 3 weeks ago) by rmind
Branch: rmind-uvmplock
Changes since 1.10: +1 -3 lines
Diff to previous 1.10 (colored) next main 1.11 (colored)

sync with head

Revision 1.11 / (download) - annotate - [select for diffs], Sat May 28 20:53:57 2011 UTC (11 months, 4 weeks ago) by jakllsch
Branch: MAIN
CVS Tags: yamt-pagecache-base5, yamt-pagecache-base4, yamt-pagecache-base3, yamt-pagecache-base2, yamt-pagecache-base, yamt-pagecache, rmind-uvmplock-nbase, rmind-uvmplock-base, netbsd-6-base, netbsd-6, 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-base, jmcneill-usbmp, jmcneill-audiomp3-base, jmcneill-audiomp3, cherry-xenmp-base, cherry-xenmp, HEAD
Changes since 1.10: +2 -4 lines
Diff to previous 1.10 (colored)

Remove unused local variable.
Spelling fix in comment.

Revision 1.9.6.1 / (download) - annotate - [select for diffs], Mon Jun 2 13:21:53 2008 UTC (3 years, 11 months ago) by mjf
Branch: mjf-devfs2
Changes since 1.9: +8 -16 lines
Diff to previous 1.9 (colored) next main 1.10 (colored)

Sync with HEAD.

Revision 1.9.8.1 / (download) - annotate - [select for diffs], Sun May 18 12:31:34 2008 UTC (4 years ago) by yamt
Branch: yamt-pf42
Changes since 1.9: +8 -16 lines
Diff to previous 1.9 (colored) next main 1.10 (colored)

sync with head.

Revision 1.9.10.1 / (download) - annotate - [select for diffs], Fri May 16 02:21:56 2008 UTC (4 years ago) by yamt
Branch: yamt-nfs-mp
Changes since 1.9: +8 -16 lines
Diff to previous 1.9 (colored) next main 1.10 (colored)

sync with head.

Revision 1.10 / (download) - annotate - [select for diffs], Sun Apr 27 18:58:44 2008 UTC (4 years ago) by matt
Branch: MAIN
CVS Tags: yamt-pf42-base4, yamt-pf42-base3, yamt-pf42-base2, yamt-nfs-mp-base9, yamt-nfs-mp-base8, yamt-nfs-mp-base7, yamt-nfs-mp-base6, yamt-nfs-mp-base5, yamt-nfs-mp-base4, yamt-nfs-mp-base3, yamt-nfs-mp-base2, yamt-nfs-mp-base11, yamt-nfs-mp-base10, wrstuden-revivesa-base-4, wrstuden-revivesa-base-3, wrstuden-revivesa-base-2, wrstuden-revivesa-base-1, wrstuden-revivesa-base, wrstuden-revivesa, uebayasi-xip-base7, uebayasi-xip-base6, uebayasi-xip-base5, uebayasi-xip-base4, uebayasi-xip-base3, uebayasi-xip-base2, uebayasi-xip-base1, uebayasi-xip-base, uebayasi-xip, simonb-wapbl-nbase, simonb-wapbl-base, simonb-wapbl, nick-hppapmap-base4, nick-hppapmap-base3, nick-hppapmap-base2, nick-hppapmap-base, nick-hppapmap, netbsd-5-base, netbsd-5-1-RELEASE, netbsd-5-1-RC4, netbsd-5-1-RC3, netbsd-5-1-RC2, netbsd-5-1-RC1, netbsd-5-1-2-RELEASE, netbsd-5-1-1-RELEASE, netbsd-5-1, netbsd-5-0-RELEASE, netbsd-5-0-RC4, netbsd-5-0-RC3, netbsd-5-0-RC2, netbsd-5-0-RC1, netbsd-5-0-2-RELEASE, netbsd-5-0-1-RELEASE, netbsd-5-0, netbsd-5, mjf-devfs2-base, matt-premerge-20091211, matt-nb5-pq3-base, matt-nb5-pq3, matt-nb5-mips64-u2-k2-k4-k7-k8-k9, matt-nb5-mips64-u1-k1-k5, matt-nb5-mips64-premerge-20101231, matt-nb5-mips64-premerge-20091211, matt-nb5-mips64-k15, matt-nb5-mips64, matt-nb4-mips64-k7-u2a-k9b, matt-mips64-premerge-20101231, matt-mips64-base2, jymxensuspend-base, jym-xensuspend-nbase, jym-xensuspend-base, jym-xensuspend, jruoho-x86intr-base, hpcarm-cleanup-nbase, haad-nbase2, haad-dm-base2, haad-dm-base1, haad-dm-base, haad-dm, bouyer-quota2-nbase, bouyer-quota2-base, bouyer-quota2, ad-audiomp2-base, ad-audiomp2
Branch point for: rmind-uvmplock, jruoho-x86intr
Changes since 1.9: +8 -16 lines
Diff to previous 1.9 (colored)

Merge kernel changes in matt-armv6 to HEAD.

Revision 1.8.16.1 / (download) - annotate - [select for diffs], Thu Feb 28 21:47:41 2008 UTC (4 years, 2 months ago) by rjs
Branch: hpcarm-cleanup
Changes since 1.8: +2 -6 lines
Diff to previous 1.8 (colored) next main 1.9 (colored)

Sync with HEAD.

Revision 1.8.28.1 / (download) - annotate - [select for diffs], Mon Feb 18 21:04:22 2008 UTC (4 years, 3 months ago) by mjf
Branch: mjf-devfs
Changes since 1.8: +2 -6 lines
Diff to previous 1.8 (colored) next main 1.9 (colored)

Sync with HEAD.

Revision 1.6.2.2 / (download) - annotate - [select for diffs], Mon Jan 21 09:35:36 2008 UTC (4 years, 4 months ago) by yamt
Branch: yamt-lazymbuf
Changes since 1.6.2.1: +2 -6 lines
Diff to previous 1.6.2.1 (colored) to branchpoint 1.6 (colored) next main 1.7 (colored)

sync with head

Revision 1.8.20.1 / (download) - annotate - [select for diffs], Sun Jan 20 16:03:56 2008 UTC (4 years, 4 months ago) by chris
Branch: chris-arm-intr-rework
Changes since 1.8: +2 -6 lines
Diff to previous 1.8 (colored) next main 1.9 (colored)

Sync to HEAD.

Revision 1.8.22.2 / (download) - annotate - [select for diffs], Wed Jan 9 01:45:11 2008 UTC (4 years, 4 months ago) by matt
Branch: matt-armv6
Changes since 1.8.22.1: +1 -1 lines
Diff to previous 1.8.22.1 (colored) to branchpoint 1.8 (colored) next main 1.9 (colored)

sync with HEAD

Revision 1.8.34.1 / (download) - annotate - [select for diffs], Tue Jan 8 22:09:25 2008 UTC (4 years, 4 months ago) by bouyer
Branch: bouyer-xeni386
CVS Tags: bouyer-xeni386-merge1
Changes since 1.8: +2 -6 lines
Diff to previous 1.8 (colored) next main 1.9 (colored)

Sync with HEAD

Revision 1.9 / (download) - annotate - [select for diffs], Sun Jan 6 03:45:26 2008 UTC (4 years, 4 months ago) by matt
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, matt-armv6-base, keiichi-mipv6-nbase, keiichi-mipv6-base, keiichi-mipv6, hpcarm-cleanup-base, chris-arm-intr-rework-base7, chris-arm-intr-rework-base6, chris-arm-intr-rework-base5, chris-arm-intr-rework-base4, bouyer-xeni386-nbase, bouyer-xeni386-base, ad-socklock-base1
Branch point for: yamt-pf42, yamt-nfs-mp, mjf-devfs2
Changes since 1.8: +2 -6 lines
Diff to previous 1.8 (colored)

Truly kill current_intr_depth once and for all.

Revision 1.6.2.1 / (download) - annotate - [select for diffs], Mon Sep 3 14:23:15 2007 UTC (4 years, 8 months ago) by yamt
Branch: yamt-lazymbuf
Changes since 1.6: +5 -1 lines
Diff to previous 1.6 (colored)

sync with head.

Revision 1.8.22.1 / (download) - annotate - [select for diffs], Tue Aug 28 18:49:51 2007 UTC (4 years, 8 months ago) by matt
Branch: matt-armv6
CVS Tags: matt-armv6-prevmlocking
Changes since 1.8: +8 -20 lines
Diff to previous 1.8 (colored)

Teach this about the new world order (cpu_info = r4, intr_depth in cpu_info)

Revision 1.8.8.1 / (download) - annotate - [select for diffs], Wed Apr 18 07:34:42 2007 UTC (5 years, 1 month ago) by thorpej
Branch: thorpej-atomic
Changes since 1.8: +3 -3 lines
Diff to previous 1.8 (colored) next main 1.9 (colored)

Remove _lock_cas() in favor of atomic_cas_32().

Revision 1.7.26.1 / (download) - annotate - [select for diffs], Mon Mar 12 05:47:02 2007 UTC (5 years, 2 months ago) by rmind
Branch: yamt-idlelwp
Changes since 1.7: +5 -1 lines
Diff to previous 1.7 (colored) next main 1.8 (colored)

Sync with HEAD.

Revision 1.8 / (download) - annotate - [select for diffs], Fri Mar 9 19:21:58 2007 UTC (5 years, 2 months ago) by thorpej
Branch: MAIN
CVS Tags: yamt-x86pmap-base4, yamt-x86pmap-base3, yamt-x86pmap-base2, yamt-x86pmap-base, yamt-x86pmap, yamt-kmem-base3, yamt-kmem-base2, yamt-kmem-base, yamt-kmem, yamt-idlelwp-base8, vmlocking2-base3, vmlocking2-base2, vmlocking2-base1, vmlocking2, vmlocking-nbase, vmlocking-base, vmlocking, thorpej-atomic-base, reinoud-bufcleanup-nbase, reinoud-bufcleanup-base, reinoud-bufcleanup, ppcoea-renovation-base, ppcoea-renovation, nick-csl-alignment-base5, nick-csl-alignment-base, nick-csl-alignment, mjf-ufs-trans-base, mjf-ufs-trans, matt-mips64-base, matt-mips64, jmcneill-pm-base, jmcneill-pm, jmcneill-base, cube-autoconf-base, cube-autoconf, chris-arm-intr-rework-base3, chris-arm-intr-rework-base2, chris-arm-intr-rework-base, bouyer-xenamd64-base2, bouyer-xenamd64-base, bouyer-xenamd64
Branch point for: thorpej-atomic, mjf-devfs, matt-armv6, hpcarm-cleanup, chris-arm-intr-rework, bouyer-xeni386
Changes since 1.7: +5 -1 lines
Diff to previous 1.7 (colored)

Rewrite the ARM mutex implementation to be of the simple-mutex variety.
Because pre-v6 ARM lacks support for an atomic compare-and-swap, we
implement _lock_cas() as a restartable atomic squence that is checked
in the IRQ handler right before AST processing.  (This is safe because,
for all practical purposes, there are no SMP pre-v6 ARM systems.)

This can serve as a model for other non-MP platforms that lack the
necessary atomic operations for mutexes (SuperH, for example).

Upshots of this change:
- kmutex_t is now down to 8 bytes on ARM; about as good as we can get.
- ARM2 systems don't have to trap and emulate SWP or SWPB for mutexes.

The acorn26 port is not updated by this commit to do the LOCK_CAS_CHECK.
That is left as an exercise for the port maintainer.

Reviewed and tested by Matt Thomas.

Revision 1.7 / (download) - annotate - [select for diffs], Sun Dec 11 12:16:41 2005 UTC (6 years, 5 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-splraiseipl, yamt-pdpolicy-base9, yamt-pdpolicy-base8, yamt-pdpolicy-base7, yamt-pdpolicy-base6, yamt-pdpolicy-base5, yamt-pdpolicy-base4, yamt-pdpolicy-base3, yamt-pdpolicy-base2, yamt-pdpolicy-base, yamt-pdpolicy, wrstuden-fixsa-newbase, wrstuden-fixsa-base-1, wrstuden-fixsa-base, wrstuden-fixsa, simonb-timecounters-base, simonb-timecounters, simonb-timcounters-final, rpaulo-netinet-merge-pcb-base, rpaulo-netinet-merge-pcb, post-newlock2-merge, peter-altq-base, peter-altq, newlock2-nbase, newlock2-base, newlock2, netbsd-4-base, netbsd-4-0-RELEASE, netbsd-4-0-RC5, netbsd-4-0-RC4, netbsd-4-0-RC3, netbsd-4-0-RC2, netbsd-4-0-RC1, netbsd-4-0-1-RELEASE, netbsd-4-0, netbsd-4, matt-nb4-arm-base, matt-nb4-arm, gdamore-uart-base, gdamore-uart, elad-kernelauth-base, elad-kernelauth, chap-midi-nbase, chap-midi-base, chap-midi, ad-audiomp-base, ad-audiomp, abandoned-netbsd-4-base, abandoned-netbsd-4
Branch point for: yamt-idlelwp
Changes since 1.6: +1 -1 lines
Diff to previous 1.6 (colored)

merge ktrace-lwp.

Revision 1.2.4.4 / (download) - annotate - [select for diffs], Thu Nov 10 13:55:16 2005 UTC (6 years, 6 months ago) by skrll
Branch: ktrace-lwp
Changes since 1.2.4.3: +1 -15 lines
Diff to previous 1.2.4.3 (colored) to branchpoint 1.2 (colored) next main 1.3 (colored)

Sync with HEAD. Here we go again...

Revision 1.6 / (download) - annotate - [select for diffs], Tue May 31 00:45:02 2005 UTC (6 years, 11 months ago) by chs
Branch: MAIN
CVS Tags: yamt-vop-base3, yamt-vop-base2, yamt-vop-base, yamt-vop, yamt-readahead-pervnode, yamt-readahead-perfile, yamt-readahead-base3, yamt-readahead-base2, yamt-readahead-base, yamt-readahead, thorpej-vnode-attr-base, thorpej-vnode-attr, ktrace-lwp-base
Branch point for: yamt-lazymbuf
Changes since 1.5: +1 -15 lines
Diff to previous 1.5 (colored)

remove vestigal {,e}intr{names,cnt} symbols now that vmstat doesn't need them.

Revision 1.2.4.3 / (download) - annotate - [select for diffs], Tue Sep 21 13:13:10 2004 UTC (7 years, 8 months ago) by skrll
Branch: ktrace-lwp
Changes since 1.2.4.2: +1 -1 lines
Diff to previous 1.2.4.2 (colored) to branchpoint 1.2 (colored)

Fix the sync with head I botched.

Revision 1.2.4.2 / (download) - annotate - [select for diffs], Sat Sep 18 14:32:17 2004 UTC (7 years, 8 months ago) by skrll
Branch: ktrace-lwp
Changes since 1.2.4.1: +0 -0 lines
Diff to previous 1.2.4.1 (colored) to branchpoint 1.2 (colored)

Sync with HEAD.

Revision 1.2.4.1 / (download) - annotate - [select for diffs], Tue Aug 3 10:32:29 2004 UTC (7 years, 9 months ago) by skrll
Branch: ktrace-lwp
Changes since 1.2: +5 -31 lines
Diff to previous 1.2 (colored)

Sync with HEAD

Revision 1.5 / (download) - annotate - [select for diffs], Thu Oct 30 08:57:24 2003 UTC (8 years, 6 months ago) by scw
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, matt-timespec, kent-audio2-base, kent-audio2, kent-audio1-beforemerge, kent-audio1-base, kent-audio1
Changes since 1.4: +4 -109 lines
Diff to previous 1.4 (colored)

Move the alignment fault enable/disable code into macroes to avoid
needless duplication.

Additionally, merge AST handling into the same code.

exception.S and the generic irq_dispatch.S routines have been updated
to use the macroes.

XXX: I have patches for the non-generic IRQ dispatch routines, but they
need testing by someone with hardware.

Revision 1.4 / (download) - annotate - [select for diffs], Sun Oct 26 11:34:29 2003 UTC (8 years, 7 months ago) by scw
Branch: MAIN
Changes since 1.3: +7 -5 lines
Diff to previous 1.3 (colored)

Assume that if curpcb is NULL, we're already running with alignment
faults enabled.

Revision 1.3 / (download) - annotate - [select for diffs], Sat Oct 25 20:42:49 2003 UTC (8 years, 7 months ago) by scw
Branch: MAIN
Changes since 1.2: +89 -12 lines
Diff to previous 1.2 (colored)

Oops, forgot to commit this along with the others...

Enable alignment faults on arm32 for both kernel and userland.

If COMPAT_15 and EXEC_AOUT are defined, support per-process
alignment checking where AFLTs are always enabled when running
kernel code and userland ELF binaries, and dynamically disabled/
enabled when switching to/from a.out binaries. This is necessary
in order to execute older a.out binaries, where gcc made
deliberate use of misaligned loads under certain circumstances.

Revision 1.2.2.2 / (download) - annotate - [select for diffs], Fri Jan 3 16:41:07 2003 UTC (9 years, 4 months ago) by thorpej
Branch: nathanw_sa
CVS Tags: nathanw_sa_end
Changes since 1.2.2.1: +181 -0 lines
Diff to previous 1.2.2.1 (colored) to branchpoint 1.2 (colored) next main 1.3 (colored)

Sync with HEAD.

Revision 1.2.2.1, Fri Jan 3 00:38:16 2003 UTC (9 years, 4 months ago) by thorpej
Branch: nathanw_sa
Changes since 1.2: +0 -181 lines
FILE REMOVED

file irq_dispatch.S was added on branch nathanw_sa on 2003-01-03 16:41:07 +0000

Revision 1.2 / (download) - annotate - [select for diffs], Fri Jan 3 00:38:16 2003 UTC (9 years, 4 months ago) by thorpej
Branch: MAIN
CVS Tags: nathanw_sa_before_merge, nathanw_sa_base
Branch point for: nathanw_sa, ktrace-lwp
Changes since 1.1: +28 -2 lines
Diff to previous 1.1 (colored)

Fiddle with current_intr_depth in assembly code again.  Because we
have just pushed a frame, we can make some assumptions that the
compiler cannot as easily make, and can thus do it slightly more
efficiently.

Revision 1.1 / (download) - annotate - [select for diffs], Thu Jan 2 23:37:53 2003 UTC (9 years, 4 months ago) by thorpej
Branch: MAIN

Clean up evbarm interrupt support a little:
* Define an ARM_INTR_IMPL option, which specifies a header file
  describing the interrupt implementation for the platform.  Use
  this instead of the list of EVBARM_BOARDTYPE checks.
* Make the s3c2xx0 interrupt dispatch code a bit more generic, and move
  it to a generic location so that other platforms can use it.

This eliminates all uses of the EVBARM_BOARDTYPE stuff, so delete it.

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>