Home | History | Annotate | Download | only in arc
History log of /src/sys/arch/arc/arc/c_magnum.c
RevisionDateAuthorComments
 1.23  16-Dec-2013  mrg - remove unused variables
- use (void) when we don't care about the return value
- move variables inside their usage #if
 1.22  01-Jul-2011  dyoung branches: 1.22.2; 1.22.12; 1.22.16;
#include <sys/bus.h> instead of <machine/bus.h>.
 1.21  20-Feb-2011  matt Merge forward from matt-nb5-mips64.
Adapt to new interrupt/spl framework.
Add LP64 support.
 1.20  08-Feb-2011  rmind Remove clause 3 (UCB advertising clause) from the University of Utah
copyright. Confirmed by Mike Hibler, mike at cs.utah.edu - thanks!
Also, merge UCB and Utah copyright texts back into one, as they
originally were.

Extra verification by snj@.
 1.19  14-Mar-2008  tsutsui branches: 1.19.22; 1.19.26; 1.19.32; 1.19.34;
Fix spl(9) botch in cpu_intr() on arc:
Don't enable unhandled interrupts before all interrupts are processed,
and also change all interrupt handlers to return processed MIPS_INT_MASK
values, rather than masked values of them.
 1.18  03-Dec-2007  ad branches: 1.18.10; 1.18.14;
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.17  17-Oct-2007  garbled branches: 1.17.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.16  08-Aug-2007  tsutsui branches: 1.16.2;
Defer arc_init_wired_map() call after MD ipl_sr_bits[] is initilized
in platform dependent init functions.

arc_init_wired_map() refers ipl_sr_bits[] via
extent_create(9) -> mutex_init(9) -> makeiplcookie(9)
since the partial merge of vmlocking.
 1.15  26-Jun-2007  tsutsui branches: 1.15.4; 1.15.8;
Use C99 initializers.
 1.14  24-Jun-2006  tsutsui branches: 1.14.14; 1.14.16; 1.14.22;
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.13  11-Dec-2005  christos branches: 1.13.4; 1.13.8; 1.13.16;
merge ktrace-lwp.
 1.12  05-Nov-2005  tsutsui Adapt arc port to the new MI mips3 wired map functions.
Tested on NEC-RD94 with several PCI and jazzio devices.
 1.11  30-Oct-2005  tsutsui Use mips3_cp0_count_read() for precise microtime(9).

XXX microtime(9) function should be moved from machdep.c to timer.c?
 1.10  20-Aug-2005  tsutsui branches: 1.10.2;
Count jazzio timer interrupts by evcnt(9).
 1.9  22-Jan-2005  tsutsui branches: 1.9.8;
Make all intr_mask value types uint32_t rather than int, u_int,
or unsigned etc.
 1.8  22-Jan-2005  tsutsui More ansify and KNF.
 1.7  22-Jan-2005  tsutsui - remove __P()
- use ANSI function decls
- u_intNN_t -> uintNN_t
- some KNF
 1.6  07-Aug-2003  agc branches: 1.6.8;
Move UCB-licensed code from 4-clause to 3-clause licence.

Patches provided by Joel Baker in PR 22364, verified by myself.
 1.5  15-Jul-2003  lukem __KERNEL_RCSID()
 1.4  25-May-2003  tsutsui branches: 1.4.2;
Add generic software interrupt support with mips/softintr.c.
 1.3  27-Apr-2003  tsutsui Fix pasto.
 1.2  09-Dec-2002  tsutsui As per discussion with soda, all EISA based Jazz machines seem to require
the same method to access TOD clock, so move chipset-dependent mcclock
routines to appropriate files.

This should also fix Express RISCserver and RISCserver2200 (aka R96) support
which has been broken since "struct platform" was introduced.
 1.1  13-Jun-2001  soda branches: 1.1.2; 1.1.10;
common chipset description for magnum based platforms like
Microsoft-Jazz and PICA-61
 1.1.10.2  11-Dec-2002  thorpej Sync with HEAD.
 1.1.10.1  13-Jun-2001  thorpej file c_magnum.c was added on branch nathanw_sa on 2002-12-11 05:52:04 +0000
 1.1.2.1  21-Jun-2001  nathanw Catch up to -current.
 1.4.2.5  10-Nov-2005  skrll Sync with HEAD. Here we go again...
 1.4.2.4  24-Jan-2005  skrll Sync with HEAD.
 1.4.2.3  21-Sep-2004  skrll Fix the sync with head I botched.
 1.4.2.2  18-Sep-2004  skrll Sync with HEAD.
 1.4.2.1  03-Aug-2004  skrll Sync with HEAD
 1.6.8.1  29-Apr-2005  kent sync with -current
 1.9.8.5  17-Mar-2008  yamt sync with head.
 1.9.8.4  07-Dec-2007  yamt sync with head
 1.9.8.3  03-Sep-2007  yamt sync with head.
 1.9.8.2  30-Dec-2006  yamt sync with head.
 1.9.8.1  21-Jun-2006  yamt sync with head.
 1.10.2.1  02-Nov-2005  yamt sync with head.
 1.13.16.1  13-Jul-2006  gdamore Merge from HEAD.
 1.13.8.1  26-Jun-2006  yamt sync with head.
 1.13.4.1  09-Sep-2006  rpaulo sync with head
 1.14.22.2  03-Oct-2007  garbled Sync with HEAD
 1.14.22.1  26-Jun-2007  garbled Sync with HEAD.
 1.14.16.1  11-Jul-2007  mjf Sync with head.
 1.14.14.3  03-Dec-2007  ad Sync with HEAD.
 1.14.14.2  20-Aug-2007  ad Sync with HEAD.
 1.14.14.1  15-Jul-2007  ad Sync with head.
 1.15.8.2  09-Dec-2007  jmcneill Sync with HEAD.
 1.15.8.1  09-Aug-2007  jmcneill Sync with HEAD.
 1.15.4.1  15-Aug-2007  skrll Sync with HEAD.
 1.16.2.3  23-Mar-2008  matt sync with HEAD
 1.16.2.2  09-Jan-2008  matt sync with HEAD
 1.16.2.1  06-Nov-2007  matt sync with HEAD
 1.17.2.1  08-Dec-2007  mjf Sync with HEAD.
 1.18.14.1  03-Apr-2008  mjf Sync with HEAD.
 1.18.10.1  24-Mar-2008  keiichi sync with head.
 1.19.34.2  05-Mar-2011  bouyer Sync with HEAD
 1.19.34.1  17-Feb-2011  bouyer Sync with HEAD
 1.19.32.1  06-Jun-2011  jruoho Sync with HEAD.
 1.19.26.1  05-Mar-2011  rmind sync with head
 1.19.22.1  29-Dec-2010  matt Adapt to the new interrupt structure.
 1.22.16.1  18-May-2014  rmind sync with head
 1.22.12.1  20-Aug-2014  tls Rebase to HEAD as of a few days ago.
 1.22.2.1  22-May-2014  yamt sync with head.

for a reference, the tree before this commit was tagged
as yamt-pagecache-tag8.

this commit was splitted into small chunks to avoid
a limitation of cvs. ("Protocol error: too many arguments")

RSS XML Feed