Port-sparc archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: sparc packages?
On Sat, Mar 04, 2023 at 05:38:54PM +0100, Romain Dolbeau wrote:
> Le sam. 4 mars 2023 à 17:18, Martin Husemann <martin%duskware.de@localhost> a écrit :
> > Our mutex implementation for sparc is ... special, and I suspect buggy.
>
> Where is it located ? You've piqued my curiosity.
I was thinking of the _lock_hash "Interlock hash table" in
sys/arch/sparc/sparc/lock_stubs.s.
The __cpu_simple_lock_t used in sys/arch/sparc/include/lock.h
is implemented via ldstub, so the mutex.h stuff should be ok.
The ulong cas is probably via common/lib/libc/atomic/* (but I'm not
sure).
Martin
Home |
Main Index |
Thread Index |
Old Index