Source-Changes archive

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

CVS commit: syssrc/sys/arch/arm/include



Module Name:    syssrc
Committed By:   thorpej
Date:           Thu Nov 15 19:22:32 UTC 2001

Modified Files:
        syssrc/sys/arch/arm/include: lock.h

Log Message:
Implement __cpu_simple_lock*() primitives using the SWP insn.  Note
this insn is available only on ARM arch v3 and later (and 2a).  We
don't expect to be using these ops in the kernel on processors too
old to have SWP, and for userland uses (in e.g. a pthread library),
the kernel will simply have to trap and emulate the insn (it needs
to be "atomic", so a kernel trap of some sort will be necessary on
such platforms anyway).


To generate a diff of this commit:
cvs rdiff -r1.1 -r1.2 syssrc/sys/arch/arm/include/lock.h

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