Function panda_sys::address_space_rw[][src]

pub unsafe extern "C" fn address_space_rw(
    as_: *mut AddressSpace,
    addr: hwaddr,
    attrs: MemTxAttrs,
    buf: *mut u8,
    len: c_int,
    is_write: bool
) -> MemTxResult
Expand description

address_space_rw: read from or write to an address space.

Return a MemTxResult indicating whether the operation succeeded or failed (eg unassigned memory, device rejected the transaction, IOMMU fault).

@as: #AddressSpace to be accessed @addr: address within that address space @attrs: memory transaction attributes @buf: buffer with the data transferred @is_write: indicates the transfer direction