Changes in / [c2efbb4:721d4e85] in mainline
- Files:
-
- 4 deleted
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
kernel/arch/amd64/include/atomic.h
rc2efbb4 r721d4e85 101 101 static inline atomic_count_t test_and_set(atomic_t *val) 102 102 { 103 atomic_count_t v ;103 atomic_count_t v = 1; 104 104 105 105 asm volatile ( 106 "movq $1, %[v]\n"107 106 "xchgq %[v], %[count]\n" 108 : [v] " =r" (v),107 : [v] "+r" (v), 109 108 [count] "+m" (val->count) 110 109 ); -
kernel/arch/ia32/include/atomic.h
rc2efbb4 r721d4e85 101 101 static inline atomic_count_t test_and_set(atomic_t *val) 102 102 { 103 atomic_count_t v ;103 atomic_count_t v = 1; 104 104 105 105 asm volatile ( 106 "movl $1, %[v]\n"107 106 "xchgl %[v], %[count]\n" 108 : [v] " =r" (v),107 : [v] "+r" (v), 109 108 [count] "+m" (val->count) 110 109 ); -
kernel/generic/src/mm/as.c
rc2efbb4 r721d4e85 952 952 if (!THREAD) 953 953 return AS_PF_FAULT; 954 955 ASSERT(AS); 956 954 955 if (!AS) 956 return AS_PF_FAULT; 957 957 958 mutex_lock(&AS->lock); 958 area = find_area_and_lock(AS, page); 959 area = find_area_and_lock(AS, page); 959 960 if (!area) { 960 961 /* -
uspace/app/tester/fault/fault3.def
rc2efbb4 r721d4e85 3 3 "Abort", 4 4 &test_fault3, 5 true5 false 6 6 },
Note:
See TracChangeset
for help on using the changeset viewer.