examples/power: add host channel to power manager
authorDavid Hunt <david.hunt@intel.com>
Wed, 17 Oct 2018 13:05:29 +0000 (14:05 +0100)
committerThomas Monjalon <thomas@monjalon.net>
Fri, 26 Oct 2018 08:51:04 +0000 (10:51 +0200)
commit3618326f6cc115506732dde30a5e774f180252fd
treecc4f5d86eeff19878cd15def989392cdbc3b4322
parent39701c19dd2f1748385d9546ccff97e845a6575b
examples/power: add host channel to power manager

This patch adds a fifo channel to the vm_power_manager app through which
we can send commands and polices. Intended for sending JSON strings.
The fifo is at /tmp/powermonitor/fifo

Signed-off-by: David Hunt <david.hunt@intel.com>
Acked-by: Anatoly Burakov <anatoly.burakov@intel.com>
examples/vm_power_manager/channel_manager.c
examples/vm_power_manager/channel_manager.h
examples/vm_power_manager/channel_monitor.c
examples/vm_power_manager/main.c