Skip to content

FormatToDmaMap

Unpacks the registers of a DMA map call.

Library helper

Implemented in zuzu.h on top of the syscalls; it has no syscall number of its own.

DmaMapResult FormatToDmaMap(SvcResult r);

Parameters

Name Direction Description
r in Result registers of MNGMEM_DMAMAP.

Returns

The status, the bus address and the mapping id.