Function magma::magma_connection_map_buffer

source ·
pub unsafe extern "C" fn magma_connection_map_buffer(
    connection: magma_connection_t,
    hw_va: u64,
    buffer: magma_buffer_t,
    offset: u64,
    length: u64,
    map_flags: u64,
) -> magma_status_t
Expand description

\brief Maps a buffer range onto the hardware in the connection’s address space at the given address. Depending on the MSD this may automatically commit and populate that range. \param connection An open connection. \param hw_va Destination virtual address for the mapping. \param buffer A valid buffer. \param offset Offset into the buffer. \param length Length in bytes of the range to map. \param map_flags A valid MAGMA_MAP_FLAGS value.