Linux ARM : Add linux_support.s that contains futex implementation
Diff Detail
Diff Detail
- Repository
- rS FreeBSD src repository - subversion
- Lint
Lint Skipped - Unit
Tests Skipped
Event Timeline
Comment Actions
It looks like these should all be atomic operations. If so the flow should be:
1: ldrex old, [addr] operation strex res, new, [addr] cmp res, #0 bne 1b
sys/arm/linux/linux_support.s | ||
---|---|---|
84 | There is a ldrex here, but no strex. These should be in pairs with the needed operation between the two. See sys/arm/include/atomic-v6.h as an example. |