]> Zhao Yanbai Git Server - minix.git/commit
pm: notify readclock of reboot(RBT_POWEROFF) 99/699/2
authorThomas Cort <tcort@minix3.org>
Fri, 2 Aug 2013 14:10:59 +0000 (10:10 -0400)
committerThomas Cort <tcort@minix3.org>
Mon, 5 Aug 2013 14:23:00 +0000 (10:23 -0400)
commit1b95bbbfe97796bc3ce61a9152082c1b32521485
treefcefdec013cfafd6a80ba6ddea03a2452c57c079
parent6d7eff80230fb4b187175de975f60c82f04cb13f
pm: notify readclock of reboot(RBT_POWEROFF)

Some ARM chips handle power-off with RTC alarms. PM notifies
readclock (the driver for RTCs) about the impending power-off.
If the power-off mechanism is an RTC alarm, readclock will
set the alarm. If not, there is no effect.

Change-Id: Iee00066def2a0f742cdf0dbde8e32b376edf1b78
servers/pm/misc.c