summaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2024-07-24util: Add handling code to safely read and write arraystizen_9.0_m2_releaseaccepted/tizen/unified/dev/20240729.000901accepted/tizen/unified/20240725.155018accepted/tizen/9.0/unified/20241031.000146tizen_9.0tizenaccepted/tizen_unified_devaccepted/tizen_unifiedaccepted/tizen_9.0_unifiedYunhee Seo1-12/+12
There was a missing code for handling the null character so that it doesn't exceed the array size when reading and storing strings. The code has been modified to handle the array safely. To avoid overflow issue, this is necessary. Change-Id: Ib75301a07906391c57fb739ef3399ff211cd1503 Signed-off-by: Yunhee Seo <yuni.seo@samsung.com>
2024-07-02Use only hal-rootstrap package to buildaccepted/tizen/unified/dev/20240704.065626accepted/tizen/unified/20240703.100116Yunhee Seo16-39/+214
As support hal-abi-versioning, the hal-backend package should be built using only the hal-rootstrap. Other packages not included in the hal-roostrap have been deleted to remove dependencies. util is added to replace functions of dlog and libsyscommon package. Change-Id: Ie478da1afe4dc6dca876d521ebb2a8e501f732fb Signed-off-by: Yunhee Seo <yuni.seo@samsung.com>
2024-04-24Remove free data section when the module exitsaccepted/tizen/unified/dev/20240620.010526accepted/tizen/unified/20240614.085003Yunhee Seo6-21/+0
In the hal backend module, when the moudle exits, the hal_backend_[module]_funcs was handled from [module]_exit function. The data parameter is handed over from hal-api-common put_backend function. And data is pointing to hal_backend_[module]_funcs, and free by hal-backend module. As memory release operation moves to the hal-api-device side, also double free operation is useless, thus it is deleted from hal-backend. Change-Id: I43d1043df40cad6ddf97569f13ede1f2b2afd184 Signed-off-by: Yunhee Seo <yuni.seo@samsung.com>
2024-04-22memory: Apply HAL ABI versioningYunhee Seo1-10/+13
While applying HAL ABI versioning, hal_backend_[module]_funcs is allocated from hal-api-[module] side. Thus, allocation is moved to hal-api-device-memory side. Also, wrong module name is fixed and hal interface inclusion path is changed. "memory" -> "device-memory" Change-Id: Ibc48399e2ead7ffcd8aa5f2e1169ba699682eb16 Signed-off-by: Yunhee Seo <yuni.seo@samsung.com>
2024-04-19touchscreen: Apply HAL ABI versioningYunhee Seo1-14/+17
While applying HAL ABI versioning, hal_backend_[module]_funcs is allocated from hal-api-[module] side. Thus, allocation is moved to hal-api-device-touchscreen side. Also, wrong module name is fixed and hal interface inclusion path is changed. "touchscreen" -> "device-touchscreen" Change-Id: I6776398dcfa8c36c5749e284ba673e0da08b70d9 Signed-off-by: Yunhee Seo <yuni.seo@samsung.com>
2024-04-19thermal: Apply HAL ABI versioningYunhee Seo1-14/+17
While applying HAL ABI versioning, hal_backend_[module]_funcs is allocated from hal-api-[module] side. Thus, allocation is moved to hal-api-device-thermal side. Also, wrong module name is fixed and hal interface inclusion path is changed. "thermal" -> "device-thermal" Change-Id: I89caa12d62873b1fcd7d478699cb201d0f44db21 Signed-off-by: Yunhee Seo <yuni.seo@samsung.com>
2024-04-15Work in advance to apply HAL ABI versioningYunhee Seo6-6/+6
To apply HAL ABI versioning, major/minor_version is added. Also, as removed abi_version policy, abi_version variable is removed. Change-Id: I5cea9c23b06c4ca0676a8b3c6bf6dcb42853f163 Signed-off-by: Yunhee Seo <yuni.seo@samsung.com>
2024-04-09haptic: Apply HAL ABI versioningYunhee Seo1-6/+11
To support OS upgrade feature, hal-backend and hal-api module needs HAL ABI versioning. So, major/minor version is added to hal_backend structure. While applying HAL ABI versioning, hal_backend_[module]_funcs is allocated from hal-api-[module] side. Thus, allocation is moved to hal-api-device-haptic side. Change-Id: I829b1d489d5b0cd68af532c091a8272b3484e72d Signed-off-by: Yunhee Seo <yuni.seo@samsung.com>
2024-04-09haptic: Fix incorrect module namingYunhee Seo1-11/+11
According to HAL API Prototype rule, hal module funcs structure naming should be hal_backend_[module]_funcs. However, the hal module name was being used incorrectly. Actual module name is not "haptic" but "device-haptic". Change-Id: Ic768551603aaa7326153bf3d747ecbc331aa20ff Signed-off-by: Yunhee Seo <yuni.seo@samsung.com>
2024-04-09board: Apply HAL ABI versioningYunhee Seo1-4/+9
To support OS upgrade feature, hal-backend and hal-api module needs HAL ABI versioning. So, major/minor version is added to hal_backend structure. While applying HAL ABI versioning, hal_backend_[module]_funcs is allocated from hal-api-[module] side. Thus, allocation is moved to hal-api-device-board side. Change-Id: If82611ec5ec3ea57984c8be36cd2d406e6b5516d Signed-off-by: Yunhee Seo <yuni.seo@samsung.com>
2024-04-09board: Fix incorrect module namingYunhee Seo1-6/+6
According to HAL API Prototype rule, hal module funcs structure naming should be hal_backend_[module]_funcs. However, the hal module name was being used incorrectly. Actual module name is not "board" but "device-board". Change-Id: I98c8f7e2999c9235428e4bacd482db5ad9b481d7 Signed-off-by: Yunhee Seo <yuni.seo@samsung.com>
2024-04-09display: Apply HAL ABI versioningYunhee Seo1-4/+9
To support OS upgrade feature, hal-backend and hal-api module needs HAL ABI versioning. So, major/minor version is added to hal_backend structure. While applying HAL ABI versioning, hal_backend_[module]_funcs is allocated from hal-api-[module] side. Thus, allocation is moved to hal-api-device-display side. Change-Id: I1226a6de4f05b899a338e852caed0db30fd2e140 Signed-off-by: Yunhee Seo <yuni.seo@samsung.com>
2024-04-09display: Fix incorrect module namingYunhee Seo1-8/+8
According to HAL API Prototype rule, hal module funcs structure naming should be hal_backend_[module]_funcs. However, the hal module name was being used incorrectly. Actual module name is not "display" but "device-display". Change-Id: I9a62c21d598773c6fb98b8fa5e875c0b17b56bd3 Signed-off-by: Yunhee Seo <yuni.seo@samsung.com>
2024-04-09Change header file inclusion pathYunhee Seo6-6/+6
As the header files installation path below hal-api-device module is changed, the inclusion path is also changed. Change-Id: If47b886e6ce22b651c877a9a99642955b1a285dd Signed-off-by: Yunhee Seo <yuni.seo@samsung.com>
2022-05-02usb-gadget: remove usb-gadget and add configuration filetizen_8.0_m2_releasetizen_7.0_m2_releasesubmit/tizen/20220525.001052accepted/tizen/unified/20220526.143950accepted/tizen/8.0/unified/20231005.094516accepted/tizen/7.0/unified/hotfix/20221116.110427accepted/tizen/7.0/unified/20221110.063610tizen_8.0tizen_7.0_hotfixtizen_7.0accepted/tizen_8.0_unifiedaccepted/tizen_7.0_unified_hotfixaccepted/tizen_7.0_unifiedYoungjae Cho5-100/+23
The actual operation of usb-gadget is no more hal dependent. Instead, the deviced is now in charge of running usb-gadget. The hal backend has changed to provide only target specific usb-gadget configurations. If there is no target specific configurations, deviced runs usb-gadget with default configurations. Change-Id: I62cc495240913e7447a16c7cf09a70f68bef7a70 Signed-off-by: Youngjae Cho <y0.cho@samsung.com>
2022-02-15Update ABI versionsubmit/tizen/20220308.032646submit/tizen/20220222.024249accepted/tizen/unified/20220310.120912Youngjae Cho7-7/+7
Change-Id: I907821f449384bfced08dfdaf73fcd0a96e59aa6 Signed-off-by: Youngjae Cho <y0.cho@samsung.com>
2022-02-07display: brightness control is not supportedsubmit/tizen/20220208.075544Youngjae Cho1-0/+12
Change-Id: I4d840034d819e248116a6b78c41109722fccc4de Signed-off-by: Youngjae Cho <y0.cho@samsung.com>
2021-12-20spec: Add "ExclusiveArch: %{arm} aarch64"submit/tizen/20211220.071509accepted/tizen/unified/20211220.133604INSUN PYO1-0/+1
Change-Id: I6b72953e1844c0daac39f80d00ea64ca46d763d9
2021-08-02thermal: rename device_thermal_e to hal_device_thermal_etizen_6.5.m2_releasesubmit/tizen_6.5/20211028.163201submit/tizen/20210802.064402accepted/tizen/unified/20210804.085652accepted/tizen/6.5/unified/20211028.115751Youngjae Cho1-2/+2
Change-Id: I1c676693908b1ab87e090ef7c6e9d7df4fd83f3c Signed-off-by: Youngjae Cho <y0.cho@samsung.com>
2021-06-18board: fix parameter of get_deviec_serial_number()submit/tizen/20210618.075427accepted/tizen/unified/20210621.123237Youngjae Cho1-17/+9
Change-Id: Ib7303ad9f8fdac2784e94285149b20ec0286b732 Signed-off-by: Youngjae Cho <y0.cho@samsung.com>
2021-06-17Add libsyscommon to required package to provide linker flagYoungjae Cho2-2/+2
For haltest, it cannot run by itself because it is not able to resolve sys_get_int() symbol of libsyscommon. Therefore, provide ldflag to locate libsyscommon.so Change-Id: Idc7c9af42aee50dcdba3bf2c8731db81e1c4dbc8 Signed-off-by: Youngjae Cho <y0.cho@samsung.com>
2021-06-14board: renaming get_device_serial_numbersubmit/tizen/20210614.021455accepted/tizen/unified/20210615.120407Youngjae Cho1-2/+2
Change-Id: Id9a20fa28abc7da7c725fdaf4244eb7116728707 Signed-off-by: Youngjae Cho <y0.cho@samsung.com>
2021-06-04Change board to use /proc/cpuinfosubmit/tizen/20210604.100157accepted/tizen/unified/20210607.011712Hyotaek Shim7-21/+78
Change-Id: Ib295ff76ba4031190adb8410e7302b1cc1d8f113 Signed-off-by: Hyotaek Shim <hyotaek.shim@samsung.com>
2021-06-04InitializationHyotaek Shim18-0/+1432
Change-Id: I60f42bbb5bc0d9dfdc55ac8a29bd3ec6be1c8bc4 Signed-off-by: Hyotaek Shim <hyotaek.shim@samsung.com>
2021-06-04Initial empty repositoryHEADsubmit/tizen/20220208.052553masterTizen Infrastructure0-0/+0