arceos_api::mem

Function ax_dealloc_coherent

Source
pub unsafe fn ax_dealloc_coherent(dma: DMAInfo, layout: Layout)
Available on crate feature dma only.
Expand description

Deallocates coherent memory previously allocated.

ยงSafety

This function is unsafe because it requires users to manually manage the buffer life cycle.