RetroArch
|
#include <string.h>
#include "lwip/arch.h"
#include "lwip/opt.h"
#include "lwip/def.h"
#include "lwip/mem.h"
#include "lwip/sys.h"
#include "lwip/stats.h"
Classes | |
struct | mem |
Macros | |
#define | MIN_SIZE 12 |
#define | SIZEOF_STRUCT_MEM |
Functions | |
static void | plug_holes (struct mem *mem) |
void | mem_init (void) |
void | mem_free (void *rmem) |
void * | mem_reallocm (void *rmem, mem_size_t newsize) |
void * | mem_realloc (void *rmem, mem_size_t newsize) |
void * | mem_malloc (mem_size_t size) |
Variables | |
static struct mem * | ram_end |
static u8_t | ram [MEM_SIZE+sizeof(struct mem)+MEM_ALIGNMENT] |
static struct mem * | lfree |
static sys_sem | mem_sem |
Dynamic memory manager
#define MIN_SIZE 12 |
#define SIZEOF_STRUCT_MEM |
void* mem_malloc | ( | mem_size_t | size | ) |
void* mem_realloc | ( | void * | rmem, |
mem_size_t | newsize | ||
) |
void* mem_reallocm | ( | void * | rmem, |
mem_size_t | newsize | ||
) |
|
static |
|
static |
|
static |
|
static |