Changeset dd0c8a0 in mainline for uspace/app/tester/mm/common.c
- Timestamp:
- 2013-09-29T06:56:33Z (12 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- a9bd960d
- Parents:
- 3deb0155 (diff), 13be2583 (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
r3deb0155 rdd0c8a0 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.