summaryrefslogtreecommitdiffstats
path: root/cpukit/score/src/schedulerdefaultmappriority.c
diff options
context:
space:
mode:
Diffstat (limited to 'cpukit/score/src/schedulerdefaultmappriority.c')
-rw-r--r--cpukit/score/src/schedulerdefaultmappriority.c21
1 files changed, 21 insertions, 0 deletions
diff --git a/cpukit/score/src/schedulerdefaultmappriority.c b/cpukit/score/src/schedulerdefaultmappriority.c
new file mode 100644
index 0000000000..37a600011e
--- /dev/null
+++ b/cpukit/score/src/schedulerdefaultmappriority.c
@@ -0,0 +1,21 @@
+/*
+ * Copyright (c) 2016 embedded brains GmbH
+ *
+ * The license and distribution terms for this file may be
+ * found in the file LICENSE in this distribution or at
+ * http://www.rtems.org/license/LICENSE.
+ */
+
+#if HAVE_CONFIG_H
+#include "config.h"
+#endif
+
+#include <rtems/score/scheduler.h>
+
+Priority_Control _Scheduler_default_Map_priority(
+ const Scheduler_Control *scheduler,
+ Priority_Control priority
+)
+{
+ return priority;
+}