Subversion Repositories HelenOS

Rev

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

Rev 102 Rev 115
Line 30... Line 30...
30
#include <synch/spinlock.h>
30
#include <synch/spinlock.h>
31
#include <func.h>
31
#include <func.h>
32
#include <memstr.h>
32
#include <memstr.h>
33
#include <panic.h>
33
#include <panic.h>
34
#include <arch/types.h>
34
#include <arch/types.h>
-
 
35
#include <arch/asm.h>
35
 
36
 
36
/*
37
/*
37
 * First-fit algorithm.
38
 * First-fit algorithm.
38
 * Simple, but hopefully correct.
39
 * Simple, but hopefully correct.
39
 * Chunks being freed are tested for mergability with their neighbours.
40
 * Chunks being freed are tested for mergability with their neighbours.