platform/hal/backend/power-generic.git
3 months agoUse hal-rootstrap package for build and change hal_backend_power_funcs memory allocat... 96/314796/2 accepted/tizen_unified accepted/tizen_unified_dev accepted/tizen_unified_toolchain accepted/tizen_unified_x accepted/tizen_unified_x_asan accepted/tizen/unified/20240722.104257 accepted/tizen/unified/dev/20240724.110132 accepted/tizen/unified/toolchain/20240812.133330 accepted/tizen/unified/x/20240723.043611 accepted/tizen/unified/x/asan/20240813.231810
Chanwoo Choi [Fri, 19 Jul 2024 07:48:45 +0000 (16:48 +0900)]
Use hal-rootstrap package for build and change hal_backend_power_funcs memory allocation/free

hal-roostrap package contains the allowed and maintained files
to build hal-backend package. In order to keep ABI (Application Binary
Interface) compatibility between platfrom and hal image,
must use only hal-rootstrap pacakge for build.

And chagnge the memory allocation/free way of hal_backend_power_funcs
in order to support new 1-platform Multi-HAL Interface approach.

Change-Id: Ib4d03086837a167b06a207d4d25d474a7916fac5
Signed-off-by: Chanwoo Choi <cw00.choi@samsung.com>
16 months agopower-generic: Add read permission for others group 92/293192/1 accepted/tizen_8.0_unified accepted/tizen_unified_riscv tizen_8.0 accepted/tizen/8.0/unified/20231005.094459 accepted/tizen/unified/20230808.074058 accepted/tizen/unified/dev/20240620.010516 accepted/tizen/unified/riscv/20230808.035957 tizen_8.0_m2_release
Chanwoo Choi [Mon, 22 May 2023 09:42:56 +0000 (18:42 +0900)]
power-generic: Add read permission for others group

Change-Id: I2b545063cf05b1ec7424e15a6f870be55bfb8d1b
Signed-off-by: Chanwoo Choi <cw00.choi@samsung.com>
2 years agopower-generic: Add helper function to get_value and set_value 12/277712/4 accepted/tizen_7.0_unified_hotfix tizen_7.0_hotfix accepted/tizen/7.0/unified/20221110.063453 accepted/tizen/7.0/unified/hotfix/20221116.110411 accepted/tizen/unified/20220715.141322 submit/tizen/20220714.022424 tizen_7.0_m2_release
Jaehoon Chung [Tue, 12 Jul 2022 08:03:32 +0000 (17:03 +0900)]
power-generic: Add helper function to get_value and set_value

Almost functions were implemented similarly. It means that
it is possible to be replaced with the some helper function.

When using the following get_value and set_value functions,
reduce the duplicate code and simplify the operaiont of getting/setting
value from the specific file path.

[Added function description]
- int get_value_string(char *prefix, char *res_name, char *suffix, char *buf)
- int set_value_string(char *prefix, char *res_name, char *suffix, char *buf)
- int get_value_integer(char *prefix, char *res_name, char *suffix, int *value)
- int set_value_integer(char *prefix, char *res_name, char *suffix, int value)
- int get_path(char *path, char *prefix, char *res_name, char *suffix)

Change-Id: I4031d39a1440b51caad8acaa51184c6ccbb69ecb
Signed-off-by: Jaehoon Chung <jh80.chung@samsung.com>
2 years agopower-generic: Fix cmakefile
Chanwoo Choi [Wed, 16 Mar 2022 20:03:47 +0000 (05:03 +0900)]
power-generic: Fix cmakefile

Change-Id: I3dd92c292b5e44d4f7bb995ce597a85c776aab65
Signed-off-by: Chanwoo Choi <cw00.choi@samsung.com>
2 years agopower-generic: Add hal-backend-power-generic hal backend accepted/tizen/unified/20220302.131822 submit/tizen/20220302.061218
Chanwoo Choi [Wed, 2 Mar 2022 05:30:40 +0000 (14:30 +0900)]
power-generic: Add hal-backend-power-generic hal backend

Change-Id: I80578a371af061bd125102a814094f6dafaf4bf5
Signed-off-by: Chanwoo Choi <cw00.choi@samsung.com>
2 years agoInitial empty repository master
Tizen Infrastructure [Mon, 10 Jan 2022 01:01:08 +0000 (01:01 +0000)]
Initial empty repository