OAL StartUp Function Implementation

The source file, located in %_WINCEROOT%\Platform\<Platform>\Kernel\Buildexe\<Kernel Type>, specifies the startup function of the kernel with the assignment EXEENTRY=StartUp. The StartUp function specified is executed either by a jump from the boot loader or through the CPU reset vector.

The StartUp function has the following two purposes:

  • It initializes the CPU to a known state.

    For more information about initializing the CPU, see CPU Initialization.

  • It calls the kernel initialization function, which takes no parameters.

    For more information about initializing the kernel, see Kernel Initialization.

For sample implementations of the StartUp and OAL initialization functions, see %_WINCEROOT%\Platform\<Platform>\Kernel\Hal\<Microprocessor>.

For information about the implementation details for the StartUp function during the boot loader development process, see Implementing the Boot Loader StartUp Function.

See Also

How to Develop an OEM Adaptation Layer | How to Develop a Boot Loader

Last updated on Wednesday, April 13, 2005

© 2005 Microsoft Corporation. All rights reserved.