|
|
coherent
sload() COHERENT System Call sload() Load device driver #include <con.h> iinntt ssllooaadd(_m_a_j_o_r, _f_i_l_e, _c_o_n_p) iinntt _m_a_j_o_r; cchhaarr *_f_i_l_e; CCOONN *_c_o_n_p; The COHERENT system accesses all devices through drivers residing in the system. Except for the root device, drivers must be ex- plicitly loaded before use; this operation does not involve re- booting. sload loads the driver given by file as device number major. This number uniquely identifies the driver to the system. conp is a reference to a CON structure, as defined in the header file con.h. It describes standard entry points and gives other infor- mation on the driver. Normally, major and conp are obtained from the driver load module; this is the method used by the load com- mand. file must be in the correct format. Usually, it is created using the -k option to ld. This call is restricted to the superuser. ***** Files ***** <con.h> /drv/* ***** See Also ***** COHERENT system calls, con.h, init, l.out.h, ld, suload ***** Diagnostics ***** sload return zero upon successful loading of the appropriate driver, or -1 on errors. sload errors include nonexistent file, parameter (such as major) out of range, driver already loaded for major, or file not a file containing a proper driver. COHERENT Lexicon Page 1
This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.