MPI 04.00 Reference >> mpiPlatform

mpiPlatformFirmwareAddress32To64

Declaration

/* calculates base address of 64 bit entity given a pointer to 
one of the 32 bit words within the 64 bit entity */

long mpiPlatformFirmwareAddress32To64(MPIPlatform platform, void **firmwareAddress,
/* address of 32 bit entity */ long lowWord)
/* set to 1 if given address is the low word */

 

Required Header: stdmpi.h
Change History: Added in the 03.04.00

Description

mpiPlatformFirmwareAddress32To64 takes a pointer to a 32-bit word within a 64-bit entity and returns a pointer to the base address of the 64-bit entitiy. Set lowWord to 1 if the given address points to the lowWord of the 64-bit entity.

platform MPIPlatform object
**firmwareAddress Pointer to a valid firmware address from the firmware’s perspective.
lowWord Set lowWord to 1 if the given address points to the lowWord of the 64-bit entity.
Returns
MPIMessageOK
MPIPlatformMessageDEVICE_ERROR Returned if no ZMP controller is found.

See Also

mpiPlatformFirmwareAddress64To32