Subversion Repositories HelenOS-historic

Compare Revisions

Ignore whitespace Rev 589 → Rev 590

/kernel/trunk/generic/src/mm/heap.c
34,6 → 34,7
#include <arch/types.h>
#include <arch/asm.h>
#include <arch.h>
#include <align.h>
 
/*
* First-fit algorithm.
63,6 → 64,8
ipl_t ipl;
chunk_t *x, *y, *z;
 
size = ALIGN_UP(size, sizeof(__native));
 
if (size == 0)
panic("zero-size allocation request");