Loading...
Searching...
No Matches
furi_hal_memory.h
Go to the documentation of this file.
1
6#pragma once
7
8#include <stdbool.h>
9#include <stdint.h>
10
11#ifdef __cplusplus
12extern "C" {
13#endif
14
18void furi_hal_memory_init(void);
19
26void* furi_hal_memory_alloc(size_t size);
27
33size_t furi_hal_memory_get_free(void);
34
41
42#ifdef __cplusplus
43}
44#endif
void * furi_hal_memory_alloc(size_t size)
Allocate memory from separate memory pool.
Definition furi_hal_memory.c:84
size_t furi_hal_memory_get_free(void)
Get free memory pool size.
Definition furi_hal_memory.c:109
void furi_hal_memory_init(void)
Init memory pool manager.
Definition furi_hal_memory.c:28
size_t furi_hal_memory_max_pool_block(void)
Get max free block size from memory pool.
Definition furi_hal_memory.c:119