diff options
Diffstat (limited to 'cpukit/rtems/include/rtems/rtems/support.h')
-rw-r--r-- | cpukit/rtems/include/rtems/rtems/support.h | 30 |
1 files changed, 30 insertions, 0 deletions
diff --git a/cpukit/rtems/include/rtems/rtems/support.h b/cpukit/rtems/include/rtems/rtems/support.h index 6c9555bb00..23a88c0e77 100644 --- a/cpukit/rtems/include/rtems/rtems/support.h +++ b/cpukit/rtems/include/rtems/rtems/support.h @@ -20,7 +20,9 @@ extern "C" { #endif +#include <sys/types.h> #include <rtems/rtems/types.h> +#include <rtems/rtems/status.h> /* * rtems_build_name @@ -86,6 +88,34 @@ extern "C" { #define RTEMS_MICROSECONDS_TO_TICKS(_ms) \ TOD_MICROSECONDS_TO_TICKS(_ms) +/* + * Workspace Related + */ + +/* + * rtems_workspace_get_information + * + * DESCRIPTION: + * + * This directive will return information about the RTEMS + * executive workspace. + */ + +rtems_status_code rtems_workspace_get_information( + Heap_Information_block *the_info +); + +/* + * rtems_workspace_free_space + * + * DESCRIPTION: + * + * This directive will return the number of bytes available in the RTEMS + * executive workspace. This area is probably not be contiguous. + */ + +size_t rtems_workspace_free_space(void); + #ifndef __RTEMS_APPLICATION__ #include <rtems/rtems/support.inl> #endif |