RetroArch
Functions | Variables
sbrk.c File Reference
#include <errno.h>
#include <reent.h>
#include "../../defines/psp_defines.h"
#include <psp2/kernel/sysmem.h>
#include <psp2/kernel/threadmgr.h>
Include dependency graph for sbrk.c:

Functions

static char _newlib_sbrk_mutex [32] __attribute__ ((aligned(8)))
 
int _newlib_heap_size_user __attribute__ ((weak))
 
void_sbrk_r (struct _reent *reent, ptrdiff_t incr)
 
void _init_vita_heap (void)
 
int getVMBlock ()
 
void _free_vita_heap (void)
 

Variables

static int _newlib_heap_memblock
 
static unsigned _newlib_heap_size
 
static char * _newlib_heap_base
 
static char * _newlib_heap_end
 
static char * _newlib_heap_cur
 
static int _newlib_vm_memblock
 

Function Documentation

◆ __attribute__() [1/2]

static char _newlib_sbrk_mutex [32] __attribute__ ( (aligned(8))  )
static

◆ __attribute__() [2/2]

int _newlib_heap_size_user __attribute__ ( (weak)  )

Mount the filesystem(s) needed by the application. By default, we mount the SD card to /sd.

The 'iosuhaxMount' symbol used here is public and can be referenced in overriding implementations.

Unmount filesystems. Implementing applications should be careful to clean up anything mounted in __mount_filesystems() here.

◆ _free_vita_heap()

void _free_vita_heap ( void  )

◆ _init_vita_heap()

void _init_vita_heap ( void  )

◆ _sbrk_r()

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

◆ getVMBlock()

int getVMBlock ( )

Variable Documentation

◆ _newlib_heap_base

char* _newlib_heap_base
static

◆ _newlib_heap_cur

char * _newlib_heap_cur
static

◆ _newlib_heap_end

char * _newlib_heap_end
static

◆ _newlib_heap_memblock

int _newlib_heap_memblock
static

◆ _newlib_heap_size

unsigned _newlib_heap_size
static

◆ _newlib_vm_memblock

int _newlib_vm_memblock
static