Commit e442b9c1 authored by bouazizrahma's avatar bouazizrahma Committed by Jerome Hugues
Browse files

extend c_common-ba to implement the generation of impl|spec of functions in...

extend c_common-ba to implement the generation of impl|spec of functions in subprograms.c|h related to the BA dispatch pattern for sporadic threads
parent bb0664dc
......@@ -49,6 +49,21 @@ package Ocarina.Backends.C_Common.BA is
function Make_Specification_Of_BA_Related_Function
(S : Node_Id;
BA_Body : Boolean := False;
BA_Initialization : Boolean := False) return Node_Id;
BA_Initialization : Boolean := False;
States_Initialization : Boolean := False;
Update_Next_Complete_State : Boolean := False) return Node_Id;
function Compute_Max_Dispatch_Transitions_Per_Complete_State
(S : Node_Id) return Unsigned_Long_Long;
function Compute_Max_Dispatch_Triggers_Per_Dispatch_Transition
(S : Node_Id) return Unsigned_Long_Long;
procedure Create_Enum_Type_Of_States_Names (S : Node_Id);
function Compute_Nb_On_Dispatch_Transitions
(S : Node_Id) return Unsigned_Long_Long;
procedure Create_State_Type (S : Node_Id);
end Ocarina.Backends.C_Common.BA;
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