aboutsummaryrefslogtreecommitdiff
path: root/gcc/ada/s-vxwext-kernel.adb
diff options
context:
space:
mode:
authorArnaud Charlet <charlet@gcc.gnu.org>2015-01-30 16:06:14 +0100
committerArnaud Charlet <charlet@gcc.gnu.org>2015-01-30 16:06:14 +0100
commit2c6336bec3f0a2db44fa56e7448aaf119aa6665c (patch)
tree8432c210f1c0904e02463c384d2865634f6ba147 /gcc/ada/s-vxwext-kernel.adb
parent46413d9ea9ce2b3d5b59cc141842fa2d84d74b69 (diff)
downloadgcc-2c6336bec3f0a2db44fa56e7448aaf119aa6665c.zip
gcc-2c6336bec3f0a2db44fa56e7448aaf119aa6665c.tar.gz
gcc-2c6336bec3f0a2db44fa56e7448aaf119aa6665c.tar.bz2
[multiple changes]
2015-01-30 Gary Dismukes <dismukes@adacore.com> * freeze.adb: Minor reformatting. 2015-01-30 Javier Miranda <miranda@adacore.com> * errout.ads (Error_Msg_PT): Replace Node_Id by Entity_Id and improve its documentation. * errout.adb (Error_Msg_PT): Improve the error message. * sem_ch6.adb (Check_Conformance): Update call to Error_Msg_PT. (Check_Synchronized_Overriding): Update call to Error_Msg_PT. * sem_ch3.adb (Check_Abstract_Overriding): Code cleanup. 2015-01-30 Robert Dewar <dewar@adacore.com> * sem_warn.adb (Warn_On_Known_Condition): Do special casing of message for False case. 2015-01-30 Doug Rupp <rupp@adacore.com> * s-vxwext-kernel.ads (Task_Cont): Remove imported subprogram body. * s-vxwext-kernel.adb (Task_Cont): New subpprogram body specialized for kernel. From-SVN: r220284
Diffstat (limited to 'gcc/ada/s-vxwext-kernel.adb')
-rw-r--r--gcc/ada/s-vxwext-kernel.adb13
1 files changed, 12 insertions, 1 deletions
diff --git a/gcc/ada/s-vxwext-kernel.adb b/gcc/ada/s-vxwext-kernel.adb
index 584de4f..404e9aa 100644
--- a/gcc/ada/s-vxwext-kernel.adb
+++ b/gcc/ada/s-vxwext-kernel.adb
@@ -6,7 +6,7 @@
-- --
-- B o d y --
-- --
--- Copyright (C) 2008-2014, Free Software Foundation, Inc. --
+-- Copyright (C) 2008-2015, 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- --
@@ -86,6 +86,17 @@ package body System.VxWorks.Ext is
end taskMaskAffinitySet;
--------------
+ -- taskCont --
+ --------------
+
+ function Task_Cont (tid : t_id) return int is
+ function taskCont (tid : t_id) return int;
+ pragma Import (C, taskCont, "taskCont");
+ begin
+ return taskCont (tid);
+ end Task_Cont;
+
+ --------------
-- taskStop --
--------------