Changeset 38c773e7 in mainline for uspace/app/tester/mm/common.c


Ignore:
Timestamp:
2011-05-17T16:07:31Z (13 years ago)
Author:
Martin Decky <martin@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
e6eee2b
Parents:
013a5d7
Message:

make really sure the test does not trip over and fell on its own running chain saw

File:
1 edited

Legend:

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

    r013a5d7 r38c773e7  
    323323        /* Map the memory area */
    324324        void *addr = as_get_mappable_page(size);
     325        if (addr == NULL) {
     326                free(area);
     327                return NULL;
     328        }
     329       
    325330        area->addr = as_area_create(addr, size, AS_AREA_WRITE | AS_AREA_READ);
    326331        if (area->addr == (void *) -1) {
Note: See TracChangeset for help on using the changeset viewer.