Home | History | Annotate | Download | only in include
History log of /src/sys/arch/prep/include/intr.h
RevisionDateAuthorComments
 1.34  17-Jun-2011  matt intr.h must not include cpu due to deadly embrace with SOFTINT_COUNT.
Cleanup intr.h so MD definitions can overload common definitions.
Rototill pic/intr.c. Virtual IRQs can now be reclaimed. separate virq
from hwirq from picirq. Redo intr mask calculations.
tested on pmppc and macppc (MP).
 1.33  13-Nov-2010  uebayasi branches: 1.33.6;
sys/device.h is not suitable for such low-level definitions.
 1.32  24-Apr-2010  kiyohara Support 64-bit imask for powerpc/pic.
 1.31  28-Apr-2008  martin branches: 1.31.20; 1.31.22;
Remove clause 3 and 4 from TNF licenses
 1.30  17-Oct-2007  garbled branches: 1.30.16; 1.30.18; 1.30.20;
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.29  16-Feb-2007  ad branches: 1.29.6; 1.29.14; 1.29.22; 1.29.24; 1.29.26; 1.29.28;
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.28  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.27  13-Jul-2006  garbled branches: 1.27.4; 1.27.6;
Rather than hardcode the location of the Interrupt Vector Register, we
try to locate it using the residual data. On some machines this doesn't
work, so we fall back to hardcoding it. This should fix isa interrupts
on the 7025-F40, which has the IVR at a different location.
 1.26  29-Jun-2006  garbled Change how the MPIC/OpenPIC is configured at boot. Rather than scanning
for a magical PCI device location (that is sometimes wrong), we scan the
residual data for an MPIC, and if we find one, wire it up from there.
This will hopefully allow interrupts to work on the MPC750 and the
7025-F40. I suspect however the interrupt vector address on the 7025 will
still need some work.
 1.25  08-May-2006  garbled branches: 1.25.4;
Switch prep over to evcnt(9). While I was here, I also switched it to
use struct cpu_info for the cpu stuff. Tested on 7248 and 7043.
 1.24  03-May-2006  garbled Generic soft interrupt support for prep. Mostly copied from macppc,
tested on 7248 and 7043.
 1.23  16-Feb-2006  perry branches: 1.23.2; 1.23.4; 1.23.6;
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@.
 1.22  24-Dec-2005  perry branches: 1.22.2; 1.22.4; 1.22.6;
__asm__ -> __asm
__const__ -> const
__inline__ -> inline
__volatile__ -> volatile
 1.21  24-Dec-2005  perry Remove leading __ from __(const|inline|signed|volatile) -- it is obsolete.
 1.20  11-Dec-2005  christos merge ktrace-lwp.
 1.19  03-Sep-2003  matt branches: 1.19.16;
Move CLKF_BASEPRI to machine specific <intr.h> file since it depends on
the encoding of the spl for the port.
 1.18  16-Jun-2003  thorpej branches: 1.18.2;
Rename IPL_IMP -> IPL_VM.
 1.17  05-Jul-2002  matt Peform a rototill over the powerpc-based ports.

Move the trap/vector initialization for MPC6xx ports to mpc6xx_machdep.c
Also move softnet, install_extintr, mapiodev, kvtop. Add common BAT
initialization code.

Add user Altivec support.

Fix calls to OF_call_method in macppc/macppc/machdep.c.

Use ci_fpuproc in cpu_info instead of separate fpuproc.

Add separate syscall.c and defined __HAVE_SYSCALL_INTERN.
 1.16  30-May-2002  nonaka Support IBM RS/6000 43P 7043-140.
 1.15  26-Feb-2002  kleink branches: 1.15.4; 1.15.8;
Move the ext_intr() variant using the board interrupt vector register
into common code; it is not specific to the 6050, and in fact not even
specific to IBM-built hardware.
 1.14  11-Feb-2002  wiz "doesn't" should have an 's'.
 1.13  11-Feb-2002  wiz achive is not a good word.
 1.12  10-Feb-2002  kleink prep_intr_reg is mapped in kva space, so make it vaddr_t.
 1.11  26-Aug-2001  matt branches: 1.11.6;
Make all powerpc ports use a common Makefile.powerpc (except walnut)
Enforce -Wmissing-prototypes -Wstrict-prototypes for all ppc ports.
Split out macppc cpu support and make common to mpc6xx ports. Make
other mpc6xx ports use it. Add evcnts for mpc6xx traps.
 1.10  20-Jun-2001  nonaka branches: 1.10.2;
ANSI'fy
 1.9  19-Jun-2001  nonaka Back out last changes.
 1.8  17-Jun-2001  nonaka identified prep model.
 1.7  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.6  14-Jan-2001  thorpej branches: 1.6.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.5  22-Nov-2000  matt Make assym.h be generated again
