Commit 83af8d68 authored by Philipp Eppelt's avatar Philipp Eppelt
Browse files

NEW: Support for the new POK BSP x86_qemu_vmm

parent d295b794
...@@ -73,6 +73,7 @@ property set POK is ...@@ -73,6 +73,7 @@ property set POK is
Available_BSP : type enumeration Available_BSP : type enumeration
( (
x86_qemu, x86_qemu,
x86_qemu_vmm,
prep, prep,
leon3 leon3
); );
......
...@@ -658,6 +658,8 @@ package body Ocarina.Backends.POK_C.Makefile is ...@@ -658,6 +658,8 @@ package body Ocarina.Backends.POK_C.Makefile is
case BSP is case BSP is
when POK_BSP_x86_qemu => when POK_BSP_x86_qemu =>
Write_Line ("export BSP=x86-qemu"); Write_Line ("export BSP=x86-qemu");
when POK_BSP_x86_qemu_vmm =>
Write_Line ("export BSP=x86-qemu-vmm");
when POK_BSP_Leon => when POK_BSP_Leon =>
Write_Line ("export BSP=leon3"); Write_Line ("export BSP=leon3");
when POK_BSP_prep => when POK_BSP_prep =>
......
...@@ -366,6 +366,7 @@ package body Ocarina.Backends.Properties is ...@@ -366,6 +366,7 @@ package body Ocarina.Backends.Properties is
POK_Arch_x86_Name : Name_Id; POK_Arch_x86_Name : Name_Id;
POK_BSP_x86_qemu_Name : Name_Id; POK_BSP_x86_qemu_Name : Name_Id;
POK_BSP_x86_qemu_vmm_Name : Name_Id;
POK_Arch_Sparc_Name : Name_Id; POK_Arch_Sparc_Name : Name_Id;
POK_BSP_Leon_Name : Name_Id; POK_BSP_Leon_Name : Name_Id;
POK_Arch_ppc_Name : Name_Id; POK_Arch_ppc_Name : Name_Id;
...@@ -3485,6 +3486,7 @@ package body Ocarina.Backends.Properties is ...@@ -3485,6 +3486,7 @@ package body Ocarina.Backends.Properties is
POK_Arch_x86_Name := Get_String_Name ("x86"); POK_Arch_x86_Name := Get_String_Name ("x86");
POK_BSP_x86_qemu_Name := Get_String_Name ("x86_qemu"); POK_BSP_x86_qemu_Name := Get_String_Name ("x86_qemu");
POK_BSP_x86_qemu_vmm_Name := Get_String_Name ("x86_qemu_vmm");
POK_Arch_Sparc_Name := Get_String_Name ("sparc"); POK_Arch_Sparc_Name := Get_String_Name ("sparc");
POK_BSP_Leon_Name := Get_String_Name ("leon3"); POK_BSP_Leon_Name := Get_String_Name ("leon3");
POK_Arch_ppc_Name := Get_String_Name ("ppc"); POK_Arch_ppc_Name := Get_String_Name ("ppc");
...@@ -3631,6 +3633,8 @@ package body Ocarina.Backends.Properties is ...@@ -3631,6 +3633,8 @@ package body Ocarina.Backends.Properties is
if P_Name = POK_BSP_x86_qemu_Name then if P_Name = POK_BSP_x86_qemu_Name then
return POK_BSP_x86_qemu; return POK_BSP_x86_qemu;
elsif P_Name = POK_BSP_x86_qemu_vmm_Name then
return POK_BSP_x86_qemu_vmm;
elsif P_Name = POK_BSP_prep_Name then elsif P_Name = POK_BSP_prep_Name then
return POK_BSP_prep; return POK_BSP_prep;
elsif P_Name = POK_BSP_Leon_Name then elsif P_Name = POK_BSP_Leon_Name then
......
...@@ -116,6 +116,7 @@ package Ocarina.Backends.Properties is ...@@ -116,6 +116,7 @@ package Ocarina.Backends.Properties is
type Supported_POK_BSP is type Supported_POK_BSP is
(POK_BSP_x86_qemu, (POK_BSP_x86_qemu,
POK_BSP_x86_qemu_vmm,
POK_BSP_Leon, POK_BSP_Leon,
POK_BSP_prep, POK_BSP_prep,
Invalid_BSP); Invalid_BSP);
......
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