Module ctru::linear

source ·
Expand description

LINEAR memory allocator.

LINEAR memory is a sector of the 3DS’ RAM that binds virtual addresses exactly to the physical address. As such, it is used for fast and safe memory sharing between different hardware components (such as the GPU and the DSP processor).

§Additional Resources



  • Trait indicating a type has been allocated using LinearAllocator. This can be used to enforce that a given slice was allocated in LINEAR memory.