CE Boot Code (Compact 2013)

3/26/2014

CE Boot consists of code that implements the core functionality in addition to code for the boot drivers that you use to create boot scenarios. Windows Embedded Compact 2013 provides the CE Boot sample code in both C and C++. In this article, we refer to C++ when possible.

The following are the locations of the CE Boot code:

  • Common code: %_WINCEROOT%\Platform\Common\Src\Common\Bldr
  • Platform-specific code: %_WINCEROOT%\Platform\<BSP Name>\Src\Boot\Bldr

Note

%_WINCEROOT% represents the root directory of your Windows Embedded Compact 2013 installation.

Although CE Boot uses many APIs, this article covers only the most important ones. These fall into the following categories:

  • Core: This code controls boot loader flow, memory mapping, and dynamic memory allocation.
  • Boot Scenario: This code, which is called by the core code, performs individual tasks that the boot process requires, such as loading the OS into memory.
  • Notification and Logging: These functions handle interactions with the user and the recording of debug information.
  • Boot Driver: These classes and methods encapsulate boot driver functionality, such as handling the IOCTLs passed to a driver.
  • Boot Driver Factory: This function creates and initializes an instance of a boot driver.

Each of these categories is described in the sections below.

Important

The CE Boot framework functions and other code elements that this article describes are only a subset of those that are available. You can explore the CE Boot source code provided with Windows Embedded Compact 2013 for the full set of APIs.

In This Section

See Also

Concepts

CE Boot Framework