Commit 005ad087 authored by Maxime Perrotin's avatar Maxime Perrotin

Fix the interface to POHIC for paramless calls

parent 9cd32554
......@@ -53,6 +53,9 @@ size_IN_buf_@_LOWER:Param_Names_@;
__po_hi_send_output(@_LOWER:Partition_Name_@_@_LOWER:Calling_Threads_@_k, @_LOWER:Calling_Threads_@_global_outport_@_LOWER:Name_@);
@@END_INLINE@@
@@ELSE@@ @@-- No param
__po_hi_request_t request;
request.port = @_LOWER:Calling_Threads_@_global_outport_@_LOWER:Name_@;
__po_hi_gqueue_store_out(@_LOWER:Partition_Name_@_@_LOWER:Calling_Threads_@_k, @_LOWER:Calling_Threads_@_local_outport_@_LOWER:Name_@, &request);
__po_hi_send_output(@_LOWER:Partition_Name_@_@_LOWER:Calling_Threads_@_k, @_LOWER:Calling_Threads_@_global_outport_@_LOWER:Name_@);
@@END_IF@@
return;
......
......@@ -6,7 +6,7 @@ ada: test-parse-ada
make -C output.ada
cp a/a.c output.pohic/a/C/src
cp b/b.c output.pohic/b/C/src
cp b/b.c output.pohic/b/C/src
cp c/c.c output.pohic/c/C/src
cd output.ada/build && \
ocarina -x main.aadl && \
make -f Makefile.taste
......@@ -14,7 +14,7 @@ ada: test-parse-ada
c: test-parse-c # Polyorb_HI_C output
cp a/a.c output.pohic/a/C/src
cp b/b.c output.pohic/b/C/src
cp b/b.c output.pohic/b/C/src
cp c/c.c output.pohic/c/C/src
make -C output.pohic
test-parse-ada: clean-ada
......
......@@ -17,8 +17,8 @@ assert-builder-ocarina.py \
-f \
-p \
--aadlv2 \
--interfaceView interfaceview.aadl \
--deploymentView deploymentview.aadl \
--interfaceView InterfaceView.aadl \
--deploymentView DeploymentView.aadl \
-o binary.linux.pohic \
--subC a:a.zip \
--subC b:b.zip \
......@@ -28,8 +28,8 @@ assert-builder-ocarina.py \
assert-builder-ocarina.py \
-f \
--aadlv2 \
--interfaceView interfaceview.aadl \
--deploymentView deploymentview.aadl \
--interfaceView InterfaceView.aadl \
--deploymentView DeploymentView.aadl \
-o binary.linux.ada \
--subC a:a.zip \
--subC b:b.zip \
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment