Home | History | Annotate | Download | only in include
History log of /src/sys/arch/sh3/include/psl.h
RevisionDateAuthorComments
 1.13  27-Jun-2025  andvar Fix various typos, mainly in comments.
 1.12  03-Aug-2020  uwe _cpu_exception_suspend - return old SR

In a typical use case we do a very short code sequence with PSL_BL set
and restore the old PSL_BL value with _cpu_exception_resume that does
the full read/mask/set dance. In reality we are just restoring SR to
its old state as no other modifications to SR can possibly happen. So
return old SR and let the caller restore it in one instruction.
 1.11  26-Jan-2011  uwe Add sh4 PSL_FD - FPU disable bit.
 1.10  04-Jan-2008  uwe branches: 1.10.32; 1.10.38; 1.10.40;
There's no need to pull in machine/intr.h here.
 1.9  15-Oct-2006  uwe branches: 1.9.28; 1.9.34; 1.9.42;
Don't include <machine/intr.h> in asm sources.
 1.8  11-Dec-2005  christos branches: 1.8.20; 1.8.22;
merge ktrace-lwp.
 1.7  07-Aug-2003  agc branches: 1.7.16;
Move UCB-licensed code from 4-clause to 3-clause licence.

Patches provided by Joel Baker in PR 22364, verified by myself.
 1.6  09-May-2002  uch branches: 1.6.6; 1.6.12;
remove unused macro.
 1.5  28-Apr-2002  uch Use "#define<tab>", white space nits.
 1.4  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.3  03-Mar-2002  uch SR related parts moved to psl.h. cpufunc.h segments.h are removed.
kernel mode checking is only SR.MD. no check stack pointer.
 1.2  16-May-2001  msaitoh branches: 1.2.2;
sigreturn() fix (from kleink)
 1.1  13-Sep-1999  itojun branches: 1.1.12; 1.1.14;
Merge in NetBSD/sh3 from cvs.kame.net repository.

Tree structure:
- sys/arch/sh3: sh3 generic code
As commented, in-chip device drivers are put into sys/arch/sh3/dev.
- sys/arch/evbsh3: sh3 evaluation boards (pure sh3 CPU, no fancy external HW)
- sys/arch/mmeye: Brains mmEye, www.brains.co.jp
MI source code includes couple of #ifdef for sh3-coff support.
(sh3 uses coff or elf)

Needs some more improvements, especialy in sys/arch/sh3/conf/files.sh3,
to compile the tree (due to last minute tree structure change).
 1.1.14.1  21-Jun-2001  nathanw Catch up to -current.
 1.1.12.1  26-May-2001  he Pull up revision 1.2 (requested by kleink):
Validate Status Register passed from userland in sigreturn().
 1.2.2.2  23-Jun-2002  jdolecek catch up with -current on kqueue branch
 1.2.2.1  16-Mar-2002  jdolecek Catch up with -current.
 1.6.12.3  21-Sep-2004  skrll Fix the sync with head I botched.
 1.6.12.2  18-Sep-2004  skrll Sync with HEAD.
 1.6.12.1  03-Aug-2004  skrll Sync with HEAD
 1.6.6.2  09-May-2002  uch remove unused macro.
 1.6.6.1  09-May-2002  uch file psl.h was added on branch nathanw_sa on 2002-05-09 12:31:39 +0000
 1.7.16.2  21-Jan-2008  yamt sync with head
 1.7.16.1  30-Dec-2006  yamt sync with head.
 1.8.22.1  22-Oct-2006  yamt sync with head
 1.8.20.1  18-Nov-2006  ad Sync with head.
 1.9.42.1  08-Jan-2008  bouyer Sync with HEAD
 1.9.34.1  18-Feb-2008  mjf Sync with HEAD.
 1.9.28.1  09-Jan-2008  matt sync with HEAD
 1.10.40.1  08-Feb-2011  bouyer Sync with HEAD
 1.10.38.1  06-Jun-2011  jruoho Sync with HEAD.
 1.10.32.1  05-Mar-2011  rmind sync with head

RSS XML Feed