panda_physical_memory_write_external

Function panda_physical_memory_write_external 

Source
pub unsafe extern "C" fn panda_physical_memory_write_external(
    addr: hwaddr,
    buf: *mut u8,
    len: c_int,
) -> c_int
Expand description

panda_physical_memory_write_external() - Copy data from host buffer into guest (physical)memory. @addr: Guest physical address of start of desired write. @buf: Host pointer to a buffer from which data will be copied into guest. @len: Number of bytes to copy.

Return:

  • MEMTX_OK - Write succeeded
  • MEMTX_ERROR - An error