Source-Changes archive

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

CVS commit: src/sys/arch/m68k/include



Module Name:    src
Committed By:   thorpej
Date:           Fri Dec 19 14:57:26 UTC 2025

Modified Files:
        src/sys/arch/m68k/include: lock.h

Log Message:
Adjust __cpu_simple_lock{,_try}() to work in an environment where the
TAS instruction cannot be used by using _atomic_cas_8():
- For the _KERNEL case, if __HAVE_M68K_BROKEN_RMC is defined.  This will
  result in an _atomic_cas_8() that is implmented in terms of _atomic_cas_32(),
  which in turn is implemented in lock_stubs.s as restartable atomic sequence.
- For the non-_KERNEL case.  This will result in use of an _atomic_cas_8()
  that is appropriate for system as determined at run-time (well, compile-
  time for 68010).


To generate a diff of this commit:
cvs rdiff -u -r1.17 -r1.18 src/sys/arch/m68k/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