atomic_testandset_int seems unimplemented

George Abdelmalik gabdelmalik at uniridge.com.au
Sat Nov 7 07:10:35 UTC 2015


Hi,

My reading of atomic(9) implies that the atomic_testandset_* family of 
functions should be present
on the arm architecture, however I don't see any evidence of it in any 
of the expected locations,
./sys/arm/include/atomic-v4.h
./sys/arm/include/atomic-v6.h
./sys/arm/include/atomic.h

Is there some impediment within the architecture which doesn't make that 
semantic possible or is
it just that there is no in-tree consumer yet?

Any thoughts on this matter would be appreciated, or better yet a 
possible implementation - sadly for
me assembly is not my strength.

Regards,
George.

-- 
George Abdelmalik
Director
Principal Software Engineer
Uniridge Pty Ltd
http://www.uniridge.com.au/



More information about the freebsd-arm mailing list