Subversion Repositories HelenOS

Rev

Rev 2071 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 2071 Rev 2075
Line 148... Line 148...
148
 * @return Pointer to the beginning
148
 * @return Pointer to the beginning
149
 *
149
 *
150
 * TODO: make some first_fit/... algorithm, we are now just incrementing
150
 * TODO: make some first_fit/... algorithm, we are now just incrementing
151
 *       the pointer to last area
151
 *       the pointer to last area
152
 */
152
 */
153
#include <stdio.h>
-
 
154
void *as_get_mappable_page(size_t sz, int color)
153
void *as_get_mappable_page(size_t sz, int color)
155
{
154
{
156
    void *res;
155
    void *res;
157
    uint64_t asz;
156
    uint64_t asz;
158
    int i;
157
    int i;