diff options
author | Joel Sherrill <joel.sherrill@OARcorp.com> | 2003-11-25 14:07:32 +0000 |
---|---|---|
committer | Joel Sherrill <joel.sherrill@OARcorp.com> | 2003-11-25 14:07:32 +0000 |
commit | 0ae745c493b1155b2a76733413827f93777c572a (patch) | |
tree | 0a9a031aeb0ee70fe9f1201bbf62b2da4f269906 /cpukit/ada | |
parent | 2003-11-21 Joel Sherrill <joel@OARcorp.com> (diff) | |
download | rtems-0ae745c493b1155b2a76733413827f93777c572a.tar.bz2 |
2003-11-25 Joel Sherrill <joel@OARcorp.com>
PR 528/rtems_misc
* rtems.ads: Add task variables to Ada binding.
Diffstat (limited to 'cpukit/ada')
-rw-r--r-- | cpukit/ada/ChangeLog | 5 | ||||
-rw-r--r-- | cpukit/ada/rtems.ads | 24 |
2 files changed, 29 insertions, 0 deletions
diff --git a/cpukit/ada/ChangeLog b/cpukit/ada/ChangeLog index dd8d4f9a99..521e05b4f7 100644 --- a/cpukit/ada/ChangeLog +++ b/cpukit/ada/ChangeLog @@ -1,3 +1,8 @@ +2003-11-25 Joel Sherrill <joel@OARcorp.com> + + PR 528/rtems_misc + * rtems.ads: Add task variables to Ada binding. + 2003-09-04 Joel Sherrill <joel@OARcorp.com> * rtems-multiprocessing.adb, rtems-multiprocessing.ads, rtems.adb, diff --git a/cpukit/ada/rtems.ads b/cpukit/ada/rtems.ads index 7e0e32d7c2..de86703552 100644 --- a/cpukit/ada/rtems.ads +++ b/cpukit/ada/rtems.ads @@ -897,6 +897,30 @@ pragma Elaborate_Body (RTEMS); Note : in RTEMS.Unsigned32; Result : out RTEMS.Status_Codes ); + + type Task_Variable_Dtor is access procedure ( + Argument : in RTEMS.Address; + ); + + procedure Task_Variable_Add ( + ID : in RTEMS.ID; + Task_Variable : in RTEMS.Address; + Dtor : in RTEMS.Task_Variable_Dtor; + Result : out RTEMS.Status_Codes + ); + + procedure Task_Variable_Get ( + ID : in RTEMS.ID; + Task_Variable : out RTEMS.Address; + Task_Variable_Value : out RTEMS.Address; + Result : out RTEMS.Status_Codes + ); + + procedure Task_Variable_Delete ( + ID : in RTEMS.ID; + Task_Variable : out RTEMS.Address; + Result : out RTEMS.Status_Codes + ); procedure Task_Wake_When ( Time_Buffer : in RTEMS.Time_Of_Day; |