MPI 04.00 Reference >> mpiPlatform
mpiPlatformHostAddress32To64
Declaration
int32_t mpiPlatformHostAddress32To64(MPIPlatform platform, void **hostAddress, int32_t lowWord);
Required Header: stdmpi.h
Change History: Added in the 03.04.00. Modified in 04.00.
Description
mpiPlatformHostAddress32To64 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 |
---|---|
**hostAddress | a pointer to a valid firmware address from the host’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. |