Source-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

CVS commit: src/sys/arch/sh3



Module Name:    src
Committed By:   uwe
Date:           Mon Aug  3 16:43:44 UTC 2020

Modified Files:
        src/sys/arch/sh3/include: psl.h
        src/sys/arch/sh3/sh3: clock.c locore_subr.S mmu_sh4.c

Log Message:
_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.


To generate a diff of this commit:
cvs rdiff -u -r1.11 -r1.12 src/sys/arch/sh3/include/psl.h
cvs rdiff -u -r1.40 -r1.41 src/sys/arch/sh3/sh3/clock.c
cvs rdiff -u -r1.59 -r1.60 src/sys/arch/sh3/sh3/locore_subr.S
cvs rdiff -u -r1.14 -r1.15 src/sys/arch/sh3/sh3/mmu_sh4.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.




Home | Main Index | Thread Index | Old Index