|
This paper originates from the discussing that the difference between the hardware controlled by the driver and the direct control of the hardware. After that, consider that how to design an application interface which to call the hardware driver, and to complete an upper and lower compatible application interface. Finally, we hope to add the functions of the management device and integrate this interface with the operating system to become a complete device driver management system.
This paper is mainly for the CoOS real-time operating system under the CooCox series. We implement a management system of device on CooCox operation system. In addition to the upper and lower compatible application interfaces, and also provides the necessary management functions for device drivers. We also provide sample hardware drivers and templates for user reference.
In our test, we can see the system shows that the user can directly use the application interface of the operating system to perform hardware control without understanding the actual operation of the hardware. We also can do some management to devices. The system is integrated with the CoOS operating system, we can use other application interfaces on the CoOS operating system to perform Mutual exclusion(Mutex), Inter-Process Communication(IPC), and synchronization.
|