Numworks Epsilon  1.4.1
Graphing Calculator Operating System
malloc.c File Reference
#include <stdlib.h>
#include <string.h>
#include <assert.h>
#include <private/memconfig.h>

Go to the source code of this file.

Functions

int memsys5Init (void *NotUsed)
 
void memsys5FreeUnsafe (void *pOld)
 
void * memsys5MallocUnsafe (int nByte)
 
void * memsys5Realloc (void *pPrior, int nBytes)
 
int memsys5Roundup (int n)
 
void free (void *ptr)
 
void * malloc (size_t size)
 
void * realloc (void *ptr, size_t size)
 

Variables

char _heap_start
 
char _heap_end
 
heap_config_t HeapConfig
 

Function Documentation

◆ free()

void free ( void *  ptr)

Definition at line 33 of file malloc.c.

◆ malloc()

void* malloc ( size_t  size)

Definition at line 44 of file malloc.c.

◆ memsys5FreeUnsafe()

void memsys5FreeUnsafe ( void *  pOld)

◆ memsys5Init()

int memsys5Init ( void *  NotUsed)

◆ memsys5MallocUnsafe()

void* memsys5MallocUnsafe ( int  nByte)

◆ memsys5Realloc()

void* memsys5Realloc ( void *  pPrior,
int  nBytes 
)

◆ memsys5Roundup()

int memsys5Roundup ( int  n)

◆ realloc()

void* realloc ( void *  ptr,
size_t  size 
)

Definition at line 67 of file malloc.c.

Variable Documentation

◆ _heap_end

char _heap_end

Definition at line 11 of file boot.cpp.

◆ _heap_start

char _heap_start

Definition at line 10 of file boot.cpp.

◆ HeapConfig

heap_config_t HeapConfig
Initial value:
= {
.nHeap = 0
}

Definition at line 13 of file malloc.c.