Changeset 0c2d9bb in mainline for uspace/app/tester/mm/common.c


Ignore:
Timestamp:
2013-12-25T22:54:29Z (10 years ago)
Author:
Martin Decky <martin@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
b51cf2c
Parents:
f7a33de (diff), ac36aed (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.
Message:

merge mainline changes

File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/app/tester/mm/common.c

    rf7a33de r0c2d9bb  
    8484}
    8585
    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        
     86static bool overlap_match(mem_block_t *block, void *addr, size_t size)
     87{
    9088        /* Entry block control structure <mbeg, mend) */
    9189        uint8_t *mbeg = (uint8_t *) block;
     
    125123        bool fnd = false;
    126124       
    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)) {
    129127                        fnd = true;
    130128                        break;
Note: See TracChangeset for help on using the changeset viewer.