Commit Graph

3 Commits

Author SHA1 Message Date
Roberto Pereira 8b91ad3b1e ql-tipc: sysdeps: Change memory allocation to be page based
Changed trusty_membuf_alloc and trusty_membuf_free to trusty_alloc_pages and
trusty_free_pages. The memory allocated by these functions is intended
to be shared with the secure world so it should be inherently page based.

Updated u-boot sysdeps and trusty_ipc_dev_create/shutdown to use these
new functions

Change-Id: Ica1aa5b0cb50eba6ce18914d048e731133d94c4f
2018-11-12 09:18:35 +08:00
Roberto Pereira dfd911856d ql-tipc: trusty_ipc: Change ipc polling to be per device
This allows ipc devices to provide service callbacks (e.g. rpmb) transparently
to the application instead of needing to have prior knowledge of the expected
request and having to poll the individual services' channels separately.

Change-Id: I3257ae5e429f4a0c279f070d750b56c5600c38d5
2018-11-12 09:18:35 +08:00
Haoran.Wang 0ccdd527a7 MLK-18591-4 android: iot: Import ql-tipc lib for Trusty OS
The lib provided ql-tipc communication channel with
Trusty OS.
Also the AVB, Keymaster and SecureStorage service
tipc client implement in this lib.

Change-Id: I0ab1ec9ee1b6f272b960c2e944008283c2c9249a
Signed-off-by: Haoran.Wang <elven.wang@nxp.com>
(cherry picked from commit 8fb370dd80fbb293b58115d2e7fc4970813773c7)
2018-06-13 03:06:36 -07:00