Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
TASTE
kazoo
Commits
005ad087
Commit
005ad087
authored
Sep 06, 2019
by
Maxime Perrotin
Browse files
Fix the interface to POHIC for paramless calls
parent
9cd32554
Changes
3
Hide whitespace changes
Inline
Side-by-side
templates/concurrency_view/pohic_wrappers_body/ri.tmplt
View file @
005ad087
...
...
@@ -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;
...
...
test/Demo_RI_Names/Makefile
View file @
005ad087
...
...
@@ -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
...
...
test/Demo_RI_Names/build-script.sh
View file @
005ad087
...
...
@@ -17,8 +17,8 @@ assert-builder-ocarina.py \
-f
\
-p
\
--aadlv2
\
--interfaceView
i
nterface
v
iew.aadl
\
--deploymentView
d
eployment
v
iew.aadl
\
--interfaceView
I
nterface
V
iew.aadl
\
--deploymentView
D
eployment
V
iew.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
i
nterface
v
iew.aadl
\
--deploymentView
d
eployment
v
iew.aadl
\
--interfaceView
I
nterface
V
iew.aadl
\
--deploymentView
D
eployment
V
iew.aadl
\
-o
binary.linux.ada
\
--subC
a:a.zip
\
--subC
b:b.zip
\
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment