summaryrefslogtreecommitdiffstats
path: root/cpukit/ada
diff options
context:
space:
mode:
authorJoel Sherrill <joel.sherrill@OARcorp.com>1999-10-21 14:49:24 +0000
committerJoel Sherrill <joel.sherrill@OARcorp.com>1999-10-21 14:49:24 +0000
commit8f2cf93145595b8b4359767e5a7922a68af3495d (patch)
tree5309cab96beb7fce9d9e1a6df1c8ebf502b1a032 /cpukit/ada
parentShipping this all to Ralf. (diff)
downloadrtems-8f2cf93145595b8b4359767e5a7922a68af3495d.tar.bz2
Added Semaphore_Flush.
Diffstat (limited to 'cpukit/ada')
-rw-r--r--cpukit/ada/rtems.adb14
-rw-r--r--cpukit/ada/rtems.ads4
2 files changed, 18 insertions, 0 deletions
diff --git a/cpukit/ada/rtems.adb b/cpukit/ada/rtems.adb
index 7a58956617..44cd0838a3 100644
--- a/cpukit/ada/rtems.adb
+++ b/cpukit/ada/rtems.adb
@@ -979,6 +979,20 @@ package body RTEMS is
end Semaphore_Release;
+ procedure Semaphore_Flush (
+ ID : in RTEMS.ID;
+ Result : out RTEMS.Status_Codes
+ ) is
+ function Semaphore_Flush_Base (
+ ID : RTEMS.ID
+ ) return RTEMS.Status_Codes;
+ pragma Import (C, Semaphore_Flush_Base, "rtems_semaphore_flush");
+ begin
+
+ Result := Semaphore_Flush_Base ( ID );
+
+ end Semaphore_Release;
+
--
-- Message Queue Manager
--
diff --git a/cpukit/ada/rtems.ads b/cpukit/ada/rtems.ads
index 6c8ce3e5d4..08d8f2a894 100644
--- a/cpukit/ada/rtems.ads
+++ b/cpukit/ada/rtems.ads
@@ -1058,6 +1058,10 @@ package RTEMS is
Result : out RTEMS.Status_Codes
);
+ procedure Semaphore_Flush (
+ ID : in RTEMS.ID;
+ Result : out RTEMS.Status_Codes
+ );
--
-- Message Queue Manager