Rev 115 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 115 | Rev 195 | ||
---|---|---|---|
Line 31... | Line 31... | ||
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 | #include <arch/asm.h> |
- | 36 | #include <arch.h> |
|
36 | 37 | ||
37 | /* |
38 | /* |
38 | * First-fit algorithm. |
39 | * First-fit algorithm. |
39 | * Simple, but hopefully correct. |
40 | * Simple, but hopefully correct. |
40 | * Chunks being freed are tested for mergability with their neighbours. |
41 | * Chunks being freed are tested for mergability with their neighbours. |