Add pcmcia support to files.prep
Add isa_intr_alloc support.
 1.4  22-Aug-2000  thorpej branches: 1.4.2;
Add spllock(). See spl(9) for details.
 1.3  21-Aug-2000  thorpej Make sure we provide splsched() as described in spl(9).
 1.2  14-Aug-2000  kleink * Make spllower()ing functions not return the previous priority level,
as specified in spl(9).
* In due course, ipmlement splx() via spllower().
 1.1  29-Feb-2000  nonaka Initial import prep port.
 1.4.2.5  21-Apr-2001  bouyer Sync with HEAD
 1.4.2.4  18-Jan-2001  bouyer Sync with head (for UBC+NFS fixes, mostly).
 1.4.2.3  08-Dec-2000  bouyer Sync with HEAD.
 1.4.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.4.2.1  22-Aug-2000  bouyer file intr.h was added on branch thorpej_scsipi on 2000-11-20 20:22:58 +0000
 1.6.2.1  21-Jun-2001  nathanw Catch up to -current.
 1.10.2.4  06-Sep-2002  jdolecek sync kqueue branch with HEAD
 1.10.2.3  23-Jun-2002  jdolecek catch up with -current on kqueue branch
 1.10.2.2  16-Mar-2002  jdolecek Catch up with -current.
 1.10.2.1  13-Sep-2001  thorpej Update the kqueue branch to HEAD.
 1.11.6.4  01-Aug-2002  nathanw Catch up to -current.
 1.11.6.3  20-Jun-2002  nathanw Catch up to -current.
 1.11.6.2  28-Feb-2002  nathanw Catch up to -current.
 1.11.6.1  26-Aug-2001  nathanw file intr.h was added on branch nathanw_sa on 2002-02-28 04:11:29 +0000
 1.15.8.2  16-Jul-2002  gehenna catch up with -current.
 1.15.8.1  15-Jul-2002  gehenna catch up with -current.
 1.15.4.1  17-Mar-2002  thorpej IPL_IMP -> IPL_VM
 1.18.2.3  21-Sep-2004  skrll Fix the sync with head I botched.
 1.18.2.2  18-Sep-2004  skrll Sync with HEAD.
 1.18.2.1  03-Aug-2004  skrll Sync with HEAD
 1.19.16.4  27-Oct-2007  yamt sync with head.
 1.19.16.3  26-Feb-2007  yamt sync with head.
 1.19.16.2  30-Dec-2006  yamt sync with head.
 1.19.16.1  21-Jun-2006  yamt sync with head.
 1.22.6.2  01-Jun-2006  kardel Sync with head.
 1.22.6.1  22-Apr-2006  simonb Sync with head.
 1.22.4.1  09-Sep-2006  rpaulo sync with head
 1.22.2.1  18-Feb-2006  yamt sync with head.
 1.23.6.1  24-May-2006  tron Merge 2006-05-24 NetBSD-current into the "peter-altq" branch.
 1.23.4.1  11-May-2006  elad sync with head
 1.23.2.2  11-Aug-2006  yamt sync with head
 1.23.2.1  24-May-2006  yamt sync with head.
 1.25.4.1  13-Jul-2006  gdamore Merge from HEAD.
 1.27.6.1  05-Nov-2006  yamt splraiseipl/makeiplcookie for prep.
 1.27.4.1  12-Jan-2007  ad Sync with head.
 1.29.28.1  25-Oct-2007  bouyer Sync with HEAD.
 1.29.26.1  18-Oct-2007  yamt sync with head.
 1.29.24.1  06-Nov-2007  matt sync with HEAD
 1.29.22.1  26-Oct-2007  joerg 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.
 1.29.14.2  08-May-2007  garbled Make powerpc/intr.h more common than it previously was. Having done
that, delete all the duplicate entries from the 4 ports that have
converted to shared pic code. Also, commit a minor change to sandpoint
that I forgot to commit earlier (delete an unused variable)
 1.29.14.1  03-May-2007  garbled Convert prep over to the shared interrupts. Still alot of cleanup to do
following this change.
 1.29.6.1  23-Oct-2007  ad Sync with head.
 1.30.20.2  11-Aug-2010  yamt sync with head.
 1.30.20.1  16-May-2008  yamt sync with head.
 1.30.18.1  18-May-2008  yamt sync with head.
 1.30.16.1  02-Jun-2008  mjf Sync with HEAD.
 1.31.22.2  05-Mar-2011  rmind sync with head
 1.31.22.1  30-May-2010  rmind sync with head
 1.31.20.1  30-Apr-2010  uebayasi Sync with HEAD.
 1.33.6.1  23-Jun-2011  cherry Catchup with rmind-uvmplock merge.

RSS XML Feed