Revision 51644ab7 include/exec/memory.h

b/include/exec/memory.h
866 866
                                             hwaddr *xlat, hwaddr *len,
867 867
                                             bool is_write);
868 868

  
869
/* address_space_access_valid: check for validity of accessing an address
870
 * space range
871
 *
872
 * Check whether memory is assigned to the given address space range.
873
 *
874
 * For now, addr and len should be aligned to a page size.  This limitation
875
 * will be lifted in the future.
876
 *
877
 * @as: #AddressSpace to be accessed
878
 * @addr: address within that address space
879
 * @len: length of the area to be checked
880
 * @is_write: indicates the transfer direction
881
 */
882
bool address_space_access_valid(AddressSpace *as, hwaddr addr, int len, bool is_write);
883

  
869 884
/* address_space_map: map a physical memory region into a host virtual address
870 885
 *
871 886
 * May map a subset of the requested range, given by and returned in @plen.

Also available in: Unified diff