Книга: Microsoft Windows Embedded CE 6.0 Exam Preparation Kit

Waking Up from Suspend State

Waking Up from Suspend State

When a pre-configured interrupt wakes up the system, the associated ISR runs and returns to the OEMPowerOff routine. On returning from this function, the system goes through the resume sequence, which includes the following steps:

1. OEMPowerOff re-configures interrupts to original state and returns.

2. Kernel:

 a. Calls InitClock to re-initialize the system timer.

 b. Starts Filesys.exe with power on notification.

 c. Starts GWES with power on notification.

 d. Re-initializes KITL interrupt if it was in use.

3. Power Manager calls FileSystemPowerFunction with power on notification.

4. GWES:

 a. Restores video memory from RAM.

 b. Powers on Windows Manager.

 c. Sets the display contrast.

 d. Shows startup UI if required.

 e. Notifies Taskbar of resume.

 f. Notifies User Subsystem.

 g. Triggers applications as required.

NOTE

Registering wakeup sources

If the OAL supports the kernel IOCTL_HAL_ENABLE_WAKE, applications can register wake up sources. For detailed information, see the section "IOCTL_HAL_ENABLE_WAKE" in the Windows Embedded CE 6.0 Documentation, available on the Microsoft MSDN Web site at http://msdn2.microsoft.com/en-us/library/aa914884.aspx.

Оглавление книги

Оглавление статьи/книги

Генерация: 1.422. Запросов К БД/Cache: 3 / 1
поделиться
Вверх Вниз