OpenAADL / ocarina
1
------------------------------------------------------------------------------
2
--                                                                          --
3
--                           OCARINA COMPONENTS                             --
4
--                                                                          --
5
--         O C A R I N A . B A C K E N D S . P O K _ C H E D D A R          --
6
--                                                                          --
7
--                                 S p e c                                  --
8
--                                                                          --
9
--                  Copyright (C) 2009 Telecom ParisTech,                   --
10
--                 2010-2019 ESA & ISAE, 2019-2020 OpenAADL                 --
11
--                                                                          --
12
-- Ocarina  is free software; you can redistribute it and/or modify under   --
13
-- terms of the  GNU General Public License as published  by the Free Soft- --
14
-- ware  Foundation;  either version 3,  or (at your option) any later ver- --
15
-- sion. Ocarina is distributed in the hope that it will be useful, but     --
16
-- WITHOUT ANY WARRANTY; without even the implied warranty of               --
17
-- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.                     --
18
--                                                                          --
19
-- As a special exception under Section 7 of GPL version 3, you are granted --
20
-- additional permissions described in the GCC Runtime Library Exception,   --
21
-- version 3.1, as published by the Free Software Foundation.               --
22
--                                                                          --
23
-- You should have received a copy of the GNU General Public License and    --
24
-- a copy of the GCC Runtime Library Exception along with this program;     --
25
-- see the files COPYING3 and COPYING.RUNTIME respectively.  If not, see    --
26
-- <http://www.gnu.org/licenses/>.                                          --
27
--                                                                          --
28
--                    Ocarina is maintained by OpenAADL team                --
29
--                              (info@openaadl.org)                         --
30
--                                                                          --
31
------------------------------------------------------------------------------
32

33 1
package Ocarina.Backends.POK_Cheddar is
34

35
--  This backend generates the XML file useful for ARINC653 implementation
36

37
   procedure Generate (AADL_Root : Node_Id);
38
   --  The main entry point of the ARINC653 configuration generator
39

40
   procedure Init;
41
   --  Fills the corresponding location in the generator table by the
42
   --  information on this generator and execute some initialization
43
   --  routines necessary for its work.
44

45
   procedure Reset;
46

47
   procedure Visit_Architecture_Instance (E : Node_Id);
48

49
   function Get_XML_Root return Node_Id;
50

51
private
52 1
   XML_Root                : Node_Id;
53 1
   Current_XML_Node        : Node_Id;
54 1
   Distributed_Application : Node_Id;
55 1
   HI_Node                 : Node_Id;
56 1
   HI_Unit                 : Node_Id;
57
   --  The root of the XML trees
58

59 1
end Ocarina.Backends.POK_Cheddar;

Read our documentation on viewing source code .

Loading