dRonin  adbada4
dRonin firmware
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
pios_heap.c File Reference
#include "pios.h"
#include "pios_heap.h"
#include <stdbool.h>

Go to the source code of this file.

Macros

#define DEBUG_MALLOC_FAILURES   0
 

Functions

static void malloc_failed_hook (void)
 
bool PIOS_heap_malloc_failed_p (void)
 
void * PIOS_malloc (size_t size)
 
void * PIOS_malloc_no_dma (size_t size)
 
void PIOS_free (void *buf)
 
void PIOS_heap_initialize_blocks (void)
 
size_t PIOS_heap_get_free_size (void)
 
size_t PIOS_fastheap_get_free_size (void)
 

Variables

static volatile bool malloc_failed_flag = false
 

Function Documentation

static void malloc_failed_hook ( void  )
static

Definition at line 35 of file pios_heap.c.