#include <stdint.h>
#include <stdlib.h>
#include <list.h>
Go to the source code of this file.
Data Structures | |
struct | free_block |
struct | used_block |
Functions | |
void | mem_init (uint8_t *base, size_t length) |
void * | mem_alloc (size_t length) |
void | mem_free (void *ptr) |
size_t | mem_sizeof_free_list (void) |
void | mem_dump_free_list (void) |
void* mem_alloc | ( | size_t | length | ) |
Referenced by allocate_and_set(), and basic_tests().
void mem_dump_free_list | ( | void | ) |
void mem_free | ( | void * | ptr | ) |
Referenced by basic_tests(), and check_and_free().
size_t mem_sizeof_free_list | ( | void | ) |
Referenced by check_free_list_size().