mirror of
https://github.com/Rockbox/rockbox.git
synced 2025-12-07 13:45:03 -05:00
* 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
23 lines
1.1 KiB
Makefile
23 lines
1.1 KiB
Makefile
#############################################################################
|
|
## __________ __ ___.
|
|
## Open \______ \ ____ ____ | | _\_ |__ _______ ___
|
|
## Source | _// _ \_/ ___\| |/ /| __ \ / _ \ \/ /
|
|
## Jukebox | | ( <_> ) \___| < | \_\ ( <_> > < <
|
|
## Firmware |____|_ /\____/ \___ >__|_ \|___ /\____/__/\_ \
|
|
## \/ \/ \/ \/ \/
|
|
## Copyright Alan Korr, 2002. All rights reserved.
|
|
##
|
|
## Permission to use, copy, modify, and distribute this software for any
|
|
## purpose is hereby granted without fee, provided that this copyright and
|
|
## permissions notice appear in all copies and derivatives, and that no
|
|
## charge may be made for the software and its documentation except to cover
|
|
## cost of distribution.
|
|
##
|
|
## This software is provided "as is" without express or implied warranty.
|
|
#############################################################################
|
|
ARCH = test
|
|
PACKAGE = memory
|
|
VERSION = 0.1.0
|
|
-include ../makefile-vars
|
|
-include ../makefile-rules
|
|
|