歡迎來到Linux教程網
Linux教程網
Linux教程網
Linux教程網
Linux教程網 >> Linux基礎 >> 關於Linux >> moblin Power Policy Manager的移植

moblin Power Policy Manager的移植

日期:2017/2/25 12:03:53   编辑:關於Linux

  

  參考網址:http://v1.moblin.org/projects/projects_ppm.php

  1.PPM consists of four main components:

  policy definition files

  policy and layer parser & interpreter (that is, Macro Policy Engine)

  Micro Policy Engine

  D-Bus service

  2.framework

  1)policy request logic(policy definition files和policy and layer parser & interpreter)把每種策略都定義成為一個文件,方便切換,自定義每種策略。

  2)Micro Policy Engine,一種簡單的設計,把每一個操作實體(cpu, lcd)當作一個組件, 方便添加和刪除,event通過string來傳遞,為每個組件提供最大的靈活性。

  3)硬件接口 Micro Policy Engine底層的實現是依賴於D-Bus service和kernel的,如果沒什麼特別需求,我們大可以轉成我們的自定義接口去實現。plugins目錄就是我們需要移植的地方。

Copyright © Linux教程網 All Rights Reserved