Deluge Firmware 1.3.0
Build date: 2025.04.16
Loading...
Searching...
No Matches
memory_allocator_interface.h
1#pragma once
2
3// this file exists to cross the arm/thumb boundary - allowing the arm code to see the GMA object leads to multi
4// definitions
5#include <cstdint>
6void* allocMaxSpeed(uint32_t requiredSize, void* thingNotToStealFrom = nullptr);
7
8void* allocLowSpeed(uint32_t requiredSize, void* thingNotToStealFrom = nullptr);
9
10void* allocStealable(uint32_t requiredSize, void* thingNotToStealFrom = nullptr);
11
12extern "C" {
13void* delugeAlloc(unsigned int requiredSize, bool mayUseOnChipRam);
14void delugeDealloc(void* address);
15}