Commit 8dd81c27 authored by Jerome Hugues's avatar Jerome Hugues

* Add new properties: GNAT_Runtime target and Ada_Runtime target,

	 to configure GNAT Runtimes

	For ticket #93
parent 645398e7
...@@ -8,6 +8,19 @@ with Cheddar_Properties; ...@@ -8,6 +8,19 @@ with Cheddar_Properties;
processor arm processor arm
end arm; end arm;
processor cortex_m extends arm
properties
Deployment::Execution_Platform => GNAT_Runtime;
end cortex_m;
processor implementation cortex_m.i
properties
Scheduling_Protocol => (Posix_1003_Highest_Priority_First_Protocol);
Priority_Range => 0 .. 255;
Cheddar_Properties::Scheduler_Quantum => 0 Ms;
Cheddar_Properties::Preemptive_Scheduler => true;
end cortex_m.i;
processor nds extends arm processor nds extends arm
end nds; end nds;
......
...@@ -22,6 +22,7 @@ property set Deployment is ...@@ -22,6 +22,7 @@ property set Deployment is
(Native, -- Native platforms (GNU/Linux, Solaris, Windows...) (Native, -- Native platforms (GNU/Linux, Solaris, Windows...)
Native_Compcert, -- Native platforms using the Compcert compiler Native_Compcert, -- Native platforms using the Compcert compiler
bench, -- Benchmark platform (native with instrumentation). bench, -- Benchmark platform (native with instrumentation).
GNAT_Runtime, -- Use a GNAT Runtime, e.g. from the Ada_Drivers_Library
LEON_RTEMS, -- LEON2 board or tsim-leon (RTEMS) LEON_RTEMS, -- LEON2 board or tsim-leon (RTEMS)
LEON_RTEMS_POSIX, -- LEON2 board or tsim-leon (RTEMS) LEON_RTEMS_POSIX, -- LEON2 board or tsim-leon (RTEMS)
LEON3_SCOC3, -- LEON3 with RTEMS for SCOC3 LEON3_SCOC3, -- LEON3 with RTEMS for SCOC3
...@@ -52,6 +53,8 @@ property set Deployment is ...@@ -52,6 +53,8 @@ property set Deployment is
applies to (all); applies to (all);
-- Execution platform of a processor -- Execution platform of a processor
Ada_Runtime : aadlstring applies to (processor);
Supported_Execution_Platform : list of Deployment::Allowed_Execution_Platform Supported_Execution_Platform : list of Deployment::Allowed_Execution_Platform
applies to (device); applies to (device);
-- List execution platforms supported by a particular driver -- List execution platforms supported by a particular driver
......
...@@ -78,11 +78,14 @@ property set Deployment is ...@@ -78,11 +78,14 @@ property set Deployment is
Protocol : Deployment::Protocol_Type Protocol : Deployment::Protocol_Type
applies to (system); applies to (system);
Allowed_Execution_Platform : type enumeration (Native, Native_Compcert, bench, LEON_RTEMS, LEON_RTEMS_POSIX, LEON3_SCOC3, LEON3_XTRATUM, LEON3_XM3, LEON_ORK, LEON_GNAT, LINUX32, LINUX32_XENOMAI_NATIVE, LINUX32_XENOMAI_POSIX, LINUX64, ERC32_ORK, ARM_DSLINUX, ARM_N770, GUMSTIX_RTEMS, NDS_RTEMS, X86_RTEMS, X86_RTEMS_POSIX, X86_LINUXTASTE, MARTE_OS, WIN32, VXWORKS, FREERTOS); Allowed_Execution_Platform : type enumeration (Native, Native_Compcert, bench, GNAT_Runtime, LEON_RTEMS, LEON_RTEMS_POSIX, LEON3_SCOC3, LEON3_XTRATUM, LEON3_XM3, LEON_ORK, LEON_GNAT, LINUX32, LINUX32_XENOMAI_NATIVE, LINUX32_XENOMAI_POSIX, LINUX64, ERC32_ORK, ARM_DSLINUX, ARM_N770, GUMSTIX_RTEMS, NDS_RTEMS, X86_RTEMS, X86_RTEMS_POSIX, X86_LINUXTASTE, MARTE_OS, WIN32, VXWORKS, FREERTOS);
Execution_Platform : Deployment::Allowed_Execution_Platform Execution_Platform : Deployment::Allowed_Execution_Platform
applies to ( all); applies to ( all);
Ada_Runtime : aadlstring
applies to (processor);
Supported_Execution_Platform : list of Deployment::Allowed_Execution_Platform Supported_Execution_Platform : list of Deployment::Allowed_Execution_Platform
applies to (device); applies to (device);
...@@ -400,8 +403,8 @@ virtual processor) ...@@ -400,8 +403,8 @@ virtual processor)
end POK; end POK;
package Base_Types package Base_Types
public
with data_model; public with data_model;
data Boolean data Boolean
properties properties
...@@ -958,8 +961,8 @@ subprogram) ...@@ -958,8 +961,8 @@ subprogram)
end Replication_Properties; end Replication_Properties;
package RMAAadl package RMAAadl
public
with Deployment; public with Deployment;
subprogram Hello_Spg_1 subprogram Hello_Spg_1
properties properties
......
...@@ -78,11 +78,14 @@ property set Deployment is ...@@ -78,11 +78,14 @@ property set Deployment is
Protocol : Deployment::Protocol_Type Protocol : Deployment::Protocol_Type
applies to (system); applies to (system);
Allowed_Execution_Platform : type enumeration (Native, Native_Compcert, bench, LEON_RTEMS, LEON_RTEMS_POSIX, LEON3_SCOC3, LEON3_XTRATUM, LEON3_XM3, LEON_ORK, LEON_GNAT, LINUX32, LINUX32_XENOMAI_NATIVE, LINUX32_XENOMAI_POSIX, LINUX64, ERC32_ORK, ARM_DSLINUX, ARM_N770, GUMSTIX_RTEMS, NDS_RTEMS, X86_RTEMS, X86_RTEMS_POSIX, X86_LINUXTASTE, MARTE_OS, WIN32, VXWORKS, FREERTOS); Allowed_Execution_Platform : type enumeration (Native, Native_Compcert, bench, GNAT_Runtime, LEON_RTEMS, LEON_RTEMS_POSIX, LEON3_SCOC3, LEON3_XTRATUM, LEON3_XM3, LEON_ORK, LEON_GNAT, LINUX32, LINUX32_XENOMAI_NATIVE, LINUX32_XENOMAI_POSIX, LINUX64, ERC32_ORK, ARM_DSLINUX, ARM_N770, GUMSTIX_RTEMS, NDS_RTEMS, X86_RTEMS, X86_RTEMS_POSIX, X86_LINUXTASTE, MARTE_OS, WIN32, VXWORKS, FREERTOS);
Execution_Platform : Deployment::Allowed_Execution_Platform Execution_Platform : Deployment::Allowed_Execution_Platform
applies to ( all); applies to ( all);
Ada_Runtime : aadlstring
applies to (processor);
Supported_Execution_Platform : list of Deployment::Allowed_Execution_Platform Supported_Execution_Platform : list of Deployment::Allowed_Execution_Platform
applies to (device); applies to (device);
...@@ -400,8 +403,8 @@ virtual processor) ...@@ -400,8 +403,8 @@ virtual processor)
end POK; end POK;
package Base_Types package Base_Types
public
with data_model; public with data_model;
data Boolean data Boolean
properties properties
...@@ -958,8 +961,8 @@ subprogram) ...@@ -958,8 +961,8 @@ subprogram)
end Replication_Properties; end Replication_Properties;
package RMAAadl package RMAAadl
public
with Deployment; public with Deployment;
subprogram Hello_Spg_1 subprogram Hello_Spg_1
properties properties
......
...@@ -78,11 +78,14 @@ property set Deployment is ...@@ -78,11 +78,14 @@ property set Deployment is
Protocol : Deployment::Protocol_Type Protocol : Deployment::Protocol_Type
applies to (system); applies to (system);
Allowed_Execution_Platform : type enumeration (Native, Native_Compcert, bench, LEON_RTEMS, LEON_RTEMS_POSIX, LEON3_SCOC3, LEON3_XTRATUM, LEON3_XM3, LEON_ORK, LEON_GNAT, LINUX32, LINUX32_XENOMAI_NATIVE, LINUX32_XENOMAI_POSIX, LINUX64, ERC32_ORK, ARM_DSLINUX, ARM_N770, GUMSTIX_RTEMS, NDS_RTEMS, X86_RTEMS, X86_RTEMS_POSIX, X86_LINUXTASTE, MARTE_OS, WIN32, VXWORKS, FREERTOS); Allowed_Execution_Platform : type enumeration (Native, Native_Compcert, bench, GNAT_Runtime, LEON_RTEMS, LEON_RTEMS_POSIX, LEON3_SCOC3, LEON3_XTRATUM, LEON3_XM3, LEON_ORK, LEON_GNAT, LINUX32, LINUX32_XENOMAI_NATIVE, LINUX32_XENOMAI_POSIX, LINUX64, ERC32_ORK, ARM_DSLINUX, ARM_N770, GUMSTIX_RTEMS, NDS_RTEMS, X86_RTEMS, X86_RTEMS_POSIX, X86_LINUXTASTE, MARTE_OS, WIN32, VXWORKS, FREERTOS);
Execution_Platform : Deployment::Allowed_Execution_Platform Execution_Platform : Deployment::Allowed_Execution_Platform
applies to ( all); applies to ( all);
Ada_Runtime : aadlstring
applies to (processor);
Supported_Execution_Platform : list of Deployment::Allowed_Execution_Platform Supported_Execution_Platform : list of Deployment::Allowed_Execution_Platform
applies to (device); applies to (device);
...@@ -400,8 +403,8 @@ virtual processor) ...@@ -400,8 +403,8 @@ virtual processor)
end POK; end POK;
package Base_Types package Base_Types
public
with data_model; public with data_model;
data Boolean data Boolean
properties properties
...@@ -958,8 +961,8 @@ subprogram) ...@@ -958,8 +961,8 @@ subprogram)
end Replication_Properties; end Replication_Properties;
package RMAAadl package RMAAadl
public
with Deployment; public with Deployment;
subprogram Hello_Spg_1 subprogram Hello_Spg_1
properties properties
......
...@@ -78,11 +78,14 @@ property set Deployment is ...@@ -78,11 +78,14 @@ property set Deployment is
Protocol : Deployment::Protocol_Type Protocol : Deployment::Protocol_Type
applies to (system); applies to (system);
Allowed_Execution_Platform : type enumeration (Native, Native_Compcert, bench, LEON_RTEMS, LEON_RTEMS_POSIX, LEON3_SCOC3, LEON3_XTRATUM, LEON3_XM3, LEON_ORK, LEON_GNAT, LINUX32, LINUX32_XENOMAI_NATIVE, LINUX32_XENOMAI_POSIX, LINUX64, ERC32_ORK, ARM_DSLINUX, ARM_N770, GUMSTIX_RTEMS, NDS_RTEMS, X86_RTEMS, X86_RTEMS_POSIX, X86_LINUXTASTE, MARTE_OS, WIN32, VXWORKS, FREERTOS); Allowed_Execution_Platform : type enumeration (Native, Native_Compcert, bench, GNAT_Runtime, LEON_RTEMS, LEON_RTEMS_POSIX, LEON3_SCOC3, LEON3_XTRATUM, LEON3_XM3, LEON_ORK, LEON_GNAT, LINUX32, LINUX32_XENOMAI_NATIVE, LINUX32_XENOMAI_POSIX, LINUX64, ERC32_ORK, ARM_DSLINUX, ARM_N770, GUMSTIX_RTEMS, NDS_RTEMS, X86_RTEMS, X86_RTEMS_POSIX, X86_LINUXTASTE, MARTE_OS, WIN32, VXWORKS, FREERTOS);
Execution_Platform : Deployment::Allowed_Execution_Platform Execution_Platform : Deployment::Allowed_Execution_Platform
applies to ( all); applies to ( all);
Ada_Runtime : aadlstring
applies to (processor);
Supported_Execution_Platform : list of Deployment::Allowed_Execution_Platform Supported_Execution_Platform : list of Deployment::Allowed_Execution_Platform
applies to (device); applies to (device);
...@@ -400,8 +403,8 @@ virtual processor) ...@@ -400,8 +403,8 @@ virtual processor)
end POK; end POK;
package Base_Types package Base_Types
public
with data_model; public with data_model;
data Boolean data Boolean
properties properties
...@@ -958,8 +961,8 @@ subprogram) ...@@ -958,8 +961,8 @@ subprogram)
end Replication_Properties; end Replication_Properties;
package RMAAadl package RMAAadl
public
with Deployment; public with Deployment;
subprogram Hello_Spg_1 subprogram Hello_Spg_1
properties properties
......
...@@ -78,11 +78,14 @@ property set Deployment is ...@@ -78,11 +78,14 @@ property set Deployment is
Protocol : Deployment::Protocol_Type Protocol : Deployment::Protocol_Type
applies to (system); applies to (system);
Allowed_Execution_Platform : type enumeration (Native, Native_Compcert, bench, LEON_RTEMS, LEON_RTEMS_POSIX, LEON3_SCOC3, LEON3_XTRATUM, LEON3_XM3, LEON_ORK, LEON_GNAT, LINUX32, LINUX32_XENOMAI_NATIVE, LINUX32_XENOMAI_POSIX, LINUX64, ERC32_ORK, ARM_DSLINUX, ARM_N770, GUMSTIX_RTEMS, NDS_RTEMS, X86_RTEMS, X86_RTEMS_POSIX, X86_LINUXTASTE, MARTE_OS, WIN32, VXWORKS, FREERTOS); Allowed_Execution_Platform : type enumeration (Native, Native_Compcert, bench, GNAT_Runtime, LEON_RTEMS, LEON_RTEMS_POSIX, LEON3_SCOC3, LEON3_XTRATUM, LEON3_XM3, LEON_ORK, LEON_GNAT, LINUX32, LINUX32_XENOMAI_NATIVE, LINUX32_XENOMAI_POSIX, LINUX64, ERC32_ORK, ARM_DSLINUX, ARM_N770, GUMSTIX_RTEMS, NDS_RTEMS, X86_RTEMS, X86_RTEMS_POSIX, X86_LINUXTASTE, MARTE_OS, WIN32, VXWORKS, FREERTOS);
Execution_Platform : Deployment::Allowed_Execution_Platform Execution_Platform : Deployment::Allowed_Execution_Platform
applies to ( all); applies to ( all);
Ada_Runtime : aadlstring
applies to (processor);
Supported_Execution_Platform : list of Deployment::Allowed_Execution_Platform Supported_Execution_Platform : list of Deployment::Allowed_Execution_Platform
applies to (device); applies to (device);
...@@ -400,8 +403,8 @@ virtual processor) ...@@ -400,8 +403,8 @@ virtual processor)
end POK; end POK;
package Base_Types package Base_Types
public
with data_model; public with data_model;
data Boolean data Boolean
properties properties
...@@ -958,8 +961,8 @@ subprogram) ...@@ -958,8 +961,8 @@ subprogram)
end Replication_Properties; end Replication_Properties;
package RMAAadl package RMAAadl
public
with Deployment; public with Deployment;
subprogram Hello_Spg_1 subprogram Hello_Spg_1
properties properties
......
...@@ -74,11 +74,14 @@ property set Deployment is ...@@ -74,11 +74,14 @@ property set Deployment is
Protocol : Deployment::Protocol_Type Protocol : Deployment::Protocol_Type
applies to (system); applies to (system);
Allowed_Execution_Platform : type enumeration (Native, Native_Compcert, bench, LEON_RTEMS, LEON_RTEMS_POSIX, LEON3_SCOC3, LEON3_XTRATUM, LEON3_XM3, LEON_ORK, LEON_GNAT, LINUX32, LINUX32_XENOMAI_NATIVE, LINUX32_XENOMAI_POSIX, LINUX64, ERC32_ORK, ARM_DSLINUX, ARM_N770, GUMSTIX_RTEMS, NDS_RTEMS, X86_RTEMS, X86_RTEMS_POSIX, X86_LINUXTASTE, MARTE_OS, WIN32, VXWORKS, FREERTOS); Allowed_Execution_Platform : type enumeration (Native, Native_Compcert, bench, GNAT_Runtime, LEON_RTEMS, LEON_RTEMS_POSIX, LEON3_SCOC3, LEON3_XTRATUM, LEON3_XM3, LEON_ORK, LEON_GNAT, LINUX32, LINUX32_XENOMAI_NATIVE, LINUX32_XENOMAI_POSIX, LINUX64, ERC32_ORK, ARM_DSLINUX, ARM_N770, GUMSTIX_RTEMS, NDS_RTEMS, X86_RTEMS, X86_RTEMS_POSIX, X86_LINUXTASTE, MARTE_OS, WIN32, VXWORKS, FREERTOS);
Execution_Platform : Deployment::Allowed_Execution_Platform Execution_Platform : Deployment::Allowed_Execution_Platform
applies to ( all); applies to ( all);
Ada_Runtime : aadlstring
applies to (processor);
Supported_Execution_Platform : list of Deployment::Allowed_Execution_Platform Supported_Execution_Platform : list of Deployment::Allowed_Execution_Platform
applies to (device); applies to (device);
...@@ -396,8 +399,8 @@ virtual processor) ...@@ -396,8 +399,8 @@ virtual processor)
end POK; end POK;
package Base_Types package Base_Types
public
with data_model; public with data_model;
data Boolean data Boolean
properties properties
...@@ -954,8 +957,8 @@ subprogram) ...@@ -954,8 +957,8 @@ subprogram)
end Replication_Properties; end Replication_Properties;
package PartitionedSystemExample package PartitionedSystemExample
public
with ARINC653; public with ARINC653;
data integer data integer
end integer; end integer;
......
Markdown is supported
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