summaryrefslogtreecommitdiff
path: root/sys/arch/amd64/include/atomic.h
AgeCommit message (Expand)Author
2017-05-27On i386 and amd64, atomic instructions include an implicit memory barrier.Mark Kettenis
2017-05-12Make atomic.h ready to be included in userland.Martin Pieuchot
2016-08-17Fix x86_atomic_{set|clear}bits_u64() by using the "er" constraint insteadMark Kettenis
2015-01-06implement atomic_swap_{uint,ulong,ptr) and some md variants. use theseDavid Gwynne
2014-10-08Add virtio_membar_* macrosStefan Fritsch
2014-09-07Implement membar(9) API for amd64.Mark Kettenis
2014-09-01Add implementations of atomic_{inc,dec,add,sub}_{int,long}() andPhilip Guenther
2014-07-18pass atomic_{cas,swap}_uint a volatile void * instead of a volatileDavid Gwynne
2014-03-29It's been a quarter century: we can assume volatile is present with that name.Philip Guenther
2014-03-27replace x86_atomic_cas_things with atomic_cas_foo equivalents.David Gwynne
2014-02-17x86_atomic_testset_i32 and x86_atomic_testset_i are not used, so removeDavid Gwynne
2012-11-19Add atomic 32-bit cas operations.Paul Irofti
2011-03-23Normalize sentinel. Use _MACHINE_*_H_ and _<ARCH>_*_H_ properly and consitently.Paul Irofti
2010-12-27Correct x86_atomic_*_ul() to operate on 64bit integers, eliminatePhilip Guenthe
2007-05-25Change the old slow and complicated TLB shootdown code to new, fast andArtur Grabowski
2007-02-19only make this interface available to the kernel for now, discussed withaTheo de Raadt
2007-02-06Add machine/atomic.h to all architectures and define two operationsArtur Grabowski
2004-02-23fix a pastoMichael Shalayeff
2004-02-23add a comment on set/clr 64bit opsMichael Shalayeff
2004-01-28an amd64 arch support.Michael Shalayeff