Subversion Repositories HelenOS-historic

Rev

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

Rev 378 Rev 381
Line 35... Line 35...
35
#define malloc(size)        early_malloc(size)
35
#define malloc(size)        early_malloc(size)
36
#define free(ptr)       early_free(ptr)
36
#define free(ptr)       early_free(ptr)
37
 
37
 
38
struct chunk {
38
struct chunk {
39
    int used;
39
    int used;
40
    struct chunk *next;
40
    chunk_t *next;
41
    struct chunk *prev;
41
    chunk_t *prev;
42
    __u32 size;
42
    __u32 size;
43
    __native data[0];
43
    __native data[0];
44
};
44
};
45
 
45
 
46
extern void early_heap_init(__address heap, size_t size);
46
extern void early_heap_init(__address heap, size_t size);