.

meiPlatformHostAddress32To64

Declaration

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


long meiPlatformHostAddress32To64(MEIPlatform platform, void **firmwareAddress,
/* address of 32 bit entity */ long lowWord)
/* set to 1 if given address is the low word */
  Required Header: stdmei.h
Change History: Added in the 03.04.00

Description

meiPlatformHostAddress32To64 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 MEIPlatform object
**firmwareAddress 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  
MEIPlatformMessageDEVICE_ERROR Returned if no XMP or ZMP controller is found.

See Also

meiPlatformHostAddress64To32

 

       Legal Notice  |  Tech Email  |  Feedback
      
Copyright ©
2001-2021 Motion Engineering