Share via


nk Module (Windows Embedded CE 6.0)

1/6/2010

The nk module supports Windows Embedded CE kernel functionality and is required for all OS designs. For more information, see Kernel Overview.

The nk module includes functions for configuring the OS. These functions are defined in the Celog.h, Kerninst.c, Mkfuncs.h, Nkintr.h, Oemioctl.c, Pkfuncs.h, Profiler.h, Pwindbas.h, Pwinuser.h, Winbase.h, Windev.h, and Winnt.h header files.

The nk module contains functions for application developers, which are defined in the Winnt.h and Winbase.h header files. To import these functions, you must link to the Nk.lib file.

Components

The following table shows the components contained in the nk module.

Component Description Note Library

cefnk

Provides Common Executable Format (CEF) support.

Exposes no public functions.

Cefnk.lib

hal

OEM component that abstracts the kernel from the hardware.

Exposes functions to the OEM.

Hal.lib

nkcompr

Supports file compression.

Exposes no public functions.

Nkcompr.lib

nkmapfile

Supports file mapping.

Exposes no public functions.

Nkmapfile.lib

nknocomp

Removes the file compression component from your OS design.

Exposes no public functions.

Nknocomp.lib

nknocefnk

Stubs out CEF support.

Exposes no public functions.

Nknofnk.lib

nknomapfile

Removes the file mapping component from your OS design.

Exposes no public functions.

Nknomapfile.lib

Ee482339.collapse(en-US,WinEmbedded.60).gifhal Component

The hal component is the OEM component that abstracts the kernel from the hardware. The OEM creates this component that is then linked to the kernel to provide a seamless interface to the hardware. This component is required for all OS designs.

The hal component includes functions for configuring the OS. These functions are defined in the Cache.s, Cfwp2.c, Client.c, Ethdbg.h Fwpc.c, Halether.h, Mkfuncs.h, Nkintr.h, Pkfuncs.h, Profiler.h, Oemboot.c, Oeminit.asm, and Oemioctl.c files. To import these functions, you must link to the Hal.lib file.

See Also

Concepts

Common Windows Embedded CE Modules

Other Resources

OEM Adaptation Layer