ChibiOS/RT  6.0.3
chmemheaps.c File Reference

Memory heaps code. More...

#include "ch.h"

Go to the source code of this file.

Functions

void _heap_init (void)
 Initializes the default heap. More...
 
void chHeapObjectInit (memory_heap_t *heapp, void *buf, size_t size)
 Initializes a memory heap from a static memory area. More...
 
void * chHeapAllocAligned (memory_heap_t *heapp, size_t size, unsigned align)
 Allocates a block of memory from the heap by using the first-fit algorithm. More...
 
void chHeapFree (void *p)
 Frees a previously allocated memory block. More...
 
size_t chHeapStatus (memory_heap_t *heapp, size_t *totalp, size_t *largestp)
 Reports the heap status. More...
 

Variables

static memory_heap_t default_heap
 Default heap descriptor. More...
 

Detailed Description

Memory heaps code.

Definition in file chmemheaps.c.