Last Update: "2004/07/31 23:17:31 makoto"
acpi.c
acpi_enter_sleep_state
1361 /*
1362 * After the _PTS method has been evaluated, we can
1363 * enable wake and evaluate _PSW (ACPI 4.0, p. 284).
1364 */
1365 acpi_wakedev_commit(sc, state);
1366
1367 sc->sc_sleepstate = state;
1368
1369 if (state == ACPI_STATE_S1) {
....
1403 } else {
1404
1405 (void)acpi_md_sleep(state);
(sleep here) -> (and waking up)
1406
1407 if (state == ACPI_STATE_S4)
1408 AcpiEnable();
1409
1410 (void)pmf_system_bus_resume(PMF_Q_NONE);
1411 (void)AcpiLeaveSleepState(state);
1412 (void)AcpiSetFirmwareWakingVector(0);
1413 (void)pmf_system_resume(PMF_Q_NONE);
1414 }
1415
1416 /*
1417 * No wake GPEs should be enabled at runtime.
1418 */
1419 acpi_wakedev_commit(sc, ACPI_STATE_S0);
1420 break;
1421
|