1/*#
2 *#Copyright 2020, Data61
3 *#Commonwealth Scientific and Industrial Research Organisation (CSIRO)
4 *#ABN 41 687 119 230.
5 *#
6 *#This software may be distributed and modified according to the terms of
7 *#the BSD 2-Clause license. Note that NO WARRANTY is provided.
8 *#See "LICENSE_BSD2.txt" for details.
9 *#
10 *#@TAG(DATA61_BSD)
11  #*/
12/*- include 'seL4MultiSharedData-to.template.c' -*/
13
14
15/*- from 'rpc-connector.c' import establish_recv_rpc, recv_first_rpc, complete_recv, begin_recv, begin_reply, complete_reply, reply_recv with context -*/
16
17#include <camkes/dataport.h>
18
19/*? macros.show_includes(me.instance.type.includes) ?*/
20/*? macros.show_includes(me.interface.type.includes) ?*/
21
22/*- set connector = namespace() -*/
23
24/*? establish_recv_rpc(connector, me.interface.name, buffer=('(%s_buf(%s_get_sender_id()))' % (me.interface.name,me.interface.name) , '(%s_buf_size(%s_get_sender_id()))' % (me.interface.name,me.interface.name))) ?*/
25
26/*- include 'rpc-connector-common-to.c' -*/
27
28