summaryrefslogtreecommitdiffstats
path: root/rtemsbsd/include/rtems/bsd/bsd.h
diff options
context:
space:
mode:
Diffstat (limited to 'rtemsbsd/include/rtems/bsd/bsd.h')
-rw-r--r--rtemsbsd/include/rtems/bsd/bsd.h13
1 files changed, 13 insertions, 0 deletions
diff --git a/rtemsbsd/include/rtems/bsd/bsd.h b/rtemsbsd/include/rtems/bsd/bsd.h
index 6aea27f2..2e161e97 100644
--- a/rtemsbsd/include/rtems/bsd/bsd.h
+++ b/rtemsbsd/include/rtems/bsd/bsd.h
@@ -90,6 +90,19 @@ rtems_status_code rtems_bsd_initialize(void);
*/
rtems_task_priority rtems_bsd_get_task_priority(const char *name);
+/**
+ * @brief Returns the stack size for a task specified by its name.
+ *
+ * Applications may provide their own implementation of this function. For
+ * example they can define their implementation in the same module which calls
+ * rtems_bsd_initialize().
+ *
+ * @param[in] name The task name.
+ *
+ * @return The desired task stack size.
+ */
+size_t rtems_bsd_get_task_stack_size(const char *name);
+
#ifdef __cplusplus
}
#endif /* __cplusplus */