Age | Commit message (Collapse) | Author | Files | Lines |
|
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>
|
|
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: Ib9f0dcc85e7182bf83ccabdf6add27f88463d1e3
Signed-off-by: Yunhee Seo <yuni.seo@samsung.com>
|
|
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: If15d94024ba1db89912c9787da870bcfd60424e3
Signed-off-by: Yunhee Seo <yuni.seo@samsung.com>
|
|
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>
|
|
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>
|
|
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>
|
|
To apply HAL ABI versioning, major/minor_version is added.
Also, as removed abi_version policy, abi_version variable is removed.
Change-Id: I9b71d6ddafb208656b5f0c039ad14620def17c35
Signed-off-by: Yunhee Seo <yuni.seo@samsung.com>
|
|
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: If132c3151d89c68df12c65b09657555474684a5e
Signed-off-by: Yunhee Seo <yuni.seo@samsung.com>
|
|
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: Iad720bed5f1b958e3d03efbdb3b624148b75715c
Signed-off-by: Yunhee Seo <yuni.seo@samsung.com>
|
|
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: I87306793816c393fc2db451bafc1e09bb4eec202
Signed-off-by: Yunhee Seo <yuni.seo@samsung.com>
|
|
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: I93fa3ebf9b8473ca4067ce6f54cc9f97bc79b1a9
Signed-off-by: Yunhee Seo <yuni.seo@samsung.com>
|
|
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: Ia8b2499864154b0e469d15863d688c49f565374d
Signed-off-by: Yunhee Seo <yuni.seo@samsung.com>
|
|
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: I8162957b1006a2d03763c0fd2733a318ed90ae1a
Signed-off-by: Yunhee Seo <yuni.seo@samsung.com>
|
|
As the header files installation path below hal-api-device module is changed,
the inclusion path is also changed.
Change-Id: Ia6c8eb41578cefb81130c91686714c712b976503
Signed-off-by: Yunhee Seo <yuni.seo@samsung.com>
|
|
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: I748637f754972b5f77e6587d4158d0e0fd1fdd1d
Signed-off-by: Youngjae Cho <y0.cho@samsung.com>
|
|
Change-Id: I0dad1094b2dc37d3a14a4e21b630d8ea5a3c8f65
Signed-off-by: Youngjae Cho <y0.cho@samsung.com>
|
|
Change-Id: Ib984846ff7d0fd877978bf7db9a05aa9438906c3
Signed-off-by: Youngjae Cho <y0.cho@samsung.com>
|
|
Change-Id: I1e4daffb5bdab53f02cf8dec4976d92da87348cf
|
|
Change-Id: Iff79b89c0146e407bdf31ac4a6e3e2abd357f907
Signed-off-by: Youngjae Cho <y0.cho@samsung.com>
|
|
Change-Id: Ib7303ad9f8fdac2784e94285149b20ec0286b732
Signed-off-by: Youngjae Cho <y0.cho@samsung.com>
|
|
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: Ic9b4cedce88c888a9925264cfd22ff3504ee5193
Signed-off-by: Youngjae Cho <y0.cho@samsung.com>
|
|
Change-Id: I5a4afe0891e13fb5e81bec91b7b10da0ba9609af
Signed-off-by: Youngjae Cho <y0.cho@samsung.com>
|
|
Change-Id: Idd5e0e66079d57694c50bba3d4bd6917368f9bb7
Signed-off-by: Hyotaek Shim <hyotaek.shim@samsung.com>
|
|
|