summaryrefslogtreecommitdiff
path: root/gcc/ada/s-vxwext-rtp.adb
diff options
context:
space:
mode:
Diffstat (limited to 'gcc/ada/s-vxwext-rtp.adb')
-rw-r--r--gcc/ada/s-vxwext-rtp.adb39
1 files changed, 29 insertions, 10 deletions
diff --git a/gcc/ada/s-vxwext-rtp.adb b/gcc/ada/s-vxwext-rtp.adb
index b11dde27d32..39b7acf4c13 100644
--- a/gcc/ada/s-vxwext-rtp.adb
+++ b/gcc/ada/s-vxwext-rtp.adb
@@ -6,7 +6,7 @@
-- --
-- B o d y --
-- --
--- Copyright (C) 2008-2009, Free Software Foundation, Inc. --
+-- Copyright (C) 2008-2010, Free Software Foundation, Inc. --
-- --
-- GNARL is free software; you can redistribute it and/or modify it under --
-- terms of the GNU General Public License as published by the Free Soft- --
@@ -53,15 +53,9 @@ package body System.VxWorks.Ext is
return ERROR;
end Int_Unlock;
- --------------------
- -- Set_Time_Slice --
- --------------------
-
- function Set_Time_Slice (ticks : int) return int is
- pragma Unreferenced (ticks);
- begin
- return ERROR;
- end Set_Time_Slice;
+ -----------------------
+ -- Interrupt_Connect --
+ -----------------------
function Interrupt_Connect
(Vector : Interrupt_Vector;
@@ -72,6 +66,21 @@ package body System.VxWorks.Ext is
return ERROR;
end Interrupt_Connect;
+ -----------------------
+ -- Interrupt_Context --
+ -----------------------
+
+ function Interrupt_Context return int is
+ begin
+ -- For RTPs, never in an interrupt context
+
+ return 0;
+ end Interrupt_Context;
+
+ --------------------------------
+ -- Interrupt_Number_To_Vector --
+ --------------------------------
+
function Interrupt_Number_To_Vector
(intNum : int) return Interrupt_Vector is
pragma Unreferenced (intNum);
@@ -79,6 +88,16 @@ package body System.VxWorks.Ext is
return 0;
end Interrupt_Number_To_Vector;
+ --------------------
+ -- Set_Time_Slice --
+ --------------------
+
+ function Set_Time_Slice (ticks : int) return int is
+ pragma Unreferenced (ticks);
+ begin
+ return ERROR;
+ end Set_Time_Slice;
+
------------------------
-- taskCpuAffinitySet --
------------------------