Changeset 94 for trunk/hal/x86_64/core/hal_remote.c
- Timestamp:
- Jun 29, 2017, 1:27:43 PM (7 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/hal/x86_64/core/hal_remote.c
r92 r94 70 70 } 71 71 72 uint32_t hal_remote_lw_unc( xptr_t xp )73 {74 x86_panic((char *)__func__);75 return 0;76 }77 78 72 bool_t hal_remote_atomic_cas( xptr_t xp, 79 73 uint32_t old, 80 74 uint32_t new ) 81 75 { 82 x86_panic((char *)__func__); 83 return 0; 76 return atomic_cas_32((volatile uint32_t *)xp, old, new); 84 77 } 85 78 86 79 uint32_t hal_remote_atomic_add( xptr_t xp, 87 uint32_t incr ) 80 uint32_t incr ) // XXX define as signed 88 81 { 89 x86_panic((char *)__func__); 90 return 0; 82 atomic_add_32((volatile uint32_t *)xp, incr); 91 83 } 92 84
Note: See TracChangeset
for help on using the changeset viewer.