Share via


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

  1. 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.

  2. In addition to the steps shown in Oal.exe to create and build oal.exe, edit the \oal\oalexe\sources file as follows:

    1. Add the following line:

      $(_PLATFORMCOMMON)\lib\$(_CPUDEPPATH)\oal_cache_x86.lib \.
      
    2. Remove oal_cache.lib from the Sources file.

  3. In addition to the steps shown in Kitl.dll to create and build kitl.dll, make the following changes:

    1. Edit \kitl\sources to add globals.c to the sources list.

    2. Copy \Oal\Oallib\globals.c to \Kitl\.

    3. 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 except g_oalIoCtlPlatformType and g_ucDlftKitlAdaptorType.

    4. Do not rename the OALKitlStart function to OEMKitlStartup.

See Also

Concepts

Separate the Kernel from OAL and KITL