diff options
Diffstat (limited to 'rtemsbsd/include/rtems/bsd/bsd.h')
-rw-r--r-- | rtemsbsd/include/rtems/bsd/bsd.h | 15 |
1 files changed, 14 insertions, 1 deletions
diff --git a/rtemsbsd/include/rtems/bsd/bsd.h b/rtemsbsd/include/rtems/bsd/bsd.h index a9118ecc..6aea27f2 100644 --- a/rtemsbsd/include/rtems/bsd/bsd.h +++ b/rtemsbsd/include/rtems/bsd/bsd.h @@ -7,7 +7,7 @@ */ /* - * Copyright (c) 2009-2013 embedded brains GmbH. All rights reserved. + * Copyright (c) 2009-2015 embedded brains GmbH. All rights reserved. * * embedded brains GmbH * Dornierstr. 4 @@ -77,6 +77,19 @@ typedef struct { rtems_status_code rtems_bsd_initialize(void); +/** + * @brief Returns the initial priority 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 initial task priority. + */ +rtems_task_priority rtems_bsd_get_task_priority(const char *name); + #ifdef __cplusplus } #endif /* __cplusplus */ |