diff options
author | Sebastian Huber <sebastian.huber@embedded-brains.de> | 2018-01-23 09:53:06 +0100 |
---|---|---|
committer | Sebastian Huber <sebastian.huber@embedded-brains.de> | 2018-01-29 06:58:28 +0100 |
commit | bc96f3b4b889891cb685c4bbcaf12166ca08331c (patch) | |
tree | f83b796d2dcc1bfbad1501d8e40a3c4277695e86 /cpukit/include/adainclude/rtems.adb | |
parent | ada: Fix RTEMS.Time_t (diff) | |
download | rtems-bc96f3b4b889891cb685c4bbcaf12166ca08331c.tar.bz2 |
ada: Introduce RTEMS.Size type
Some time ago the Classic API object size related parameters were
changed to use size_t. Reflect this in the Ada bindings.
Update #3082.
Diffstat (limited to 'cpukit/include/adainclude/rtems.adb')
-rw-r--r-- | cpukit/include/adainclude/rtems.adb | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/cpukit/include/adainclude/rtems.adb b/cpukit/include/adainclude/rtems.adb index e717f42bab..d88f1827b4 100644 --- a/cpukit/include/adainclude/rtems.adb +++ b/cpukit/include/adainclude/rtems.adb @@ -229,4 +229,11 @@ package body RTEMS is Shutdown_Executive_Base (Status); end Shutdown_Executive; + function Minimum_Stack_Size return RTEMS.Size is + size : RTEMS.Unsigned32; + pragma Import (C, size, "rtems_minimum_stack_size"); + begin + return RTEMS.Size (size); + end Minimum_Stack_Size; + end RTEMS; |