Changeset 96 for trunk/hal/x86_64/core/hal_remote.c
- Timestamp:
- Jun 29, 2017, 1:52:34 PM (7 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/hal/x86_64/core/hal_remote.c
r94 r96 74 74 uint32_t new ) 75 75 { 76 return atomic_cas_32((volatile uint32_t *)xp, old, new);76 return (atomic_cas_32((volatile uint32_t *)xp, old, new) == old); 77 77 } 78 78 … … 80 80 uint32_t incr ) // XXX define as signed 81 81 { 82 atomic_add_32((volatile uint32_t *)xp, incr);82 return atomic_add_32((volatile uint32_t *)xp, incr); 83 83 } 84 84
Note: See TracChangeset
for help on using the changeset viewer.