Commit 472bf8e6 authored by julien.delange's avatar julien.delange

handle x86_rtems platform

handle x86_rtems endianess aspects




git-svn-id: https://tecsw.estec.esa.int/svn/taste/trunk/ocarina@740 129961e7-ef38-4bb5-a8f7-c9a525a55882
parent 4aacce28
...@@ -1322,7 +1322,7 @@ package body Ocarina.Backends.PO_HI_C.Deployment is ...@@ -1322,7 +1322,7 @@ package body Ocarina.Backends.PO_HI_C.Deployment is
(Get_Bound_Processor (Get_Bound_Processor
(Corresponding_Instance (Q))); (Corresponding_Instance (Q)));
case Execution_Platform is case Execution_Platform is
when Platform_Native | Platform_None => when Platform_Native | Platform_None | Platform_X86_RTEMS =>
Append_Node_To_List Append_Node_To_List
(RE (RE_Littleendian), CTN.Values (Endiannesses)); (RE (RE_Littleendian), CTN.Values (Endiannesses));
......
...@@ -155,6 +155,9 @@ package body Ocarina.Backends.PO_HI_C is ...@@ -155,6 +155,9 @@ package body Ocarina.Backends.PO_HI_C is
when Platform_LEON_RTEMS => when Platform_LEON_RTEMS =>
Write_Str ("leon.rtems"); Write_Str ("leon.rtems");
when Platform_X86_RTEMS =>
Write_Str ("x86.rtems");
when Platform_ARM_DSLINUX => when Platform_ARM_DSLINUX =>
Write_Str ("arm.dslinux"); Write_Str ("arm.dslinux");
......
...@@ -286,6 +286,7 @@ package body Ocarina.Backends.Properties is ...@@ -286,6 +286,7 @@ package body Ocarina.Backends.Properties is
Platform_Native_Name : Name_Id; Platform_Native_Name : Name_Id;
Platform_LEON_RTEMS_Name : Name_Id; Platform_LEON_RTEMS_Name : Name_Id;
Platform_X86_RTEMS_Name : Name_Id;
Platform_LEON_GNAT_Name : Name_Id; Platform_LEON_GNAT_Name : Name_Id;
Platform_LEON_ORK_Name : Name_Id; Platform_LEON_ORK_Name : Name_Id;
Platform_ERC32_ORK_Name : Name_Id; Platform_ERC32_ORK_Name : Name_Id;
...@@ -2402,6 +2403,8 @@ package body Ocarina.Backends.Properties is ...@@ -2402,6 +2403,8 @@ package body Ocarina.Backends.Properties is
return Platform_Native; return Platform_Native;
elsif P_Name = Platform_LEON_RTEMS_Name then elsif P_Name = Platform_LEON_RTEMS_Name then
return Platform_LEON_RTEMS; return Platform_LEON_RTEMS;
elsif P_Name = Platform_X86_RTEMS_Name then
return Platform_X86_RTEMS;
elsif P_Name = Platform_LEON_GNAT_Name then elsif P_Name = Platform_LEON_GNAT_Name then
return Platform_LEON_GNAT; return Platform_LEON_GNAT;
elsif P_Name = Platform_LEON_ORK_Name then elsif P_Name = Platform_LEON_ORK_Name then
...@@ -2890,6 +2893,7 @@ package body Ocarina.Backends.Properties is ...@@ -2890,6 +2893,7 @@ package body Ocarina.Backends.Properties is
Time_Hr_Name := Get_String_Name ("hr"); Time_Hr_Name := Get_String_Name ("hr");
Platform_Native_Name := Get_String_Name ("native"); Platform_Native_Name := Get_String_Name ("native");
Platform_X86_RTEMS_Name := Get_String_Name ("x86_rtems");
Platform_LEON_RTEMS_Name := Get_String_Name ("leon_rtems"); Platform_LEON_RTEMS_Name := Get_String_Name ("leon_rtems");
Platform_LEON_GNAT_Name := Get_String_Name ("leon_gnat"); Platform_LEON_GNAT_Name := Get_String_Name ("leon_gnat");
Platform_LEON_ORK_Name := Get_String_Name ("leon_ork"); Platform_LEON_ORK_Name := Get_String_Name ("leon_ork");
......
...@@ -542,6 +542,7 @@ package Ocarina.Backends.Properties is ...@@ -542,6 +542,7 @@ package Ocarina.Backends.Properties is
type Supported_Execution_Platform is type Supported_Execution_Platform is
(Platform_Native, (Platform_Native,
Platform_LEON_RTEMS, Platform_LEON_RTEMS,
Platform_X86_RTEMS,
Platform_LEON_GNAT, Platform_LEON_GNAT,
Platform_LEON_ORK, Platform_LEON_ORK,
Platform_ERC32_ORK, Platform_ERC32_ORK,
......
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