Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
O
Ocarina
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
2
Issues
2
List
Boards
Labels
Service Desk
Milestones
Merge Requests
0
Merge Requests
0
Operations
Operations
Incidents
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
TASTE
Ocarina
Commits
879bda83
Commit
879bda83
authored
Jul 03, 2017
by
yoogx
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
* Change base types to index messages in queue to support
larger queue size For issue #97
parent
75597c42
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
9 additions
and
7 deletions
+9
-7
src/backends/po_hi_c/ocarina-backends-po_hi_c-activity.adb
src/backends/po_hi_c/ocarina-backends-po_hi_c-activity.adb
+7
-7
src/backends/po_hi_c/ocarina-backends-po_hi_c-runtime.ads
src/backends/po_hi_c/ocarina-backends-po_hi_c-runtime.ads
+2
-0
No files found.
src/backends/po_hi_c/ocarina-backends-po_hi_c-activity.adb
View file @
879bda83
...
@@ -1870,7 +1870,7 @@ package body Ocarina.Backends.PO_HI_C.Activity is
...
@@ -1870,7 +1870,7 @@ package body Ocarina.Backends.PO_HI_C.Activity is
Array_Size
=>
Array_Size
=>
Make_Defining_Identifier
Make_Defining_Identifier
(
Map_C_Define_Name
(
S
,
Nb_Ports
=>
True
))),
(
Map_C_Define_Name
(
S
,
Nb_Ports
=>
True
))),
Used_Type
=>
RE
(
RE_
Uint8
_T
));
Used_Type
=>
RE
(
RE_
Port_Id
_T
));
Append_Node_To_List
(
N
,
CTN
.
Declarations
(
Current_File
));
Append_Node_To_List
(
N
,
CTN
.
Declarations
(
Current_File
));
N
:=
N
:=
...
@@ -1883,7 +1883,7 @@ package body Ocarina.Backends.PO_HI_C.Activity is
...
@@ -1883,7 +1883,7 @@ package body Ocarina.Backends.PO_HI_C.Activity is
Array_Size
=>
Array_Size
=>
Make_Defining_Identifier
Make_Defining_Identifier
(
Map_C_Define_Name
(
S
,
Nb_Ports
=>
True
))),
(
Map_C_Define_Name
(
S
,
Nb_Ports
=>
True
))),
Used_Type
=>
RE
(
RE_
Uint8
_T
));
Used_Type
=>
RE
(
RE_
Port_Id
_T
));
Append_Node_To_List
(
N
,
CTN
.
Declarations
(
Current_File
));
Append_Node_To_List
(
N
,
CTN
.
Declarations
(
Current_File
));
N
:=
N
:=
...
@@ -1896,7 +1896,7 @@ package body Ocarina.Backends.PO_HI_C.Activity is
...
@@ -1896,7 +1896,7 @@ package body Ocarina.Backends.PO_HI_C.Activity is
Array_Size
=>
Array_Size
=>
Make_Defining_Identifier
Make_Defining_Identifier
(
Map_C_Define_Name
(
S
,
Nb_Ports
=>
True
))),
(
Map_C_Define_Name
(
S
,
Nb_Ports
=>
True
))),
Used_Type
=>
RE
(
RE_
Uint8
_T
));
Used_Type
=>
RE
(
RE_
Port_Id
_T
));
Append_Node_To_List
(
N
,
CTN
.
Declarations
(
Current_File
));
Append_Node_To_List
(
N
,
CTN
.
Declarations
(
Current_File
));
N
:=
N
:=
...
@@ -1909,7 +1909,7 @@ package body Ocarina.Backends.PO_HI_C.Activity is
...
@@ -1909,7 +1909,7 @@ package body Ocarina.Backends.PO_HI_C.Activity is
Array_Size
=>
Array_Size
=>
Make_Defining_Identifier
Make_Defining_Identifier
(
Map_C_Define_Name
(
S
,
Nb_Ports
=>
True
))),
(
Map_C_Define_Name
(
S
,
Nb_Ports
=>
True
))),
Used_Type
=>
RE
(
RE_
Uint8
_T
));
Used_Type
=>
RE
(
RE_
Port_Id
_T
));
Append_Node_To_List
(
N
,
CTN
.
Declarations
(
Current_File
));
Append_Node_To_List
(
N
,
CTN
.
Declarations
(
Current_File
));
N
:=
N
:=
...
@@ -1922,7 +1922,7 @@ package body Ocarina.Backends.PO_HI_C.Activity is
...
@@ -1922,7 +1922,7 @@ package body Ocarina.Backends.PO_HI_C.Activity is
Array_Size
=>
Array_Size
=>
Make_Defining_Identifier
Make_Defining_Identifier
(
Map_C_Define_Name
(
S
,
Nb_Ports
=>
True
))),
(
Map_C_Define_Name
(
S
,
Nb_Ports
=>
True
))),
Used_Type
=>
RE
(
RE_
Uint8
_T
));
Used_Type
=>
RE
(
RE_
Port_Id
_T
));
Append_Node_To_List
(
N
,
CTN
.
Declarations
(
Current_File
));
Append_Node_To_List
(
N
,
CTN
.
Declarations
(
Current_File
));
N
:=
N
:=
...
@@ -1995,7 +1995,7 @@ package body Ocarina.Backends.PO_HI_C.Activity is
...
@@ -1995,7 +1995,7 @@ package body Ocarina.Backends.PO_HI_C.Activity is
Array_Size
=>
Array_Size
=>
Make_Defining_Identifier
Make_Defining_Identifier
(
Map_C_Define_Name
(
S
,
Nb_Ports
=>
True
))),
(
Map_C_Define_Name
(
S
,
Nb_Ports
=>
True
))),
Used_Type
=>
RE
(
RE_
Uint8
_T
)),
Used_Type
=>
RE
(
RE_
Port_Id
_T
)),
Operator
=>
Op_Equal
,
Operator
=>
Op_Equal
,
Right_Expr
=>
N_Dest_Values
);
Right_Expr
=>
N_Dest_Values
);
Append_Node_To_List
(
N
,
CTN
.
Declarations
(
Current_File
));
Append_Node_To_List
(
N
,
CTN
.
Declarations
(
Current_File
));
...
@@ -2014,7 +2014,7 @@ package body Ocarina.Backends.PO_HI_C.Activity is
...
@@ -2014,7 +2014,7 @@ package body Ocarina.Backends.PO_HI_C.Activity is
Array_Size
=>
Array_Size
=>
Make_Defining_Identifier
Make_Defining_Identifier
(
Map_C_Define_Name
(
S
,
Nb_Ports
=>
True
))),
(
Map_C_Define_Name
(
S
,
Nb_Ports
=>
True
))),
Used_Type
=>
RE
(
RE_
Int8
_T
)),
Used_Type
=>
RE
(
RE_
Port_Id
_T
)),
Operator
=>
Op_Equal
,
Operator
=>
Op_Equal
,
Right_Expr
=>
Fifo_Size_Values
);
Right_Expr
=>
Fifo_Size_Values
);
Append_Node_To_List
(
N
,
CTN
.
Declarations
(
Current_File
));
Append_Node_To_List
(
N
,
CTN
.
Declarations
(
Current_File
));
...
...
src/backends/po_hi_c/ocarina-backends-po_hi_c-runtime.ads
View file @
879bda83
...
@@ -214,6 +214,7 @@ package Ocarina.Backends.PO_HI_C.Runtime is
...
@@ -214,6 +214,7 @@ package Ocarina.Backends.PO_HI_C.Runtime is
RE_Asn1_Buffer_T
,
-- __po_hi_asn1_buffer_t
RE_Asn1_Buffer_T
,
-- __po_hi_asn1_buffer_t
RE_Time_T
,
-- __po_hi_time_t
RE_Time_T
,
-- __po_hi_time_t
RE_Byte_T
,
-- __po_hi_byte_t
RE_Byte_T
,
-- __po_hi_byte_t
RE_Port_Id_T
,
-- __po_hi_port_id_t
RE_Uint64_T
,
-- __po_hi_uint64_t
RE_Uint64_T
,
-- __po_hi_uint64_t
RE_Uint32_T
,
-- __po_hi_uint32_t
RE_Uint32_T
,
-- __po_hi_uint32_t
RE_Uint16_T
,
-- __po_hi_uint16_t
RE_Uint16_T
,
-- __po_hi_uint16_t
...
@@ -376,6 +377,7 @@ package Ocarina.Backends.PO_HI_C.Runtime is
...
@@ -376,6 +377,7 @@ package Ocarina.Backends.PO_HI_C.Runtime is
RE_Asn1_Buffer_T
=>
RH_PO_HI_Marshallers
,
RE_Asn1_Buffer_T
=>
RH_PO_HI_Marshallers
,
RE_Bool_T
=>
RH_PO_HI_Types
,
RE_Bool_T
=>
RH_PO_HI_Types
,
RE_Port_Kind_T
=>
RH_PO_HI_Types
,
RE_Port_Kind_T
=>
RH_PO_HI_Types
,
RE_Port_Id_T
=>
RH_PO_HI_Types
,
RE_Uint8_T
=>
RH_PO_HI_Types
,
RE_Uint8_T
=>
RH_PO_HI_Types
,
RE_Int8_T
=>
RH_PO_HI_Types
,
RE_Int8_T
=>
RH_PO_HI_Types
,
RE_Uint16_T
=>
RH_PO_HI_Types
,
RE_Uint16_T
=>
RH_PO_HI_Types
,
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a 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