Changes in uspace/app/tester/mm/common.c [feeac0d:9727b92] in mainline
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/app/tester/mm/common.c
rfeeac0d r9727b92 84 84 } 85 85 86 static bool overlap_match(mem_block_t *block, void *addr, size_t size) 87 { 86 static bool overlap_match(link_t *link, void *addr, size_t size) 87 { 88 mem_block_t *block = list_get_instance(link, mem_block_t, link); 89 88 90 /* Entry block control structure <mbeg, mend) */ 89 91 uint8_t *mbeg = (uint8_t *) block; … … 123 125 bool fnd = false; 124 126 125 list_foreach(mem_blocks, link , mem_block_t, block) {126 if (overlap_match( block, addr, size)) {127 list_foreach(mem_blocks, link) { 128 if (overlap_match(link, addr, size)) { 127 129 fnd = true; 128 130 break;
Note:
See TracChangeset
for help on using the changeset viewer.