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
cc3c55a7
Commit
cc3c55a7
authored
Aug 25, 2019
by
Maxime Perrotin
Browse files
Successful build of Demo_Distrib
parent
c69c3b4a
Changes
4
Hide whitespace changes
Inline
Side-by-side
templates/concurrency_view/c_pohi_gpr/partition.tmplt
View file @
cc3c55a7
...
...
@@ -82,27 +82,29 @@ project @_CAPITALIZE:Name_@ is
"cheddar_schedule.hh"
,
"cheddar_types.hh"
,
"config.c"
,
"marshallers.c"
,
--
only
for
distributed
systems
@@
IF
@@
@
_In_Port_Names
'Length_@ = 0 and @_Out_Port_Names'
Length_
@
=
0
and
@
_Thread_Src_Port
'Length_@ = 0
"po_hi_gqueue.c",
"po_hi_transport.c",
"po_hi_marshallers.c",
"po_hi_semaphore.c",
"po_hi_monitor.c",
"po_hi_driver_drvmgr_common.c",
"po_hi_driver_linux_serial.c",
"po_hi_driver_serial_common.c",
"po_hi_driver_sockets.c",
"marshallers.c", -- only for distributed systems
@@END_IF@@
"config_leon3_drvmgr.c",
"config_leon4_n2x.c",
"grspw_api.c",
"grspw_pkt_lib.c",
"hyperperriod_config.hh",
"po_hi_driver_drvmgr_common.c",
"po_hi_driver_exarm.c",
"po_hi_driver_exarm_ni_6071e_analog.c",
"po_hi_driver_exarm_ni_6071e_digital.c",
"po_hi_driver_keyboard.c",
"po_hi_driver_leon_eth.c",
"po_hi_driver_leon_serial.c",
"po_hi_driver_linux_serial.c",
"po_hi_driver_rasta_1553_brmlib.c",
"po_hi_driver_rasta_1553.c",
"po_hi_driver_rasta_common.c",
...
...
@@ -112,8 +114,6 @@ project @_CAPITALIZE:Name_@ is
"po_hi_driver_rtems_drvmgr_serial.c",
"po_hi_driver_rtems_drvmgr_spacewire.c",
"po_hi_driver_rtems_ne2000.c",
"po_hi_driver_serial_common.c",
"po_hi_driver_sockets.c",
"po_hi_driver_stardundee.c",
"po_hi_driver_usbbrick_spacewire.c",
"po_hi_driver_xc4v_fpga.c",
...
...
@@ -128,7 +128,6 @@ project @_CAPITALIZE:Name_@ is
"trace_manager.c",
"um_threads.c");
package Compiler is
case Build is
when "Release" =>
...
...
templates/concurrency_view/pohic_wrappers_body/ri.tmplt
View file @
cc3c55a7
...
...
@@ -12,6 +12,9 @@
@@-- @_Remote_Interface_Names_@ : |_ callee's interface name
@@-- @_Calling_Threads_@ : Calling threads of the containing block
// Required interface @_Name_@ in function @_Parent_Function_@
@@IF@@ @_Param_Names'Length_@ = 0
void vm_@_LOWER:Parent_Function_@_@_LOWER:Name_@(void)
@@ELSE@@
void vm_@_LOWER:Parent_Function_@_@_LOWER:Name_@
@@INLINE( \()(,\n )(\)\n)@@
@@TABLE@@
...
...
@@ -22,6 +25,7 @@ void vm_@_LOWER:Parent_Function_@_@_LOWER:Name_@
@@END_IF@@
@@END_TABLE@@
@@END_INLINE@@
@@END_IF@@
{
@@IF@@ @_Kind_@ = SPORADIC_OPERATION
__po_hi_task_id current_task = __po_hi_get_task_id();
...
...
templates/concurrency_view/pohic_wrappers_header/ri.tmplt
View file @
cc3c55a7
...
...
@@ -13,6 +13,9 @@
@@-- @_Calling_Threads_@ : Calling threads of the containing block
// Required interface @_Name_@ in function @_Parent_Function_@
// This RI is connected to: @_Remote_Function_Names_@
@@IF@@ @_Param_Names'Length_@ = 0
void vm_@_LOWER:Parent_Function_@_@_LOWER:Name_@(void);
@@ELSE@@
void vm_@_LOWER:Parent_Function_@_@_LOWER:Name_@
@@INLINE( \()(,\n )(\);\n)@@
@@TABLE@@
...
...
@@ -23,3 +26,4 @@ void vm_@_LOWER:Parent_Function_@_@_LOWER:Name_@
@@END_IF@@
@@END_TABLE@@
@@END_INLINE@@
@@END_IF@@
templates/glue/language_wrappers/invoke_ri-body/interface.tmplt
View file @
cc3c55a7
...
...
@@ -78,6 +78,10 @@ void @_LOWER:Parent_Function_@_RI_@_LOWER:Name_@(void)
@@END_TABLE@@
// Call Middleware interface
@@IF@@ @_Param_Names'Length_@ = 0
extern void vm_@_LOWER:Parent_Function_@_@_LOWER:Name_@(void);
vm_@_LOWER:Parent_Function_@_@_LOWER:Name_@();
@@ELSE@@
extern void vm_@_LOWER:Parent_Function_@_@_LOWER:Name_@
@@INLINE( \()(,\n )(\);\n)@@
@@TABLE@@
...
...
@@ -98,7 +102,7 @@ void @_LOWER:Parent_Function_@_RI_@_LOWER:Name_@(void)
@@END_IF@@
@@END_TABLE@@
@@END_INLINE@@
@@END_IF@@
@@TABLE'TERSE@@
@@IF@@ @_Param_Directions_@ = PARAM_OUT
...
...
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