Memory bag allocator. More...
#include <types.h>Go to the source code of this file.
Functions | |
| void | membag_init (unsigned int align_order) |
| Initialize memory manager before use. | |
| size_t | membag_get_total (void) |
| Total amount of memory in bytes. | |
| size_t | membag_get_smallest_free_block_size (void) |
| Smallest free block in bytes. | |
| size_t | membag_get_largest_free_block_size (void) |
| Largest free block size in bytes. | |
| void * | membag_alloc (size_t size) |
| Allocate memory. | |
| void | membag_free (void *ptr) |
| Free previously allocated memory. | |
Memory bag allocator.
Copyright (C) 2009 Atmel Corporation. All rights reserved.
Definition in file membag.h.
1.6.3