NAME

vme_master_window_translate - Shifts the base VMEbus address of a VME Master Window.

SYNOPSIS

int vme_master_window_translate ( vme_bus_handle_t bus_handle, vme_master_handle_t window_handle, uint64_t vme_addr )

PARAMETERS

vme_bus_handle_t bus_handle

Handle allocated by vme_init.

vme_master_handle_t window_handle

Window handle allocated by vme_master_window_create.

uint64_t vme_addr

VMEbus address.

DESCRIPTION

Shifts the base VMEbus address of a VME Master Window.

The window must be created with the VME_CTL_EXCLUSIVE flag to use this function. The new VMEbus address must be aligned identically to the same 64-Kbyte boundary as the original VMEbus address.

RETURNS

0 on success, or -1 on failure.

SEE ALSO

vme_master_window_create(3), vme_master_window_map(3), vme_master_window_phys_addr(3), vme_master_window_release(3), vme_master_window_unmap(3)