Re: CE 5.0 Kernel question
From: K. S. Huang (ks_huang_at_AlphaNetworks.com_remove.this)
Date: 09/29/04
- Previous message: K. S. Huang: "Re: Private Code Tree"
- In reply to: Bryan: "CE 5.0 Kernel question"
- Messages sorted by: [ date ] [ thread ]
Date: Wed, 29 Sep 2004 16:33:23 +0800
Because the CEPC BSP of CE 5.0 is tranfered into PQOAL architecture.
The real OEMIoControl entry is under
\WINCE500\PLATFORM\COMMON\SRC\COMMON\IOCTL\ioctl.c
It dose NOT implement any IOCTL function call but using a Table named
g_oalIoCtlTable to map the corresponding IOCTL into the relative fections.
And the definition of g_oalIoCtlTable is defined in
\WINCE500\PLATFORM\CEPC\SRC\KERNEL\OAL\globals.c for CEPC.
const OAL_IOCTL_HANDLER g_oalIoCtlTable [] = {
#include <ioctl_tab.h>
};
the ioctl_tab is a predefined IOCTL table for a generic x86 platform.
If you want to add your own IOCTLs, you'll need to clone the ioctl_tab.h
(under \WINCE500\PLATFORM\COMMON\SRC\x86\INC)
into your BSP and modified the contects of the cloned ioctl_tab.h.
Also arrange your original add-on ioctl codes to adapt the function
prototype of the OAL_IOCTL_HANDLER.
"Bryan" <anonymous@discussions.microsoft.com>
???????:337601c4a5c4$6d561e70$a501280a@phx.gbl...
> Hi all,
>
> I wrote some function in C:\WINCE420
> \PLATFORM\CEPC\KERNEL\HAL\oemioctl.c
> in CE 4.2.
>
> But I can not find the "oemioctl.c" in CE 5.0, where can
> I put my code if I want to modify the kernel?
>
> Thanks,
> Bryan.
>
>
>
>
- Previous message: K. S. Huang: "Re: Private Code Tree"
- In reply to: Bryan: "CE 5.0 Kernel question"
- Messages sorted by: [ date ] [ thread ]