Port-m68k archive

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

Re: New pmap status update



> On Dec 15, 2025, at 7:42 AM, Jason Thorpe <thorpej%me.com@localhost> wrote:
> 
>> On Dec 15, 2025, at 7:38 AM, Izumi Tsutsui <tsutsui%ceres.dti.ne.jp@localhost> wrote:
>> 
>> The SMALL020 (without DIAGNOSTIC + DEBUG) kernel also can get
>> single user shell if /rescue/init is specified by RB_ASKNAME:
> 
> There are probably other uses of TAS/CAS floating around that need to be addressed.

Ok, I have made changes to the kernel and libc should should take care of this.  In particular, there are no more direct uses of CASx in libc/libkern for atomic operations other than _atomic_cas_N(), and for __HAVE_M68K_BROKEN_RMC, those turn into restartable atomic sequences (and are switched at run-time for libc using a new machdep.broken_rmc sysctl that hp300 implements, returning true if the CPU is a 68020).

-- thorpej



Home | Main Index | Thread Index | Old Index