Share via


BSP Boot Sequence

Other versions of this page are also available for the following:

Windows Mobile Not SupportedWindows Embedded CE Supported

8/27/2008

The boot sequence starts from Oal.exe and then Kernel.dll completes the boot sequence.

Oal.exe

Oal.exe contains the system startup code and the OEM adaptation layer (OAL). It may optionally contain statically linked KITL support (OalKitl.exe) and/or profiling support.

Oal.exe bootstraps the platform and performs the following tasks:

  1. Calls StartUp to perform the following functions:
    1. Initialize DRAM/cache controller
    2. Perform minimal processor and hardware initialization
      For ARM- and x86-based hardware platforms, the physical address of the OEMAddressTable needs to be passed as an argument. For hardware platforms that start from a boot loader, including all of the Windows Embedded CE supported hardware platforms, StartUp directly jumps to the KernelStart function as the DRAM or cache is already set up by the boot loader.
  2. Calls KernelStart to perform the following functions:
    1. Set up the MMU
    2. Locate pTOC
    3. Initialize globals
    4. Locate the entry point of Kernel.dll based on pTOC, and then jump to this location

Kernel.dll

As soon as the system enters Kernel.dll, the first thing it does is locate the OEMInitGlobals function, which is exported by Oal.exe.

Calling the OEMInitGlobals function exchanges global pointers between Oal.exe and Kernel.dll. From this point, the kernel has access to all the functions and data defined in OEMGLOBAL and can then proceed with the regular kernel bootup process that was in earlier versions of Windows Embedded CE.

See Also

Concepts

BSP Implementation Guide