summaryrefslogtreecommitdiffstats
path: root/gcc/ada/s-vxwext.ads
diff options
context:
space:
mode:
authorcharlet <charlet@138bc75d-0d04-0410-961f-82ee72b054a4>2009-06-24 09:41:39 +0000
committercharlet <charlet@138bc75d-0d04-0410-961f-82ee72b054a4>2009-06-24 09:41:39 +0000
commit983b1ca857786f66942e4dcf59199f054c5f761f (patch)
treeb139b0d558f241992058a451e7afb4d494e288f9 /gcc/ada/s-vxwext.ads
parent08d56cd132b9c87ba6eb48ea972d4c9559618fd0 (diff)
downloadppe42-gcc-983b1ca857786f66942e4dcf59199f054c5f761f.tar.gz
ppe42-gcc-983b1ca857786f66942e4dcf59199f054c5f761f.zip
2009-06-24 Vincent Celier <celier@adacore.com>
* prj-nmsc.adb (Check): A project declared abstract is legal if no attribute Source_Dirs, Source_Files, Source_List_File or Languages is declared. 2009-06-24 Robert Dewar <dewar@adacore.com> * clean.adb, gnatcmd.adb, make.adb, mlib-prj.adb, prj-env.adb: Minor reformatting 2009-06-24 Ed Falis <falis@adacore.com> * s-taprop-vxworks.adb, s-osinte-vxworks.ads, s-vxwext.ads, s-vxwext-kernel.adb, s-vxwext-kernel.ads, s-vxwext-rtp.adb, s-tasinf-vxworks.ads, gcc-interface/Makefile.in: Add processor affinity support for VxWorks SMP. * gcc-interface/Make-lang.in: Update dependencies git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@148902 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/ada/s-vxwext.ads')
-rw-r--r--gcc/ada/s-vxwext.ads9
1 files changed, 9 insertions, 0 deletions
diff --git a/gcc/ada/s-vxwext.ads b/gcc/ada/s-vxwext.ads
index bc458395c8b..f1906a68734 100644
--- a/gcc/ada/s-vxwext.ads
+++ b/gcc/ada/s-vxwext.ads
@@ -81,4 +81,13 @@ package System.VxWorks.Ext is
function Set_Time_Slice (ticks : int) return int;
pragma Import (C, Set_Time_Slice, "kernelTimeSlice");
+ --------------------------------
+ -- Processor Affinity for SMP --
+ --------------------------------
+
+ function taskCpuAffinitySet (tid : t_id; CPU : int) return int;
+ pragma Convention (C, taskCpuAffinitySet);
+ -- For SMP run-times set the CPU affinity.
+ -- For uniprocessor systems return ERROR status.
+
end System.VxWorks.Ext;
OpenPOWER on IntegriCloud