摘要 |
<P>PROBLEM TO BE SOLVED: To achieve the type development of a device driver corresponding to the difference of an OS or a CPU at low costs. <P>SOLUTION: A source device driver described with a source code includes: API parts (11, 12) as the layer of an interface between the source device driver and an application; OS dependent sections (14, 15) as the layer of processing which is dependent on an OS; a CPU dependent part (16) as the layer of processing which is dependent on a CPU; and a device driver main body part (13) as the layer of processing which is not dependent on the above mentioned OS or CPU. The device driver main body part is hierarchized so as to be called by the API part, and the OS dependent part and the CPU dependent part are hierarchized so as to be called from the device driver main body part. Thus, it is possible to change the API part or the OS dependent part or the CPU dependent part, and to easily achieve type development corresponding to the difference of the OS or CPU of the device driver. <P>COPYRIGHT: (C)2012,JPO&INPIT |