diff options
author | Sebastian Huber <sebastian.huber@embedded-brains.de> | 2018-11-08 12:57:26 +0100 |
---|---|---|
committer | Sebastian Huber <sebastian.huber@embedded-brains.de> | 2018-11-12 13:25:41 +0100 |
commit | e897c7dd76401bf880c179c875c25dc8954a3688 (patch) | |
tree | c74bf1b4b66a3c5fb266a8c134ca6e47fd33dfce /cpukit/rtems/src/rtemsmaxprio.c | |
parent | rtems: Avoid include of <rtems/score/thread.h> (diff) | |
download | rtems-e897c7dd76401bf880c179c875c25dc8954a3688.tar.bz2 |
rtems: Avoid include of <rtems/score/scheduler.h>
Update #3598.
Diffstat (limited to 'cpukit/rtems/src/rtemsmaxprio.c')
-rw-r--r-- | cpukit/rtems/src/rtemsmaxprio.c | 31 |
1 files changed, 31 insertions, 0 deletions
diff --git a/cpukit/rtems/src/rtemsmaxprio.c b/cpukit/rtems/src/rtemsmaxprio.c new file mode 100644 index 0000000000..5a46c6be91 --- /dev/null +++ b/cpukit/rtems/src/rtemsmaxprio.c @@ -0,0 +1,31 @@ +/** + * @file + * + * @ingroup ClassicTasksImpl + */ + +/* + * Copyright (c) 2018 embedded brains GmbH. All rights reserved. + * + * embedded brains GmbH + * Dornierstr. 4 + * 82178 Puchheim + * Germany + * <rtems@embedded-brains.de> + * + * The license and distribution terms for this file may be + * found in the file LICENSE in this distribution or at + * http://www.rtems.com/license/LICENSE. + */ + +#ifdef HAVE_CONFIG_H +#include "config.h" +#endif + +#include <rtems/rtems/tasks.h> +#include <rtems/score/scheduler.h> + +rtems_task_priority _RTEMS_Maximum_priority( void ) +{ + return PRIORITY_MAXIMUM; +} |