Changeset a35b458 in mainline for uspace/lib/c/arch/arm32/include/libarch
- Timestamp:
- 2018-03-02T20:10:49Z (7 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- f1380b7
- Parents:
- 3061bc1
- git-author:
- Jiří Zárevúcky <zarevucky.jiri@…> (2018-02-28 17:38:31)
- git-committer:
- Jiří Zárevúcky <zarevucky.jiri@…> (2018-03-02 20:10:49)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/lib/c/arch/arm32/include/libarch/atomic.h
r3061bc1 ra35b458 49 49 { 50 50 atomic_count_t ret = 0; 51 51 52 52 /* 53 53 * The following instructions between labels 1 and 2 constitute a … … 75 75 : "memory" 76 76 ); 77 77 78 78 ras_page[0] = 0; 79 79 asm volatile ( … … 81 81 ); 82 82 ras_page[1] = 0xffffffff; 83 83 84 84 return ret != 0; 85 85 } … … 96 96 { 97 97 atomic_count_t ret = 0; 98 98 99 99 /* 100 100 * The following instructions between labels 1 and 2 constitute a … … 118 118 : [imm] "r" (i) 119 119 ); 120 120 121 121 ras_page[0] = 0; 122 122 asm volatile ( … … 124 124 ); 125 125 ras_page[1] = 0xffffffff; 126 126 127 127 return ret; 128 128 }
Note:
See TracChangeset
for help on using the changeset viewer.