zephyr/tests/kernel
Piotr Zięcik c45961daae power: Rework OS <-> Application interface
This commit simplifies OS <-> Application interface controlling power
management. In the previous approach application-based PM required
overriding sys_suspend() and sys_resume() functions. As these functions
actually implemented power state change, in such case application
basically had to provide own implementation of all PM-related stuff,
which was not portable and hard to maintain.

This commit changes this scheme: The sys_suspend() and sys_resume()
are now system functions while the application could either use
built-in power management policies or provide its own. All details
of power mode switching are now handled by the OS.

Also, this commit cleans up the Kconfig options related to system-level
power management grouping them under common CONFIG_SYS_PM_ prefix.

Signed-off-by: Piotr Zięcik <piotr.ziecik@nordicsemi.no>
2019-02-19 13:25:36 -05:00
..
arm_irq_vector_table drivers: nrf: Adjust clock_control and timer drivers for nRF9160 2019-01-21 10:13:34 +01:00
arm_runtime_nmi
boot_page_table x86: modify MMU APIs for multiple page tables 2019-02-14 12:46:36 -05:00
common tests: common: move irq_offload test to common 2019-02-05 20:40:07 -05:00
context boards: remove pulpino board 2019-01-31 22:47:18 -05:00
critical
device
early_sleep
fatal tests: fatal: refactor and add user mode tests 2019-02-15 09:48:37 -05:00
fifo
fp_sharing
gen_isr_table tests: kernel: gen_isr_table: Exclude platforms test isnt valid on 2019-02-12 15:35:29 -05:00
interrupt tests: kernel: interrupt: Exclude platforms test isnt valid on 2019-02-07 15:58:43 -05:00
lifo
mbox tests: Increase the stack size by CONFIG_TEST_EXTRA_STACKSIZE. 2019-01-16 06:12:33 -05:00
mem_heap/mheap_api_concept
mem_pool tests: convert to use app shared memory 2019-02-08 07:04:30 -05:00
mem_protect x86: implement interrupt stack trampoline 2019-02-14 12:46:36 -05:00
mem_slab tests: Increase the stack size by CONFIG_TEST_EXTRA_STACKSIZE. 2019-01-16 06:12:33 -05:00
mp
msgq/msgq_api userspace: remove APPLICATION_MEMORY feature 2019-02-08 07:04:30 -05:00
mutex userspace: remove APPLICATION_MEMORY feature 2019-02-08 07:04:30 -05:00
obj_tracing kernel: remove k_alert API 2019-01-16 21:34:07 -05:00
pending tests: Increase the stack size by CONFIG_TEST_EXTRA_STACKSIZE. 2019-01-16 06:12:33 -05:00
pipe userspace: remove APPLICATION_MEMORY feature 2019-02-08 07:04:30 -05:00
poll userspace: remove APPLICATION_MEMORY feature 2019-02-08 07:04:30 -05:00
profiling/profiling_api power: Rework OS <-> Application interface 2019-02-19 13:25:36 -05:00
queue userspace: remove APPLICATION_MEMORY feature 2019-02-08 07:04:30 -05:00
sched tests/kernel/schedule_api: Bump stack size and unify stacks 2019-02-08 14:49:39 -05:00
semaphore userspace: remove APPLICATION_MEMORY feature 2019-02-08 07:04:30 -05:00
sleep
smp
spinlock
stack userspace: remove APPLICATION_MEMORY feature 2019-02-08 07:04:30 -05:00
static_idt
threads userspace: remove APPLICATION_MEMORY feature 2019-02-08 07:04:30 -05:00
tickless tests: Increase the stack size by CONFIG_TEST_EXTRA_STACKSIZE. 2019-01-16 06:12:33 -05:00
timer tests/kernel/timer_api: Synchronize racy subtest 2019-01-03 12:29:02 -05:00
workq userspace: remove APPLICATION_MEMORY feature 2019-02-08 07:04:30 -05:00
xip boards: remove pulpino board 2019-01-31 22:47:18 -05:00