Source code for a monolithic driver consists of both interrupt service thread code and platform specific code.
单体驱动的源代码由中断服务线程和平台相关的代码组成。
In such a case, implementing a monolithic driver might be simpler and more efficient than implementing a layered driver.
在这些情况下,实现为单体驱动就要比分层驱动更加简单而且更加高效。
Regardless of whether you implement a monolithic driver or a layered driver, you can base your implementation on the source code for any of the sample drivers.
不管是实现为单体驱动还是分层的驱动,所有的示例驱动都可以作为实现驱动程序的参考。
应用推荐