Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
O
Ocarina
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
2
Issues
2
List
Boards
Labels
Service Desk
Milestones
Merge Requests
0
Merge Requests
0
Operations
Operations
Incidents
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
TASTE
Ocarina
Commits
83af8d68
Commit
83af8d68
authored
May 12, 2014
by
Philipp Eppelt
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
NEW: Support for the new POK BSP x86_qemu_vmm
parent
d295b794
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
8 additions
and
0 deletions
+8
-0
resources/AADLv2/pok_properties.aadl
resources/AADLv2/pok_properties.aadl
+1
-0
src/backends/ocarina-backends-pok_c-makefile.adb
src/backends/ocarina-backends-pok_c-makefile.adb
+2
-0
src/backends/ocarina-backends-properties.adb
src/backends/ocarina-backends-properties.adb
+4
-0
src/backends/ocarina-backends-properties.ads
src/backends/ocarina-backends-properties.ads
+1
-0
No files found.
resources/AADLv2/pok_properties.aadl
View file @
83af8d68
...
...
@@ -73,6 +73,7 @@ property set POK is
Available_BSP : type enumeration
(
x86_qemu,
x86_qemu_vmm,
prep,
leon3
);
...
...
src/backends/ocarina-backends-pok_c-makefile.adb
View file @
83af8d68
...
...
@@ -658,6 +658,8 @@ package body Ocarina.Backends.POK_C.Makefile is
case
BSP
is
when
POK_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
=>
Write_Line
(
"export BSP=leon3"
);
when
POK_BSP_prep
=>
...
...
src/backends/ocarina-backends-properties.adb
View file @
83af8d68
...
...
@@ -366,6 +366,7 @@ package body Ocarina.Backends.Properties is
POK_Arch_x86_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_BSP_Leon_Name
:
Name_Id
;
POK_Arch_ppc_Name
:
Name_Id
;
...
...
@@ -3485,6 +3486,7 @@ package body Ocarina.Backends.Properties is
POK_Arch_x86_Name
:=
Get_String_Name
(
"x86"
);
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_BSP_Leon_Name
:=
Get_String_Name
(
"leon3"
);
POK_Arch_ppc_Name
:=
Get_String_Name
(
"ppc"
);
...
...
@@ -3631,6 +3633,8 @@ package body Ocarina.Backends.Properties is
if
P_Name
=
POK_BSP_x86_qemu_Name
then
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
return
POK_BSP_prep
;
elsif
P_Name
=
POK_BSP_Leon_Name
then
...
...
src/backends/ocarina-backends-properties.ads
View file @
83af8d68
...
...
@@ -116,6 +116,7 @@ package Ocarina.Backends.Properties is
type
Supported_POK_BSP
is
(
POK_BSP_x86_qemu
,
POK_BSP_x86_qemu_vmm
,
POK_BSP_Leon
,
POK_BSP_prep
,
Invalid_BSP
);
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment