Share via


Kernel Image Libraries

The OAL is physically a part of the kernel image, and as such, is tightly coupled to the kernel build process. The requisite build and configuration directories and files are put in place to create a kernel image from the OAL as it is progressively developed. Microsoft provides the kernel code for the microprocessor of the target device.

The following table shows the optional and requisite libraries that make up the kernel image.

Component Description
Nk.lib Base code supplied by Microsoft for a specified microprocessor.
Hal.lib OAL that you implement for a target device.
SchedLog.lib Hardware-assisted profiling, including support for notifications when the OS creates and deletes processes and threads. (Optional).
NkProf.lib Profile version of the microprocessor-specific kernel code that Microsoft supplies with the Microsoft Platform Builder 4.0 and later integrated development environment (IDE). (Optional).
KITL.lib Kernel Independent Transport Layer (KITL) debugging services. (Optional if KITL is not required).
SMC9000.lib Sample Ethernet debugging adapter driver. (Optional if KITL is not required).
FullLibc.lib Microsoft C Run-Time Library for Windows CE.
LoadAuth.lib Sample library for digital signature verification of executable files.

Platform Builder ships platform code that builds three different kernel libraries. Each is customized for a particular task and is described in the following table.

Kernel type Description
Kern.exe Kernel that does not include the debugging subsystem.
Kernkitl.exe Kernel that includes the debugging subsystem.

The kernel debugger is in the form of a dynamic-link library (DLL), Kd.dll. To enable the kernel debugger, include it in the MODULES Section with the K flag.

Kernkitlprof.exe Kernel that includes profiling.

For more information about debugging and profiling, see Platform Debugging and Platform Profiling.

The following table shows the components necessary to build these versions of the kernel.

Component Included in Kern.exe Included in Kernkitl.exe Included in Kernkitlprof.exe
Nk.lib X X  
NkProf.lib     X
Hal.lib X X X
FullLibc.lib X X X
KITL.lib   X X
SMC9000.lib X X X
LoadAuth.lib X X X

See Also

OEM Adaptation Layer | Creating the Kernel Buildexe Directory

Last updated on Wednesday, April 13, 2005

© 2005 Microsoft Corporation. All rights reserved.