Home | History | Annotate | Download | only in include
History log of /src/sys/arch/arc/include/intr.h
RevisionDateAuthorComments
 1.24  16-Nov-2011  he Make sure "struct clockframe" is declared before declaring a
parameter as a pointer to that struct; fixes build problem for
getfstypename.c as part of libkern.
 1.23  20-Feb-2011  matt branches: 1.23.4;
Merge forward from matt-nb5-mips64.
Adapt to new interrupt/spl framework.
Add LP64 support.
 1.22  28-Apr-2008  martin branches: 1.22.18; 1.22.22; 1.22.28; 1.22.30;
Remove clause 3 and 4 from TNF licenses
 1.21  03-Dec-2007  ad branches: 1.21.14; 1.21.16; 1.21.18;
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.
 1.20  17-Oct-2007  garbled branches: 1.20.2;
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.
 1.19  17-Jun-2007  tsutsui branches: 1.19.8; 1.19.10;
Move declaretions of _spl*() and _{clr,set}softintr() functions
(which are in mips/locore.S) into <mips/locore.h>
from various MD files.
 1.18  16-Feb-2007  ad branches: 1.18.6; 1.18.8; 1.18.14;
Remove spllowersoftclock() and CLKF_BASEPRI(), and always dispatch callouts
via a soft interrupt. In the near future, softclock will be run from process
context.
 1.17  21-Dec-2006  yamt 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.
 1.16  24-Jun-2006  tsutsui branches: 1.16.4; 1.16.6;
Misc minor cleanup for arc interrupt handlers:
- always enable options MIPS3_ENABLE_CLOCK_INTR and just clear the compare
register in cpu_intr() to make CLKF_BASE() works
properly
- prepare only possible number of cpu_inttab
- use macro for interrupt priority number passed to arc_set_intr()
to avoid confusion
- merge arc_hardware_intr() into cpu_intr()
- check independent timer interrupt first in cpu_intr()
- tweak MIPS_SR_INT_IE before calling hardclock timer handlers so that
spllowersoftclock(9) will be invoked properly in hardclock(9)
- reenable interrupt for timer in cpu_intr() rather than each timer handlers

okay'ed by soda.

Note the real fix is to make CLKF_BASE() check all independent
interrupt sources including jazz and isa devices.
 1.15  17-Jun-2006  tsutsui Remove extern from function declarations.
 1.14  11-Dec-2005  christos branches: 1.14.4; 1.14.8; 1.14.14; 1.14.16;
merge ktrace-lwp.
 1.13  22-Jan-2005  tsutsui branches: 1.13.8;
Make all intr_mask value types uint32_t rather than int, u_int,
or unsigned etc.
 1.12  22-Jan-2005  tsutsui - remove __P()
- use ANSI function decls
- u_intNN_t -> uintNN_t
- some KNF
 1.11  25-May-2003  tsutsui branches: 1.11.2; 1.11.10;
Add generic software interrupt support with mips/softintr.c.
 1.10  13-Jun-2001  soda branches: 1.10.8; 1.10.12;
introduce "struct platform", and remove "cputype" variable.

this change also includes a patch to obtain secondary cache size
from ARC firmware by Bob Meader, which was posted on port-arc on 18 Aug 2000.
this should make NEC Express RISCserver work.

this change obtains ID of display controller from ARC firmware, too.
 1.9  13-Apr-2001  thorpej 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.
 1.8  12-Apr-2001  thorpej splvec.splimp -> splvec.splvm
 1.7  14-Jan-2001  thorpej branches: 1.7.2;
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).
 1.6  22-Aug-2000  thorpej branches: 1.6.2;
Add spllock(). See spl(9) for details.
 1.5  21-Aug-2000  thorpej Make sure we provide splsched() as described in spl(9).
 1.4  15-Apr-2000  soda remove following symbols which became unnecessary in recent cpu_intr() change:
