pass: hal: Replace HAL interface with hal-api-power 55/251355/5
authorChanwoo Choi <cw00.choi@samsung.com>
Wed, 6 Jan 2021 04:55:33 +0000 (13:55 +0900)
committerYunmi Ha <yunmi.ha@samsung.com>
Wed, 13 Jan 2021 08:26:10 +0000 (17:26 +0900)
commit469051e30f8207d2067b8354de3bb226cd62dc4e
treed76fef0b8010b7c50b72599951993d8f9230a92c
parent5c6f41ca4f0072f0349edadce148241ff636039d
pass: hal: Replace HAL interface with hal-api-power

Tizen 6.5 provides new HAL API layer to make tizen porting easy.
Power HAL API (hal-api-power) provides HAL C API for controlling
the h/w resources such as CPU/GPU/Memory Bus/Memory devices
and provides HAL interface for HAL backend developer for using
Tizen platform on new h/w device. PASS daemon just calls the Power HAL
API without handling the HAL backend anymore.

Describe the detailed changes as following:
1. Remove self-defined HAL functions and don't open HAL backend library
directly. Instead, use hal-api-power to control the h/w resources.
PASS deamon doesn't need to handle the HAL backend library anymore.

2. Remove pass-hal-devel package because of moving HAL interface
defintion (src/hal/hal.h) into hal-api-power (hal-power-interface.h).

3. Change the open path of pass configuration files.
- /etc/pass/ -> /hal/etc/pass/

Change-Id: I73a1c29c7af000335021faac62157b5342065682
Signed-off-by: Chanwoo Choi <cw00.choi@samsung.com>
15 files changed:
CMakeLists.txt
include/pass/hal/hal.h [deleted file]
packaging/pass.spec
src/hal/CMakeLists.txt [deleted file]
src/hal/hal-log.h [deleted file]
src/hal/hal.c [deleted file]
src/pass/pass-hal.c
src/pass/pass-hal.h
src/pass/pass-parser.c
src/pass/pass-resmon.c
src/pass/pass-thermal.c
src/pass/pass.c
systemd/pass.service.in [moved from systemd/pass.service with 84% similarity]
unittest/CMakeLists.txt
unittest/pass_haltests.cpp