Changeset bffa0b06 in mainline


Ignore:
Timestamp:
2006-06-06T08:47:07Z (18 years ago)
Author:
Ondrej Palkovsky <ondrap@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
9b6aae6
Parents:
0dbc4e7
Message:

Blacklist first frame to avoid problems with allocator.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • generic/src/mm/frame.c

    r0dbc4e7 rbffa0b06  
    10751075                for (i = 0; i < init.cnt; i++)
    10761076                        frame_mark_unavailable(ADDR2PFN(KA2PA(init.tasks[i].addr)), SIZE2FRAMES(init.tasks[i].size));
     1077
     1078                /* Black list first frame, as allocating NULL would
     1079                 * fail on some places */
     1080                frame_mark_unavailable(0, 1);
    10771081        }
    10781082}
Note: See TracChangeset for help on using the changeset viewer.