PSXSDK
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros
Functions | Variables
memory.c File Reference
#include <stdio.h>
#include <stdlib.h>
#include <string.h>

Functions

void malloc_setup ()
 
void * malloc (size_t size)
 
void * calloc (size_t number, size_t size)
 
void free (void *ptr)
 
void * realloc (void *ptr, size_t size)
 

Variables

int __bss_start []
 
int __bss_end []
 
unsigned int first_free_page
 
unsigned char busy_pages [2048]
 
unsigned int alloc_size [2048]
 

Function Documentation

void* calloc ( size_t  number,
size_t  size 
)
void free ( void *  ptr)
void* malloc ( size_t  size)
void malloc_setup ( )
void* realloc ( void *  ptr,
size_t  size 
)

Variable Documentation

int __bss_end[]
int __bss_start[]
unsigned int alloc_size[2048]
unsigned char busy_pages[2048]
unsigned int first_free_page