The direct_memory_lookup_v2
interface is implemented by
Simics memory-spaces. Its functionality is identical to the
direct_memory_lookup
interface except that it takes a
transaction_t
argument instead of a requester object and
size. It must be used instead of direct_memory_lookup
in
cases when memory mappings may depend on atoms of the transaction in
addition to the physical address.
SIM_INTERFACE(direct_memory_lookup_v2) { direct_memory_lookup_t (*lookup)(conf_object_t *NOTNULL obj, transaction_t *NOTNULL transaction, physical_address_t addr, access_t access); }; #define DIRECT_MEMORY_LOOKUP_V2_INTERFACE "direct_memory_lookup_v2"