Additional Steps for CEPC (Compact 7)
3/12/2014
A few additional steps are required to separate the kernel, OAL, and KITL for a Windows Embedded Compact PC-based platform (CEPC). The files oal_cache_x86.lib and oal_kitl_x86.lib are specific to x86-based hardware platforms. The file globals.c is specific to CEPC.
To divide the CEPC kernel into three pieces
Follow the steps shown in Production-Quality OAL (PQOAL), Oal.exe, Kernel.dll, and Kitl.dll to prepare your BSP for migration and to remove KITL from the OAL.
In addition to the steps shown in Oal.exe to create and build oal.exe, edit the \oal\oalexe\sources file as follows:
Add the following line:
$(_PLATFORMCOMMON)\lib\$(_CPUDEPPATH)\oal_cache_x86.lib \.
Remove oal_cache.lib from the Sources file.
In addition to the steps shown in Kitl.dll to create and build kitl.dll, make the following changes:
Edit \kitl\sources to add globals.c to the sources list.
Copy
\Oal\Oallib\globals.c to \Kitl\
.Edit globals.c as follows:
Remove all#include
statements except the following:#include <windows.h>. #include <x86kitl.h>.
If these
#include
statements do not exist in globals.c, add them.
Delete all global variable declarations exceptg_oalIoCtlPlatformType
andg_ucDlftKitlAdaptorType
.Do not rename the OALKitlStart function to OEMKitlStartup.