OS-9 Device Descriptor and Configuration Module Reference

OS-9 Device Descriptor and Configuration Module Reference OS-9 Device Descriptor and Configuration Module Reference

rab.ict.pwr.wroc.pl
from rab.ict.pwr.wroc.pl More from this publisher
13.07.2015 Views

3SCFTMDevice Descriptors MICROWARETable 3-7 dd_type Available Values (continued)Description Macro EditModReal-Time Network File Manager DT_RTNFM 0xeSerial Protocol File Manager DT_SPF 0xfReserved for Microware Use Only 17-127 0xa1-0x7f196 OS-9 Device Descriptor and Configuration Module Reference

SCF Device Descriptorsdd_modeEditMod Labels2-device descriptor data definitions5-device mode capabilitiesDD_MODE3DescriptionUsed to check the validity of a caller’s access mode byte in I_CREATEor I_OPEN system calls. If a bit is set, the device can perform thecorresponding function. The S_ISIZE bit is usually set, because it ishandled by the file manager or ignored. If the S_ISHARE bit is set, thedevice is non-sharable. A printer is an example of a non-sharabledevice.Port Generic Default ValueMacroS_ISIZE | S_IREAD | S_IWRITEEditMod0x2003Port Specific Override ValueRefer to SCF//DESC/config.des (Figure 3-3).OS-9 Device Descriptor and Configuration Module Reference 197

3SCFTM<strong>Device</strong> <strong>Descriptor</strong>s MICROWARETable 3-7 dd_type Available Values (continued)Description Macro EditModReal-Time Network File Manager DT_RTNFM 0xeSerial Protocol File Manager DT_SPF 0xfReserved for Microware Use Only 17-127 0xa1-0x7f196 <strong>OS</strong>-9 <strong>Device</strong> <strong>Descriptor</strong> <strong>and</strong> <strong>Configuration</strong> <strong>Module</strong> <strong>Reference</strong>

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

Saved successfully!

Ooh no, something went wrong!