Commit 525f44f0 authored by Rafal Babski's avatar Rafal Babski
Browse files

Generic Linux Runtime - fix of wrong buffer size calculation for UPER parameters

This also includes fixes in generated Makefile, which should contains
debug and release configurations
parent 848b7a0a
......@@ -6,24 +6,38 @@
# This file is generated for Generic Linux partition
# @_Node_Name_@ @_CPU_Name_@ @_Ada_Runtime_@ @_CPU_Platform_@ @_CPU_Classifier_@
@@INLINE(.PHONY: all clean partitions )( )()@@
@@INLINE(.PHONY: all clean debug release )( )()@@
@@TABLE@@
partition_@_LOWER:Partition_Names_@
partition_debug_@_LOWER:Partition_Names_@
runtime_@_LOWER:Partition_Names_@
@@END_TABLE@@
@@END_INLINE@@
all: partitions
@@IF@@ @_Debug_Flag_@
all: debug
@@ELSE@@
all: release
@@END_IF@@
@@INLINE(partitions: )( )()@@
@@INLINE(release: )( )()@@
partition_@_LOWER:Partition_Names_@
@@END_INLINE@@
@@INLINE(debug: )( )()@@
partition_debug_@_LOWER:Partition_Names_@
@@END_INLINE@@
@@TABLE@@
partition_@_LOWER:Partition_Names_@: runtime_@_LOWER:Partition_Names_@
gprbuild -R -p -P @_LOWER:Partition_Names_@.gpr -XCFG="Release" -cargs:C -DSTATIC=""
@@END_TABLE@@
@@TABLE@@
partition_debug_@_LOWER:Partition_Names_@: runtime_@_LOWER:Partition_Names_@
gprbuild -R -p -P @_LOWER:Partition_Names_@.gpr -XCFG="Debug" -cargs:C -DSTATIC=""
@@END_TABLE@@
clean:
@@TABLE@@
gprclean -P @_LOWER:Partition_Names_@.gpr
......
......@@ -19,7 +19,7 @@ struct GenericLinuxAllParametersStub
@@TABLE@@
@@IF@@ @_In_Port_Encoding_Name_@ = NATIVE
uint8_t @_In_Port_Thread_Name_@[sizeof (asn1Scc@_REPLACE_ALL(-/_):In_Port_Type_Name_@)];
@@ELSIF@@ @_In_Port_Encoding_Name_@ = UPE
@@ELSIF@@ @_In_Port_Encoding_Name_@ = UPER
uint8_t @_In_Port_Thread_Name_@[asn1Scc@_REPLACE_ALL(-/_):In_Port_Type_Name_@_REQUIRED_BYTES_FOR_ENCODING];
@@ELSIF@@ @_In_Port_Encoding_Name_@ = ACN
uint8_t @_In_Port_Thread_Name_@[asn1Scc@_REPLACE_ALL(-/_):In_Port_Type_Name_@_REQUIRED_BYTES_FOR_ACN_ENCODING];
......@@ -32,7 +32,7 @@ struct GenericLinuxAllParametersStub
@@TABLE@@
@@IF@@ @_Out_Port_Encoding_Name_@ = NATIVE
uint8_t @_Out_Port_Names_@[sizeof (asn1Scc@_REPLACE_ALL(-/_):Out_Port_Type_Name_@)];
@@ELSIF@@ @_Out_Port_Encoding_Name_@ = UPE
@@ELSIF@@ @_Out_Port_Encoding_Name_@ = UPER
uint8_t @_Out_Port_Names_@[asn1Scc@_REPLACE_ALL(-/_):Out_Port_Type_Name_@_REQUIRED_BYTES_FOR_ENCODING];
@@ELSIF@@ @_Out_Port_Encoding_Name_@ = ACN
uint8_t @_Out_Port_Names_@[asn1Scc@_REPLACE_ALL(-/_):Out_Port_Type_Name_@_REQUIRED_BYTES_FOR_ACN_ENCODING];
......
......@@ -3,4 +3,3 @@
@@-- If you are using vim, go over the URL and pres gx in to follow the link
@@-- If you have no internet access you can also use (with vim) Ctrl-W-f or gf in vim to open the text doc:
@@-- $HOME/tool-inst/share/kazoo/doc/templates_concurrency_view_sub_node.ascii
@_Partitions_@
......@@ -3,7 +3,3 @@
@@-- If you are using vim, go over the URL and pres gx in to follow the link
@@-- If you have no internet access you can also use (with vim) Ctrl-W-f or gf in vim to open the text doc:
@@-- $HOME/tool-inst/share/kazoo/doc/templates_concurrency_view_sub_partition.ascii
// Sporadic interfaces from @_Name_@
@@TABLE@@
INTERFACE_@_UPPER:In_Port_Thread_Name_@,
@@END_TABLE@@
......@@ -19,7 +19,9 @@
enum RemoteInterface {
INTERFACE_INVALID_ID,
@_Nodes_@
@@TABLE@@
INTERFACE_@_UPPER:Connect_Port_Name_@,
@@END_TABLE@@
INTERFACE_MAX_ID,
};
......
Supports Markdown
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