2007年6月12日 星期二

User mode and kernal mode driver in CE6.0

User Moder Driver
  1. have UI or message box
  2. independ on HW setting
  3. VirtualCopy, and its wrapper function MmMapIoSpace could not be called
  4. Under each driver setup entry in the registry, there are IOBase and IOLen keys that we use to mark physical memory.
  • [HKEY_LOCAL_MACHINE\Drivers\BuiltIn\Serial]

"IoBase"=dword:02F8

"IoLen"=dword:8

  • [HKEY_LOCAL_MACHINE\Drivers\BuiltIn\Serial] "IoBase"=multi_sz:"2f8","3f6"

"IoLen"=multi_sz:"8","2"


Kernal Mode Driver

  1. have interrupt IRQ
  2. same as CE 5.0

http://www.windowsfordevices.com/articles/AT4670249763.html

沒有留言: