VIRTUTECH CONFIDENTIAL Previous - Up - Next
translate
- Implemented By
-
bitmask-translator, flash-memory, generic-flash-memory, i82461GX, local-space-mapper, memory-space, pc-shadow, ppc405gp-pci, ppc440gp-pci, ppc440gx-pci, pyxis, sun4u-trans2, sunfire-sysio, x86-hammer
- Description
-
The translate interface is implemented by objects
that bridge between memory spaces. translate() can
change fields like size and physical_address
in the mem_op. The return value from
translate() can be a target memory space or
NULL in which case the space provided in the
configuration is used.
typedef struct {
conf_object_t *(*translate)(conf_object_t *NOTNULL obj,
generic_transaction_t *NOTNULL mem_op,
map_info_t mapinfo);
} translate_interface_t;
#define TRANSLATE_INTERFACE "translate"
VIRTUTECH CONFIDENTIAL Previous - Up - Next