WinCE 6.0 BSP Directory Structure(BSP目录结构ZL)

zz from

ms-help://MS.VSCC.v80/MS.VSIPCC.v80/MS.WindowsCE.v60.en/CE_BringingUpDevice/html/2d3b2418-0ea6-4492-8ff6-b346242eb1d3.htm

Windows Embedded CE 6.0 introduces the following BSP changes:

  • The OAL and startup code no longer link with the kernel to produce Nk.exe. Instead, the OAL and the startup code link to form Oal.exe and the kernel is built as Kernel.dll.
  • KITL code should be removed from the OAL and placed in Kitl.dll.

Microsoft recommends that OEMs adopt a new directory structure to reflect these changes. This is optional. However, OEMs must use the new names for the executables being built because this is not optional.

Recommended BSP Directory Structure

Microsoft recommends that you use the following BSP directory structure for Windows Embedded CE 6.0.

 

/Platform/<Hardware Platform Name> subdirectory Description

Cesysgen

Contains a makefile for filtering any of the configuration files in the files directory.

Files

Contains project-specific files for building the run-time image, initial directory structure, initialized databases, and initialized registry.

Src

Contains the boot loader, OAL, and include files for the hardware platform.

Src/Bootloader

Contains all the boot loader-specific code.

Src/Bootloader/Eboot

Contains the boot loader source files.

Src/Common

Contains all the code common to the boot loader and OAL.

Src/Drivers

Contains the local BSP drivers.

Src/Inc

Contains hardware platform-specific include files.

Src/Oal/OalLib

Contains the hardware platform-specific OAL code.

This builds Oal.lib.

Src/Oal/OalExe

Contains the build files, and possibly stub functions, for building the basic OAL image (without KITL support or with KITL in Kitl.dll).

This builds Oal.exe.

Src/Kitl

Contains the build files and source code for building Kitl.dll.

你可能感兴趣的:(image,Build,include,makefile,WinCE,structure)