One
When the bootloader boot task is complete, the kernel kernel takes over the control of the CPU, and the CPU execution jumps to the kernel's entry function Kernelstart. Kernelstart is responsible for configuring the virtual Memory Manager, initializing the interrupt vector table, and then kernelstart down the HAL (Hardware abstraction Layer) to execute the Oeminit routine.
Two
Oeminit is provided by the OEM. Oeminit's job is to initialize the OEM hardware, including suspending interrupts, initializing the interrupt vector table, and so on. Oeminit calls Initclock () to set the clock as the tick clock for the operating system. Call Initdisplay () to initialize the LCD.
Three
When Oeminit returns, the kernel will callback the HAL to ask the system if there is additional memory available (this is an optional procedure).
Four
When the system starts, the 4 most important processes are started by default: Nk.exe,filesys.exe,,device.exegwes.exe.
Filesys.exe will use the initialized file system, or create a file system, and will also create the default database image and the default registry.
Five
Once the Filesys initialization is complete, the system initialization is possible. At this point, the kernel needs to wait for data from the registry to continue booting the system.
Six
The next loaded module is Device.exe. The function of this module is to load and manage the drivers for the installable devices in the system.
Seven
The next module to be loaded is gwes.exe. Includes GWe subsystem, graphics window, and event manager.
By this point, as the operating system, Windows CE will start to start up and run.
Windows CE operating system start-up process