User`s guide

xpcPCIDevice
of these addresses. Base addresses are filled in during the BIOS
plug and play initialization, before the xPC Target kernel starts to
execute. The hardware designer of the board decides how many
address spaces are defined and what they are used for. Many boards
use one address space to contain all of the registers for the board,
other boards separate functions into different address spaces. See
the board hardwa re manufacturer manual for this information.
For memo ry-mapped segments, call the
xpcReserveMemoryRegion
function to convert the physical address in BaseAddress to a virtual
address that is suitable f or the CP U to read and write the segm ent.
You can then optionally save this address in the
VirtAddress field.
You might want to save the addres s if you have several segments and
you want to pass them all to a b oard access library.
See Also xpcGetPCIDeviceInfo, xpcSh owPC IDeviceInfo
9-4