06.08.2013 Views

pSOSystem System Calls - Read

pSOSystem System Calls - Read

pSOSystem System Calls - Read

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

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

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

#include <br />

unsigned long m_ext2int(<br />

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

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

)<br />

Description<br />

Arguments<br />

Return Value<br />

Error Codes<br />

This system call converts an external address into an internal address<br />

corresponding to the calling node. A typical use for this conversion is by a node that<br />

has received an address from another node that resides in a dual-ported memory<br />

zone.<br />

m_ext2int() is relevant only to systems with multiple processors connected by<br />

dual-ported memory on a memory bus. Other users can disregard this call.<br />

ext_addr Specifies the external address.<br />

int_addr Points to the variable where m_ext2int() stores the<br />

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

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

then the internal address will be different. In all other cases,<br />

the internal and external addresses will be the same.<br />

This system call always returns 0.<br />

None.<br />

1-44 <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!