kernel_liteos_a/kernel/include
zhushengle 64e49aba7c feat: 支持L1 低功耗框架
方案描述:
   和L0保持一致,上层通过proc文件系统操作:
   power_mode  支持的低功耗模式,通过对该文件进行write操作可以设置低功耗模式
   power_count powermanager模块通过对该文件操作,和内核进行交互,简要流程如下:
     while (1) {
       open  // 打开该文件
       read  // 使powermanager低功耗任务常阻塞,当系统无任何模块持锁时,会唤醒该任务
       write // 进行低功耗流程
       close // 关闭该文件
     }
   power_lock    write该文件,持锁
   power_unlock  writw该文件,释放锁

Close #I4JSO

Change-Id: I73fcdeeb5e2039484b3351a81b46a0892b349fe9
Signed-off-by: zhushengle <zhushengle@huawei.com>
2021-11-29 11:58:47 +08:00
..
los_base.h fix: fix stored typo 2021-05-21 10:16:04 +08:00
los_bitmap.h chore: update LOS_BitmapFfz comment 2021-06-22 10:22:46 +08:00
los_builddef.h refactor: 内核目录结构整理 2021-09-08 16:36:28 +08:00
los_cppsupport.h remove __cplusplus guards in .c files 2021-04-19 18:28:25 +08:00
los_cpup.h update openharmony 1.0.1 2021-03-11 18:43:57 +08:00
los_err.h feat: 支持L1 低功耗框架 2021-11-29 11:58:47 +08:00
los_errno.h update openharmony 1.0.1 2021-03-11 18:43:57 +08:00
los_event.h chore: fix typos 2021-06-16 14:52:06 +08:00
los_hash.h update openharmony 1.0.1 2021-03-11 18:43:57 +08:00
los_hook.h feat: L0-L1 支持Trace 2021-08-31 20:29:45 +08:00
los_init.h refactor: 内核目录结构整理 2021-09-08 16:36:28 +08:00
los_ld_elflib.h update openharmony 1.0.1 2021-03-11 18:43:57 +08:00
los_list.h fix: update LOS_DL_LIST_IS_END comment 2021-06-15 17:16:41 +08:00
los_lms.h feat: L0~L1 支持Lms 2021-11-27 11:13:41 +08:00
los_lockdep.h chore: 修复社区反馈问题Percpu结构体注释错误 2021-11-10 10:20:33 +08:00
los_membox.h chore: 修复内存模块的一些不规范用语 2021-11-02 12:01:59 +08:00
los_memory.h chore: 修复内存模块的一些不规范用语 2021-11-02 12:01:59 +08:00
los_mp.h feat: L0-L1 支持Perf 2021-09-28 19:28:34 +08:00
los_mux.h remove __cplusplus guards in .c files 2021-04-19 18:28:25 +08:00
los_perf.h feat: L0-L1 支持Perf 2021-09-28 19:28:34 +08:00
los_pm.h feat: 支持L1 低功耗框架 2021-11-29 11:58:47 +08:00
los_printf.h refactor: 内核目录结构整理 2021-09-08 16:36:28 +08:00
los_process.h feat: 支持killpg和waitid 2021-08-12 18:06:55 +08:00
los_queue.h fix: fix length typo 2021-05-18 14:33:59 +08:00
los_rwlock.h remove __cplusplus guards in .c files 2021-04-19 18:28:25 +08:00
los_sem.h IssueNo:#I3HGTM 2021-04-09 10:44:13 +08:00
los_smp.h fix: smp启动代码解耦及内存映射关系解耦 2021-08-05 16:03:43 +08:00
los_spinlock.h refactor: 对LiteOS_a内核中menuconfig开关的宏使用#ifdef/#ifndef做预编译处理 2021-07-01 09:08:18 +08:00
los_swtmr.h chore: 修复社区反馈问题Percpu结构体注释错误 2021-11-10 10:20:33 +08:00
los_sys.h update openharmony 1.0.1 2021-03-11 18:43:57 +08:00
los_tables.h remove __cplusplus guards in .c files 2021-04-19 18:28:25 +08:00
los_task.h feat: 支持LOS_TaskJoin 和 LOS_TaskDetach 2021-10-19 14:26:10 +08:00
los_tick.h update openharmony 1.0.1 2021-03-11 18:43:57 +08:00
los_toolchain.h fix: remove redundant headfile 2021-06-19 17:32:47 +08:00
los_trace.h chore: 修复社区反馈问题Percpu结构体注释错误 2021-11-10 10:20:33 +08:00
los_typedef.h chore: replace YES/NO macros to 1/0 2021-11-16 01:27:06 +08:00