RetroArch
|
#include <stdlib.h>
#include <string.h>
#include "asm.h"
#include "processor.h"
#include "bt.h"
#include "btmemr.h"
Classes | |
struct | mem |
Macros | |
#define | MIN_SIZE 12 |
#define | SIZEOF_STRUCT_MEM (sizeof(struct mem)+(((sizeof(struct mem)%MEM_ALIGNMENT)==0)?0:(4-(sizeof(struct mem)%MEM_ALIGNMENT)))) |
Functions | |
static void | plug_holes (struct mem *rmem) |
void | btmemr_init () |
void * | btmemr_malloc (u32 size) |
void | btmemr_free (void *ptr) |
void * | btmemr_realloc (void *ptr, u32 newsize) |
void * | btmemr_reallocm (void *ptr, u32 newsize) |
Variables | |
static struct mem * | ram_free |
static struct mem * | ram_end |
static u8 | ram_block [sizeof(struct mem)+MEM_SIZE+MEM_ALIGNMENT] |
#define MIN_SIZE 12 |
#define SIZEOF_STRUCT_MEM (sizeof(struct mem)+(((sizeof(struct mem)%MEM_ALIGNMENT)==0)?0:(4-(sizeof(struct mem)%MEM_ALIGNMENT)))) |
void btmemr_init | ( | ) |
|
static |
|
static |
|
static |