[trusty] Update ipc connect syscall
Add flags parameter to connect syscall with following options:
IPC_CONNECT_ASYNC - initiate asyncronous connection.
Asyncrounous connection might returns before server
had a chance to accept it. Caller has to wait for
IPC_POLL_HANDLE_READY event that indicates that
connection is complete.
IPC_CONNECT_WAIT_FOR_PORT - if specified allows an attempt to
connect to not-yet-existing port vs. failing immediately
if port is not available.
Remove timeout parameter from syscall. Callers should use
async connect if timeout is required.
Change-Id: Ie601cb4a66a3fe7f974509458f26f203af5b0408
2 files changed