From 861e94d98a166ffe061925d0a86f4d6af5221206 Mon Sep 17 00:00:00 2001 From: Joel Sherrill Date: Tue, 2 Nov 1999 15:35:58 +0000 Subject: [PATCH] Added comment to make sure Classic API priority to Core priority is added in the future. --- c/src/exec/rtems/src/tasksetpriority.c | 1 + cpukit/rtems/src/tasksetpriority.c | 1 + 2 files changed, 2 insertions(+) diff --git a/c/src/exec/rtems/src/tasksetpriority.c b/c/src/exec/rtems/src/tasksetpriority.c index 546ea3d537..469dde3ee4 100644 --- a/c/src/exec/rtems/src/tasksetpriority.c +++ b/c/src/exec/rtems/src/tasksetpriority.c @@ -83,6 +83,7 @@ rtems_status_code rtems_task_set_priority( return RTEMS_INVALID_ID; case OBJECTS_LOCAL: + /* XXX convert from core priority */ *old_priority = the_thread->current_priority; if ( new_priority != RTEMS_CURRENT_PRIORITY ) { the_thread->real_priority = new_priority; diff --git a/cpukit/rtems/src/tasksetpriority.c b/cpukit/rtems/src/tasksetpriority.c index 546ea3d537..469dde3ee4 100644 --- a/cpukit/rtems/src/tasksetpriority.c +++ b/cpukit/rtems/src/tasksetpriority.c @@ -83,6 +83,7 @@ rtems_status_code rtems_task_set_priority( return RTEMS_INVALID_ID; case OBJECTS_LOCAL: + /* XXX convert from core priority */ *old_priority = the_thread->current_priority; if ( new_priority != RTEMS_CURRENT_PRIORITY ) { the_thread->real_priority = new_priority;