Atmel Software Framework

dlsbrk.c File Reference
#include "conf_dlmalloc.h"

Macros

#define HEAP_END   &__heap_end__
 
#define HEAP_START   &__heap_start__
 

Functions

void * dlmalloc_sbrk (int increment)
 
void * mmap (void *start, int length, int prot, int flags, int fd, int offset)
 
int munmap (void *start, int length)
 

Variables

void __heap_end__
 
void __heap_start__
 
static void * cur_heap_pos = 0
 

#define HEAP_END   &__heap_end__

Referenced by dlmalloc_sbrk(), and mmap().

#define HEAP_START   &__heap_start__

Referenced by dlmalloc_sbrk(), mmap(), and munmap().

void* dlmalloc_sbrk ( int  increment)
void* mmap ( void *  start,
int  length,
int  prot,
int  flags,
int  fd,
int  offset 
)
int munmap ( void *  start,
int  length 
)

References cur_heap_pos, HEAP_START, length, and MORECORE.

void __heap_end__
void __heap_start__
void* cur_heap_pos = 0
static

Referenced by dlmalloc_sbrk(), mmap(), and munmap().