Книга: Microsoft Windows Embedded CE 6.0 Exam Preparation Kit
Lesson 7: Enhancing Driver Portability
Device drivers help to increase the flexibility and portability of the operating system. Ideally, they require no code changes to run on different target devices with varying communication requirements. There are several relatively straightforward techniques that you can use to make your drivers portable and reusable. One common approach is to maintain configuration settings in the registry instead of hardcoding the parameters into the OAL or the driver. Windows Embedded CE also supports a layered architecture based on MDD and PDD that you can leverage in your device driver design, and there are further techniques that you can use to implement drivers in a bus-agnostic way to support peripheral devices regardless of the bus type to which they are connected.
After this lesson, you will be able to:
? Describe how to use registry settings to increase the portability and reusability of a device driver.
? Implement a device driver in a bus-agnostic way.
Estimated lesson time: 15 minutes.
- Chapter 6 Developing Device Drivers
- JDBC Туре 4 DRIVER
- Test Driver Code
- Lesson Summary
- Installing Proprietary Video Drivers
- Lesson 2: Implementing System Applications
- Chapter 8. Device Driver Basics
- 8.1. Device Driver Concepts
- 8.1.2. Device Driver Architecture
- 8.1.3. Minimal Device Driver Example
- 8.1.5. Installing Your Device Driver
- 8.3. Driver Methods