openharmony_kernel_liteos_a/kernel/extended
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
..
blackbox Modify folder and file permissions 2021-11-04 14:50:42 +08:00
cppsupport refactor: 清理Makefile冗余项 2021-09-13 18:14:15 +08:00
cpup feat: 进程cpup占用率结构优化为动态分配 2021-11-02 19:57:26 +08:00
dynload !709 A核代码静态告警定期清理 2021-11-16 06:47:22 +00:00
hidumper refactor: 清理Makefile冗余项 2021-09-13 18:14:15 +08:00
hilog Description:[fix] clean hilog/hievent ring buffer after memory verification failed 2021-10-22 17:00:10 +08:00
hook chore: 修复社区反馈问题Percpu结构体注释错误 2021-11-10 10:20:33 +08:00
liteipc !710 清理YES/NO宏 2021-11-18 09:32:42 +00:00
lms feat: L0~L1 支持Lms 2021-11-27 11:13:41 +08:00
perf feat: L0-L1 支持Perf 2021-09-28 19:28:34 +08:00
pipes refactor: 清理Makefile冗余项 2021-09-13 18:14:15 +08:00
power feat: 支持L1 低功耗框架 2021-11-29 11:58:47 +08:00
trace !709 A核代码静态告警定期清理 2021-11-16 06:47:22 +00:00
vdso refactor: 清理Makefile冗余项 2021-09-13 18:14:15 +08:00
BUILD.gn feat: 支持L1 低功耗框架 2021-11-29 11:58:47 +08:00
Kconfig feat: L0~L1 支持Lms 2021-11-27 11:13:41 +08:00