mips_hardware_intr
MIPS3_INTERNAL_TIMER_INTERRUPT
mips3_intr_cycle_count
mips3_timer_delta
 1.3  03-Apr-2000  soda splsoftnet() should block softclock() too.
 1.2  23-Jan-2000  soda merge to NetBSD-current (DeskStation and Algor support is currently broken)
 1.1  23-Jan-2000  soda branches: 1.1.1;
Initial revision
 1.1.1.2  22-Feb-2000  soda OpenBSD-2.6/arc
 1.1.1.1  23-Jan-2000  soda OpenBSD-2.1/arc
 1.6.2.4  21-Apr-2001  bouyer Sync with HEAD
 1.6.2.3  18-Jan-2001  bouyer Sync with head (for UBC+NFS fixes, mostly).
 1.6.2.2  20-Nov-2000  bouyer 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.
 1.6.2.1  22-Aug-2000  bouyer file intr.h was added on branch thorpej_scsipi on 2000-11-20 20:00:36 +0000
 1.7.2.1  21-Jun-2001  nathanw Catch up to -current.
 1.10.12.1  17-Mar-2002  thorpej IPL_IMP -> IPL_VM
 1.10.8.2  13-Jun-2001  soda introduce "struct platform", and remove "cputype" variable.

this change also includes a patch to obtain secondary cache size
from ARC firmware by Bob Meader, which was posted on port-arc on 18 Aug 2000.
this should make NEC Express RISCserver work.

this change obtains ID of display controller from ARC firmware, too.
 1.10.8.1  13-Jun-2001  soda file intr.h was added on branch nathanw_sa on 2001-06-13 15:08:07 +0000
 1.11.10.1  29-Apr-2005  kent sync with -current
 1.11.2.1  24-Jan-2005  skrll Sync with HEAD.
 1.13.8.5  07-Dec-2007  yamt sync with head
 1.13.8.4  03-Sep-2007  yamt sync with head.
 1.13.8.3  26-Feb-2007  yamt sync with head.
 1.13.8.2  30-Dec-2006  yamt sync with head.
 1.13.8.1  21-Jun-2006  yamt sync with head.
 1.14.16.1  13-Jul-2006  gdamore Merge from HEAD.
 1.14.14.1  19-Jun-2006  chap Sync with head.
 1.14.8.1  26-Jun-2006  yamt sync with head.
 1.14.4.1  09-Sep-2006  rpaulo sync with head
 1.16.6.3  22-Sep-2006  yamt add SI_QUEUENAMES missed in the previous.
 1.16.6.2  22-Sep-2006  yamt fix softintr for following ports. (hopefully)
hpcmips
evbmips
algor
arc
ews4800mips
newsmips
 1.16.6.1  21-Sep-2006  yamt - implement splraiseipl for algor, arc, ews4800mips, hpcmips, and newsmips.
- tweak evbmips version to match with others.
XXX i think these ought to be merged.
 1.16.4.1  12-Jan-2007  ad Sync with head.
 1.18.14.1  26-Jun-2007  garbled Sync with HEAD.
 1.18.8.1  11-Jul-2007  mjf Sync with head.
 1.18.6.2  03-Dec-2007  ad Sync with HEAD.
 1.18.6.1  15-Jul-2007  ad Sync with head.
 1.19.10.2  09-Jan-2008  matt sync with HEAD
 1.19.10.1  06-Nov-2007  matt sync with HEAD
 1.19.8.1  09-Dec-2007  jmcneill Sync with HEAD.
 1.20.2.1  08-Dec-2007  mjf Sync with HEAD.
 1.21.18.1  16-May-2008  yamt sync with head.
 1.21.16.1  18-May-2008  yamt sync with head.
 1.21.14.1  02-Jun-2008  mjf Sync with HEAD.
 1.22.30.1  05-Mar-2011  bouyer Sync with HEAD
 1.22.28.1  06-Jun-2011  jruoho Sync with HEAD.
 1.22.22.1  05-Mar-2011  rmind sync with head
 1.22.18.2  29-Dec-2010  matt Adapt to the new interrupt structure.
 1.22.18.1  06-Feb-2010  matt <mips/softintr.h> is no longer needed.
 1.23.4.1  17-Apr-2012  yamt sync with head

RSS XML Feed