CPU Initialization
This is the OEM hardware initialization code where you set up ROM and DRAM access to get the minimum CPU running. For sample hardware initialization code, see x86 Kernel.
When the StartUp function is called, the boot loader may already have initialized some of the hardware. OAL StartUp must be flexible enough to handle this situation. For example, it may be safe to initialize some hardware twice, while other hardware must not be reinitialized.
During execution of the StartUp function, you must initialize the CPU and put the CPU into a known state before calling the kernel initialization function.
The following topics detail processor-specific StartUp considerations:
To ensure that the kernel is successful in completing StartUp, include some debug support, based on the SDB support, to show the progress through StartUp such as with LEDs or serial output.
See Also
Kernel Initialization | OAL StartUp Function Implementation | How to Develop an OEM Adaptation Layer
Last updated on Wednesday, April 13, 2005
© 2005 Microsoft Corporation. All rights reserved.