zephyr/kernel/unified
Ramesh Thomas c0cd7acf34 power_mgmt: Simplify _sys_soc_resume notification
_sys_soc_resume hook is over loaded to handle to different
scenarios. It is primarily called to notify exit of kernel idling
after PM operations. It is also used to notify exit from deep sleep.
This is very confusing and also makes the implementation of the
hook function very difficult because of very different conditions
involved in the 2 different use cases. Further, users may not require
either or both use cases depending of their custom boot flow and
power state handling. To simplify, create a separate hook for the
purpose of deep sleep exit notification. Use the existing one to
only notify kernel idling exit after PM operations.

Jira: ZEP-1256
Change-Id: I96350199a0fd37f16590c8ee5302a94a3d71b8ba
Signed-off-by: Ramesh Thomas <ramesh.thomas@intel.com>
2016-11-11 20:40:52 +00:00
..
include kernel: export k_sched_lock and k_sched_unlock. 2016-11-10 23:18:55 +00:00
Kconfig unified: dissociate system workqueue from common workqueue module 2016-11-04 22:39:54 +00:00
Makefile unified: dissociate system workqueue from common workqueue module 2016-11-04 22:39:54 +00:00
alert.c kernel: deprecate old init levels 2016-11-09 17:59:44 +00:00
atomic_c.c unified: move code from nanokernel into unified kernel 2016-10-10 00:46:40 +00:00
compiler_stack_protect.c unified: move code from nanokernel into unified kernel 2016-10-10 00:46:40 +00:00
device.c kernel: deprecate old init levels 2016-11-09 17:59:44 +00:00
errno.c kernel: remove old kernel support in v2 code 2016-11-07 11:34:18 -08:00
event_logger.c kernel: logger: move to unified kernel APIs 2016-11-09 23:01:42 +00:00
fifo.c kernel: deprecate old init levels 2016-11-09 17:59:44 +00:00
idle.c power_mgmt: Simplify _sys_soc_resume notification 2016-11-11 20:40:52 +00:00
init.c kernel: Treat aborting by main() as a fatal system error 2016-11-10 18:51:42 +00:00
int_latency_bench.c unified: move code from nanokernel into unified kernel 2016-10-10 00:46:40 +00:00
kernel_event_logger.c kernel_event_logger: fix _current.prio acces in __ASSERT() 2016-11-08 23:38:34 +00:00
legacy_offload.c kernel: deprecate old init levels 2016-11-09 17:59:44 +00:00
legacy_timer.c kernel: export k_sched_lock and k_sched_unlock. 2016-11-10 23:18:55 +00:00
lifo.c kernel: deprecate old init levels 2016-11-09 17:59:44 +00:00
mailbox.c kernel: deprecate old init levels 2016-11-09 17:59:44 +00:00
mem_pool.c kernel: export k_sched_lock and k_sched_unlock. 2016-11-10 23:18:55 +00:00
mem_slab.c kernel: deprecate old init levels 2016-11-09 17:59:44 +00:00
msg_q.c kernel: fix k_msgq_get/put() from ISR 2016-11-10 23:38:06 +00:00
mutex.c kernel: export k_sched_lock and k_sched_unlock. 2016-11-10 23:18:55 +00:00
pipes.c kernel: export k_sched_lock and k_sched_unlock. 2016-11-10 23:18:55 +00:00
sched.c kernel: add k_is_preempt_thread() 2016-11-10 23:18:56 +00:00
sem.c kernel: deprecate old init levels 2016-11-09 17:59:44 +00:00
stack.c kernel: deprecate old init levels 2016-11-09 17:59:44 +00:00
sys_clock.c kernel: don't directly use deprecated sys_tick_get APIs 2016-11-09 19:59:07 +00:00
system_work_q.c kernel: deprecate old init levels 2016-11-09 17:59:44 +00:00
thread.c kernel: export k_sched_lock and k_sched_unlock. 2016-11-10 23:18:55 +00:00
thread_abort.c unified: Finish adding thread monitoring support 2016-10-26 17:03:13 +00:00
timer.c kernel: deprecate old init levels 2016-11-09 17:59:44 +00:00
version.c unified: move code from nanokernel into unified kernel 2016-10-10 00:46:40 +00:00
work_q.c unified: dissociate system workqueue from common workqueue module 2016-11-04 22:39:54 +00:00