deployment.aadl 3.7 KB
Newer Older
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21
property set Deployment is

  Allowed_Transport_APIs : type enumeration
    (BSD_Sockets,
     SpaceWire);
  -- Supported transport API

  Transport_API : Deployment::Allowed_Transport_APIs applies to (bus);
  --  Transport API of a bus

  Location : aadlstring applies to (processor, device);
  --  Processor IP address (BSD_Sockets specific)

  Port_Number : aadlinteger applies to (process, device);
  --  IP port number of a process (BSD_Sockets specific)

  Protocol_Type : type enumeration (iiop, diop);
  --  Supported communication protocols
  Protocol : Deployment::Protocol_Type applies to (system);

  Allowed_Execution_Platform : type enumeration
22 23 24
   (Native,                   -- Native platforms (GNU/Linux, Solaris, Windows...)
    Native_Compcert,          -- Native platforms using the Compcert compiler
    bench,                    -- Benchmark platform (native with instrumentation).
25
    GNAT_Runtime,             -- Use a GNAT Runtime, e.g. from the Ada_Drivers_Library
26 27
    LEON_RTEMS,               -- LEON2 board or tsim-leon (RTEMS)
    LEON_RTEMS_POSIX,         -- LEON2 board or tsim-leon (RTEMS)
jdelange's avatar
 
jdelange committed
28
    LEON3_SCOC3,              -- LEON3 with RTEMS for SCOC3
29 30 31 32 33 34 35 36 37
    LEON3_XTRATUM,            -- LEON3 with Xtratum
    LEON3_XM3,                -- RTEMS for XTRATUM/LEON3
    LEON_ORK,                 -- LEON2 board or tsim-leon (ORK)
    LEON_GNAT,                -- LEON2 board or qemu (GNATPRO/HI-E)
    LINUX32,                  -- Linux 32 bits
    LINUX32_XENOMAI_NATIVE,   -- Linux 32 bits with native Xenomai
    LINUX32_XENOMAI_POSIX,    -- Linux 32 bits with Xenomai and POSIX skin
    LINUX64,                  -- Linux 64 bits
    ERC32_ORK,                -- ERC32 board or tsim-erc32 (ORK)
38
    ARM_CORTEX,               -- ARM XXXX
39 40
    ARM_DSLINUX,              -- Nintendo DS (tm) (DSLinux)
    ARM_N770,                 -- Nokia N770 (tm)
41 42
    GUMSTIX_RTEMS,            -- Gumstix under RTEMS
    NDS_RTEMS,                -- Nintendo DS under RTEMS
43 44 45 46
    X86_RTEMS,                -- x86 under RTEMS
    X86_RTEMS_POSIX,          -- x86 under RTEMS with POSIX layer
    X86_LINUXTASTE,           -- TASTE-specific linux distribution
    MARTE_OS,                 -- MaRTE OS
47
    WIN32,                    -- WIN32
48 49
    VXWORKS,                  -- VXWORKS
    FREERTOS                  -- FREERTOS
50 51 52
    );
  --  Supported platforms

53
  Execution_Platform : Deployment::Allowed_Execution_Platform
54
    applies to (all);
55 56
  --  Execution platform of a processor

57
  Ada_Runtime : aadlstring applies to (processor);
58 59 60 61 62 63 64
  --  If Execution_Platform is set to GNAT_Runtime, this property
  --  points to the name of the GNAT Project file that configures the
  --  Ada_Runtime, e.g. from the Ada Device Drivers project.

  USER_CFLAGS : aadlstring applies to (processor);
  USER_LDFLAGS : aadlstring applies to (processor);
  --  User defined CFLAGS and LDFLAGS
65

66 67 68 69 70 71 72 73 74 75 76 77 78
  Supported_Execution_Platform : list of Deployment::Allowed_Execution_Platform
    applies to (device);
  --  List execution platforms supported by a particular driver

  Runtime : type enumeration
    (PolyORB_HI_C,
     PolyORB_HI_Ada,
     POK);
  --  List of supported runtime

  Supported_Runtime : Deployment::Runtime applies to (all);
  --  List the runtime compatible with the component

79
  Priority_Type : type aadlinteger 0 .. 255;
80

81 82 83
  Priority : Deployment::Priority_Type applies to (data, thread);
  --  Thread and data component priority

84 85
  Driver_Name : aadlstring applies to (device);

yoogx's avatar
yoogx committed
86
  Configuration : aadlstring applies to (device, thread);
87

88
  Config : aadlstring applies to (device);
89

90 91 92 93 94
  ASN1_Module_Name : aadlstring applies to (all);

  Help : aadlstring applies to (all);

  Version : aadlstring applies to (all);
95

96 97
  Configuration_Type : classifier (data) applies to (all);

98
end Deployment;