06.08.2013 Views

pSOSystem System Calls - Read

pSOSystem System Calls - Read

pSOSystem System Calls - Read

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

m_int2ext pSOS+ <strong>System</strong> <strong>Calls</strong><br />

m_int2ext Converts an internal address into an external address.<br />

unsigned long m_int2ext(<br />

void *int_addr, /* local reference */<br />

void **ext_addr /* external reference */<br />

)<br />

Description<br />

Arguments<br />

Return Value<br />

Error Codes<br />

Notes<br />

When a node on a multiprocessor system passes an address that resides within a<br />

dual-ported zone, it first must convert the address by calling m_int2ext(). This<br />

call applies to systems with multiple processors that are connected by dual-ported<br />

memory on a memory bus.<br />

int_addr Specifies the internal address.<br />

ext_addr Points to the variable where m_int2ext() stores the<br />

resultant external address. If the internal address is within a<br />

dual-ported zone whose p-port is tied to the calling node, the<br />

external address is different. In all other cases, the internal<br />

and external addresses are the same.<br />

This call always returns 0.<br />

None.<br />

Be careful about structures that straddle the boundary of a dual-port zone, because<br />

the structure’s address range could contain a discontinuity.<br />

1-46 <strong>pSO<strong>System</strong></strong> <strong>System</strong> <strong>Calls</strong>

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!