Home | History | Annotate | Download | only in include
History log of /src/sys/arch/sh3/include/locore.h
RevisionDateAuthorComments
 1.22  04-Feb-2011  uwe Since __INTR_MASK + __EXCEPTION_UNBLOCK is common sequence, provide
__INTR_MASK_EXCEPTION_UNBLOCK combo version that does stc/ldc just once.
 1.21  04-Feb-2011  uwe __EXCEPTION_ENTRY - "tst" already does logical AND, so shave off extra
"mov" and "and" and just test PSL_MD bit directly.

While here - shuffle around instructions to construct PSL_MD to break
dependencies.

While still here - only interrupt vector uses SSR and SPC as function
args, so don't bother saving them here in r4 and r5. Other vectors
don't need them and interrupt vector can just as well "stc" them
directly before exceptions are enabled.
 1.20  18-Jan-2011  joerg branches: 1.20.2;
Allow co-existance of traditional and modern CPP
 1.19  01-Jun-2008  uwe branches: 1.19.20; 1.19.26;
Add GBR register to trapframe.
 1.18  31-May-2008  uwe In __EXCEPTION_RETURN use ldc.l to shave off couple of instructions.
 1.17  28-Apr-2008  martin branches: 1.17.2;
Remove clause 3 and 4 from TNF licenses
 1.16  23-Feb-2008  uwe branches: 1.16.2; 1.16.4;
Tweak __EXCEPTION_BLOCK so that original SR value is preserved in Rm.
We can then often use just "ldc Rm, sr" instead of matching
__EXCEPTION_UNBLOCK and thus shave off a few instructions.
 1.15  17-Oct-2007  garbled branches: 1.15.12; 1.15.16;
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.14  25-Sep-2007  uwe Shave off an instruction in __EXCEPTION_UNBLOCK.
 1.13  25-Sep-2007  uwe Misc comment fixes.
 1.12  25-Sep-2007  uwe Don't expose asm macros (traditional cpp) to C code (ANSI cpp) so that
we don't have to do weird dances protecting # that indicates asm
immediate operand from being iterpreted as cpp stringification
operator.
 1.11  23-Jan-2006  uwe branches: 1.11.28; 1.11.36; 1.11.46; 1.11.48; 1.11.50;
Use cpp-safe labels.
 1.10  11-Dec-2005  christos branches: 1.10.2;
merge ktrace-lwp.
 1.9  01-Oct-2003  uwe branches: 1.9.16;
Whitespace nit.
 1.8  18-Jan-2003  thorpej branches: 1.8.2;
Merge the nathanw_sa branch.
 1.7  09-May-2002  uch branches: 1.7.6;
s/trapno/expevt/ for clarity.
 1.6  28-Apr-2002  uch Use "#define<tab>", white space nits.
 1.5  24-Mar-2002  uch Rework interrupt code.
+ Fully utilize SH SR.I[0:3] interrupt level.
+ software interrupt is emulated by TMU1, 2 one shot interrupt.
+ implement generic soft interrupts.
+ implement clockframe correctly.
 1.4  17-Mar-2002  uch cosmetic changes, fix comments.
 1.3  17-Mar-2002  uch kernel stack fix. old code simply P3 address converted to P1, it
caused memory destruction when kernel stack grow over 1 page. new
code use P3 address for kernel stack. but for the sake of debug, P1
kernel stack mode remain.
 1.2  28-Feb-2002  uch branches: 1.2.2; 1.2.8;
Change foo_r0_r1 macro in sh3/locore.h to foo(Rn, Rm)
 1.1  24-Feb-2002  uch Move common exception vector and scheduler code to
sh3/sh3/exception_vector.S and sh3/sh3/locore_subr.S. exception
vectors are installed by sh_cpu_init(). machine/locore.S contains
kernel entry, interrupt handler, and some MD code.
 1.2.8.3  23-Jun-2002  jdolecek catch up with -current on kqueue branch
 1.2.8.2  16-Mar-2002  jdolecek Catch up with -current.
 1.2.8.1  28-Feb-2002  jdolecek file locore.h was added on branch kqueue on 2002-03-16 15:59:38 +0000
 1.2.2.3  20-Jun-2002  nathanw Catch up to -current.
 1.2.2.2  01-Apr-2002  nathanw Catch up to -current.
(CVS: It's not just a program. It's an adventure!)
 1.2.2.1  28-Feb-2002  nathanw Catch up to -current.
 1.7.6.2  21-Jun-2002  thorpej Add support for scheduler activations on SuperH. Boots multi-user
on Dreamcast (SH4) with stock userland.
 1.7.6.1  09-May-2002  thorpej file locore.h was added on branch nathanw_sa on 2002-06-21 21:26:28 +0000
 1.8.2.3  21-Sep-2004  skrll Fix the sync with head I botched.
 1.8.2.2  18-Sep-2004  skrll Sync with HEAD.
 1.8.2.1  03-Aug-2004  skrll Sync with HEAD
 1.9.16.3  27-Feb-2008  yamt sync with head.
 1.9.16.2  27-Oct-2007  yamt sync with head.
 1.9.16.1  21-Jun-2006  yamt sync with head.
 1.10.2.1  01-Feb-2006  yamt sync with head.
 1.11.50.1  06-Oct-2007  yamt sync with head.
 1.11.48.2  23-Mar-2008  matt sync with HEAD
 1.11.48.1  06-Nov-2007  matt sync with HEAD
 1.11.46.1  02-Oct-2007  joerg Sync with HEAD.
 1.11.36.1  03-Oct-2007  garbled Sync with HEAD
 1.11.28.1  09-Oct-2007  ad Sync with head.
 1.15.16.2  02-Jun-2008  mjf Sync with HEAD.
 1.15.16.1  03-Apr-2008  mjf Sync with HEAD.
 1.15.12.1  24-Mar-2008  keiichi sync with head.
 1.16.4.2  04-May-2009  yamt sync with head.
 1.16.4.1  16-May-2008  yamt sync with head.
 1.16.2.2  04-Jun-2008  yamt sync with head
 1.16.2.1  18-May-2008  yamt sync with head.
 1.17.2.1  23-Jun-2008  wrstuden Sync w/ -current. 34 merge conflicts to follow.
 1.19.26.1  06-Jun-2011  jruoho Sync with HEAD.
 1.19.20.1  05-Mar-2011  rmind sync with head
 1.20.2.1  08-Feb-2011  bouyer Sync with HEAD

RSS XML Feed