Changeset 99c2c69e in mainline for uspace/app/tester/mm/common.c
- Timestamp:
- 2013-09-13T00:36:30Z (11 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 67fbd5e
- Parents:
- 7f84430 (diff), 11d41be5 (diff)
Note: this is a merge changeset, the changes displayed below correspond to the merge itself.
Use the(diff)
links above to see all the changes relative to each parent. - File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/app/tester/mm/common.c
r7f84430 r99c2c69e 84 84 } 85 85 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 86 static bool overlap_match(mem_block_t *block, void *addr, size_t size) 87 { 90 88 /* Entry block control structure <mbeg, mend) */ 91 89 uint8_t *mbeg = (uint8_t *) block; … … 125 123 bool fnd = false; 126 124 127 list_foreach(mem_blocks, link ) {128 if (overlap_match( link, addr, size)) {125 list_foreach(mem_blocks, link, mem_block_t, block) { 126 if (overlap_match(block, addr, size)) { 129 127 fnd = true; 130 128 break;
Note:
See TracChangeset
for help on using the changeset viewer.