Home | History | Annotate | Download | only in pic
History log of /src/sys/arch/powerpc/pic/i8259_common.c
RevisionDateAuthorComments
 1.7  01-Feb-2012  matt Use kmem instead of malloc. Remove unneeded <sys/malloc.h> includes.
 1.6  20-Jun-2011  matt branches: 1.6.2; 1.6.6;
<arch/powerpc/... -> <powerpc/...
 1.5  18-Jun-2011  matt Use <sys/foo.h> instead of <machine/foo.h> if such a file exists.
Don't assume <sys/cpu.h> includes <powerpc/subarch/cpu*.h>. Include it
explicitly.
 1.4  28-Apr-2008  martin branches: 1.4.32;
Remove clause 3 and 4 from TNF licenses
 1.3  11-Dec-2007  garbled branches: 1.3.8; 1.3.10; 1.3.12;
Fix the endless stream of 7's problem on i8259-like interrupt controllers
once and for all. The i8259 does not like to be read in a loop, when an
interrupt comes in, it will return a valid value, however, if you keep
reading it until there are no outstanding interrupts, it will return 7
(which is the lpt interrupt). Change the pic handler to give an argument
to the get_irq functions of mode, which indicates if this is the first
time we are asking, or if we are just rechecking in a loop. Non-i8259
handlers can safely ignore this argument.

Tested to fix the stream of 7's problem on prep and ofppc. Got rid of
the nasty hack in ofppc with this too, and the prep machine seems to take
less interrupts now, which is a good thing.
 1.2  17-Oct-2007  garbled branches: 1.2.2; 1.2.4; 1.2.8; 1.2.10; 1.2.12; 1.2.14;
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.1  09-May-2007  garbled branches: 1.1.2; 1.1.6; 1.1.8;
file i8259_common.c was initially added on branch ppcoea-renovation.
 1.1.8.1  18-Oct-2007  yamt sync with head.
 1.1.6.1  02-Nov-2007  joerg More diff reduce to HEAD due to botched up merging.
 1.1.2.2  10-Oct-2007  garbled Change pic_prepivr around a bit. Handle the default IRQ 7 from the 8259
better, and add a new motivr_get_irq(). The motorola machines require an
actual read from the 8259 for PCI irqs, so in that case, we read the
8259, and then read the IVR to ack the irq.

Move i8259_get_irq() to i8259_common.c for above.

Fix some minor typos in the chip id's for prep residual.

Fix ibmnws and prep to properly initialize the prep ivr depending on if
the machine is motorola, or IBM based.

Tested on a 7043 and an MTX604
 1.1.2.1  09-May-2007  garbled The i8259 and prepivr code had a bunch of functions that were duplicates
of one another. Break those out into i8259_common.c and share that file
between the two of them.
 1.2.14.1  13-Dec-2007  bouyer Sync with HEAD
 1.2.12.1  13-Dec-2007  yamt sync with head.
 1.2.10.1  26-Dec-2007  ad Sync with head.
 1.2.8.3  09-Jan-2008  matt sync with HEAD
 1.2.8.2  06-Nov-2007  matt sync with HEAD
 1.2.8.1  17-Oct-2007  matt file i8259_common.c was added on branch matt-armv6 on 2007-11-06 23:20:52 +0000
 1.2.4.3  21-Jan-2008  yamt sync with head
 1.2.4.2  27-Oct-2007  yamt sync with head.
 1.2.4.1  17-Oct-2007  yamt file i8259_common.c was added on branch yamt-lazymbuf on 2007-10-27 11:27:58 +0000
 1.2.2.2  23-Oct-2007  ad Sync with head.
 1.2.2.1  17-Oct-2007  ad file i8259_common.c was added on branch vmlocking on 2007-10-23 20:36:17 +0000
 1.3.12.1  16-May-2008  yamt sync with head.
 1.3.10.1  18-May-2008  yamt sync with head.
 1.3.8.1  02-Jun-2008  mjf Sync with HEAD.
 1.4.32.1  23-Jun-2011  cherry Catchup with rmind-uvmplock merge.
 1.6.6.1  18-Feb-2012  mrg merge to -current.
 1.6.2.1  17-Apr-2012  yamt sync with head

RSS XML Feed