From 223884c4e5f14c6ed1fc2f536bd9250984a6a0d6 Mon Sep 17 00:00:00 2001 From: Alan Korr Date: Tue, 16 Apr 2002 18:37:44 +0000 Subject: There is two part in this module : * memory-page : It is a page allocator using bins. Each bin is a list (or a splay tree) of the same power-of-2 pages. If no page left in a bin, it tries to allocate a large page to split into two pages. Page size are : 512 B, 1 KB, 2 KB, 4 KB, 8 KB, 16 KB, 32 KB, 64 KB, 128 KB, 256 KB, 512 KB, 1 MB and 2 MB. Alignment of a page is the same value than for its size. * memory-slab : using slab for smaller blocks, but much simpler than Linux' slab. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@106 a1c6a512-1295-4272-9138-f99709370657 --- firmware/test/memory/test.y | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'firmware/test/memory/test.y') diff --git a/firmware/test/memory/test.y b/firmware/test/memory/test.y index 1c368a1ebb..481339b31b 100644 --- a/firmware/test/memory/test.y +++ b/firmware/test/memory/test.y @@ -1,5 +1,5 @@ %{ -#include +#include "memory.h" #include #include #include -- cgit v1.2.3