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.

Error Codes Driver Error Codes<br />

Aside from the service calls de_init(), de_open(), de_close(), de_read(),<br />

de_write(), and de_cntrl(), a system call can return a driver error code directly<br />

through the return value of the system call. For example, the pHILE+ write_f()<br />

system call can return the SCSI driver error code SCSI_W_PROTECTED<br />

(0x1050001A) if a write is attempted on a write-protected drive.<br />

B.6.1 Shared Memory Network Interface Driver Error Codes<br />

The error codes listed in Table B-10 are returned by the Shared Memory Network<br />

Interface (NI_SMEM) driver.<br />

TABLE B-10 Shared Memory Network Interface Driver Error Codes<br />

Hex Mnemonic and Description<br />

0x10000001 NISMEM_FAT_IPA: Invalid IP address.<br />

B.6.2 Shared Memory Kernel Interface Driver Error Codes<br />

The error codes listed in Table B-11 are returned by the Shared Memory Kernel Interface<br />

(KI_SMEM) driver.<br />

TABLE B-11 Shared Memory Kernel Interface Driver Error Codes<br />

Hex Mnemonic and Description<br />

0x10000101 KISMEM_FAT_NOPB: No packet buffers.<br />

0x10000102 KISMEM_FAT_NOQ: No queue.<br />

0x10000103 KISMEM_FAT_NOTSUPP: Service not supported.<br />

0x10000104 KISMEM_FAT_BINSTALL: Can’t install bus error handler.<br />

0x10000105 KISMEM_FAT_NOD: Number of nodes greater than maximum.<br />

<strong>pSO<strong>System</strong></strong> <strong>System</strong> <strong>Calls</strong> B-45<br />

B

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

Saved successfully!

Ooh no, something went wrong!