openharmony_kernel_liteos_a/kernel/base
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
..
core feat: 支持L1 低功耗框架 2021-11-29 11:58:47 +08:00
include feat: 支持L1 低功耗框架 2021-11-29 11:58:47 +08:00
ipc chore: 修复社区反馈问题Percpu结构体注释错误 2021-11-10 10:20:33 +08:00
mem feat: L0~L1 支持Lms 2021-11-27 11:13:41 +08:00
misc chore: replace YES/NO macros to 1/0 2021-11-16 01:27:06 +08:00
mp chore: 修复社区反馈问题Percpu结构体注释错误 2021-11-10 10:20:33 +08:00
om remove __cplusplus guards in .c files 2021-04-19 18:28:25 +08:00
sched/sched_sq feat: 支持L1 低功耗框架 2021-11-29 11:58:47 +08:00
vm !706 fix: 修复los_vm_scan.c中内部函数OsInactiveListIsLow冗余代码 2021-11-16 00:48:50 +00:00
BUILD.gn chore(build): format all BUILD.gn files 2021-11-06 11:55:58 +08:00
Makefile refactor: 清理Makefile冗余项 2021-09-13 18:14:15 +08:00