RE: Adding custom kernel IOCTL by LucaCalligaris
LucaCalligaris
Mon Dec 17 01:55:00 PST 2007
you have to define the new IOCTL (Take a look at
%_WINCEROOT%\PUBLIC\COMMON\OAK\INC\pkfuncs.h to see how to define
a custom IOCTL_HAL) , write the IOCTL handler and add a new entry to
g_oalIoCtlTable in your BSP globals.c file
"Leonid" wrote:
> Hi.
> I try to read MSR from GPIO driver. As I understand, I can't use
> NKrdmsr function outside the OAL. So I have to implement the custom
> kernel IOCTL. How do I add this IOCTL to my project?
>
> P.S.
> I work with Windows CE 5.
>
> Thank you in advance.
> Leon
>