Hi

Has anybody thought of extending the functionality available in kernel/
drivers/rtc/alarm.c regarding allowing kernel drivers to use the
utility to be notified when a certain time has elapsed although the
CPU the kernel is running on is power collapsed?

One could for example have a device that uses a HW watchdog that needs
to be kicked periodically to keep certain functionality running. The
idea is to wake the CPU up periodically from RTC and then perform a
watchdog kick and then let the CPU go down again.

I am aware that the alarm.c only interfaces user-space today and that
there is an alarm manager in Java that sorts the time that should wake
up the CPU nearest in future. I was thinking to add similar to the
kernel where this new part sorts the time requested by user-space and
time requested by kernel drivers and set the time nearest in future to
expire to the RTC.

If this idea is "no way this is stupid and how could you even think
like this" can you recommend any other method that might work?

Br
Imre

-- 
unsubscribe: [email protected]
website: http://groups.google.com/group/android-kernel

To unsubscribe from this group, send email to 
android-kernel+unsubscribegooglegroups.com or reply to this email with the 
words "REMOVE ME" as the subject.

Reply via email to