RetroArch
Functions | Variables
ctr_memory.c File Reference
#include <3ds.h>
#include <stdlib.h>
#include <errno.h>
#include <sys/types.h>
#include "ctr_debug.h"
Include dependency graph for ctr_memory.c:

Functions

u32 ctr_get_linear_free (void)
 
u32 ctr_get_linear_unused (void)
 
u32 ctr_get_stack_free (void)
 
u32 ctr_get_stack_usage (void)
 
void ctr_linear_free_pages (u32 pages)
 
void ctr_free_pages (u32 pages)
 
u32 ctr_get_free_space (void)
 
void ctr_request_free_pages (u32 pages)
 
void_sbrk_r (struct _reent *ptr, ptrdiff_t incr)
 

Variables

u32 __heapBase
 
u32 __heap_size
 
u32 __stack_bottom
 
u32 __stack_size_extra
 
u32 __stacksize__
 

Function Documentation

◆ _sbrk_r()

void* _sbrk_r ( struct _reent *  ptr,
ptrdiff_t  incr 
)
Here is the call graph for this function:

◆ ctr_free_pages()

void ctr_free_pages ( u32  pages)
Here is the call graph for this function:
Here is the caller graph for this function:

◆ ctr_get_free_space()

u32 ctr_get_free_space ( void  )
Here is the caller graph for this function:

◆ ctr_get_linear_free()

u32 ctr_get_linear_free ( void  )
Here is the caller graph for this function:

◆ ctr_get_linear_unused()

u32 ctr_get_linear_unused ( void  )
Here is the caller graph for this function:

◆ ctr_get_stack_free()

u32 ctr_get_stack_free ( void  )
Here is the caller graph for this function:

◆ ctr_get_stack_usage()

u32 ctr_get_stack_usage ( void  )
Here is the call graph for this function:
Here is the caller graph for this function:

◆ ctr_linear_free_pages()

void ctr_linear_free_pages ( u32  pages)
Here is the caller graph for this function:

◆ ctr_request_free_pages()

void ctr_request_free_pages ( u32  pages)
Here is the call graph for this function:
Here is the caller graph for this function:

Variable Documentation

◆ __heap_size

u32 __heap_size

◆ __heapBase

u32 __heapBase

◆ __stack_bottom

u32 __stack_bottom

◆ __stack_size_extra

u32 __stack_size_extra

◆ __stacksize__

u32 __stacksize__