<< Previous | Next >> | |
|
unsigned long paddrSS( void * pointer );
Description
- Convert a logical pointer into its physical address. This function assumes the pointer points to data in the stack segment, which eliminates some runtime testing compared with the more general function,
paddr()
. The stack segment is used to storeauto
data items. This function will generate incorrect results if used for addresses in the root code (i.e. program code or constants), data (i.e. statically allocated variables), or xmem segments.Parameters
- pointer
- The pointer to convert, pointing to stack (auto) data.
Return value
- The physical address of the pointer.
Library
- XMEM.LIB
See Also
- paddr, paddrDS
Dynamic C Functions | << Previous | Next >> | rabbit.com |