Rev 1854 | Rev 1981 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 1854 | Rev 1894 | ||
---|---|---|---|
Line 1075... | Line 1075... | ||
1075 | 1075 | ||
1076 | count_t i; |
1076 | count_t i; |
1077 | for (i = 0; i < init.cnt; i++) |
1077 | for (i = 0; i < init.cnt; i++) |
1078 | frame_mark_unavailable(ADDR2PFN(KA2PA(init.tasks[i].addr)), SIZE2FRAMES(init.tasks[i].size)); |
1078 | frame_mark_unavailable(ADDR2PFN(KA2PA(init.tasks[i].addr)), SIZE2FRAMES(init.tasks[i].size)); |
1079 | 1079 | ||
- | 1080 | if (ballocs.size) |
|
- | 1081 | frame_mark_unavailable(ADDR2PFN(KA2PA(ballocs.base)), SIZE2FRAMES(ballocs.size)); |
|
- | 1082 | ||
1080 | /* Black list first frame, as allocating NULL would |
1083 | /* Black list first frame, as allocating NULL would |
1081 | * fail in some places */ |
1084 | * fail in some places */ |
1082 | frame_mark_unavailable(0, 1); |
1085 | frame_mark_unavailable(0, 1); |
1083 | } |
1086 | } |
1084 | } |
1087 | } |