From e897c7dd76401bf880c179c875c25dc8954a3688 Mon Sep 17 00:00:00 2001 From: Sebastian Huber Date: Thu, 8 Nov 2018 12:57:26 +0100 Subject: rtems: Avoid include of Update #3598. --- cpukit/rtems/src/rtemsmaxprio.c | 31 +++++++++++++++++++++++++++++++ 1 file changed, 31 insertions(+) create mode 100644 cpukit/rtems/src/rtemsmaxprio.c (limited to 'cpukit/rtems/src/rtemsmaxprio.c') 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 + * + * + * 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 +#include + +rtems_task_priority _RTEMS_Maximum_priority( void ) +{ + return PRIORITY_MAXIMUM; +} -- cgit v1.2.3