Share via


Updating the Kernel, Debugger, and Profiler

The kernel libraries and their associated directories have changed in Windows CE .NET. The debugger is no longer statically linked into the kernel. Instead, debugging takes place over the Kernel Independent Transport Layer (KITL). Also, the kernel's Withkd.exe and Profkd.exe files are obsolete and can be deleted.

The following list shows the new kernels built in Windows CE .NET:

  • Kitlnokd.exe is now Kernkitl.exe.
  • Nkprof.exe is now Kernkitlprof.exe.
  • Kern.exe is a new kernel, which is built without Kernel Independent Transport Layer (KITL) support.

The following changes are required in your board support package (BSP) to account for the new kernels. See the CEPC platform for examples.

  • %_TARGETPLATROOT%\Kernel\Buildexe\Dirs should contain three new directory names, Kern, Kernkitl, and Kernkitlprof.
  • The old directories Nokd and profiler should be renamed to Kernkitl and Kernkitlprof, respectively. The sources files in each of these directories should be modified to have TARGETNAME = kernkitl and TARGETNAME = kernkitlprof, respectively.
  • Add a new kern directory to build a kernel without KITL support. See the CEPC platform for an example. The Kitlstub.c file contains stubs of functions usually found in Halether.c and Halkitl.c in %_TARGETPLATROOT%\Kernel\Hal in order for these functions to be removed during the link process.

Windows CE .NET supports the following techniques to measure operating system performance on a targeted platform:

  • Instrumented kernel profiling.
  • Hardware-enabled profiling.
  • Monte Carlo profiling, which uses frequent sampling to determine which routines are using the most CPU cycles.

For information about how to implement these profiling techniques, see Platform Profiling.

See Also

Migrating a BSP | Board Support Package Tools

Last updated on Wednesday, April 13, 2005

© 2005 Microsoft Corporation. All rights reserved.