Deluge Firmware 1.3.0
Build date: 2025.04.16
Loading...
Searching...
No Matches
deluge::memory::sdram_allocator< T > Class Template Reference

A simple GMA wrapper that conforms to the C++ Allocator trait spec (see: https://en.cppreference.com/w/cpp/named_req/Allocator) More...

#include <sdram_allocator.h>

Public Types

using value_type = T
 

Public Member Functions

template<typename U>
constexpr sdram_allocator (const sdram_allocator< U > &) noexcept
 
T * allocate (std::size_t n) noexcept(false)
 
void deallocate (T *p, std::size_t n)
 
template<typename U>
bool operator== (const sdram_allocator< U > &o)
 
template<typename U>
bool operator!= (const sdram_allocator< U > &o)
 

Detailed Description

template<typename T>
class deluge::memory::sdram_allocator< T >

A simple GMA wrapper that conforms to the C++ Allocator trait spec (see: https://en.cppreference.com/w/cpp/named_req/Allocator)

Note
The sdram_allocator allows allocation to either the specially reserved "external" 8MiB region of SDRAM OR the remaining 56MiB "stealable" region of SDRAM
Template Parameters
TThe type to allocate for

The documentation for this class was generated from the following file: