[PATCH] Return invalid mode for !preempt and interrupt disable modes when SMP

2017-10-27 Thread Joel Sherrill
This impacts rtems_task_mode() and rtems_task_create(). updates #3000. --- c/src/ada/rtems.ads | 3 ++- cpukit/rtems/include/rtems/rtems/status.h | 10 -- cpukit/rtems/src/statustext.c | 1 + cpukit/rtems/src/taskcreate.c | 19 ++

Re: [PATCH] Return invalid mode for !preempt and interrupt disable modes when SMP

2017-10-12 Thread Sebastian Huber
On 12/10/17 20:45, Joel Sherrill wrote: - RTEMS_PROXY_BLOCKING = 28 + RTEMS_PROXY_BLOCKING = 29 I would not change existing status code values. -- Sebastian Huber, embedded brains GmbH Address : Dornierstr. 4, D-82178 Puchheim, Germany Phone : +49 89 189 47 41-16 Fax

[PATCH] Return invalid mode for !preempt and interrupt disable modes when SMP

2017-10-12 Thread Joel Sherrill
This impacts rtems_task_mode() and rtems_task_create(). Closes #3000. --- c-user/directive_status_codes.rst | 4 c-user/task_manager.rst | 8 2 files changed, 12 insertions(+) diff --git a/c-user/directive_status_codes.rst b/c-user/directive_status_codes.rst index 420a0a

[PATCH] Return invalid mode for !preempt and interrupt disable modes when SMP

2017-10-12 Thread Joel Sherrill
This impacts rtems_task_mode() and rtems_task_create(). updates #3000. --- c/src/ada/rtems.ads | 3 ++- cpukit/rtems/include/rtems/rtems/status.h | 10 -- cpukit/rtems/src/statustext.c | 1 + cpukit/rtems/src/taskcreate.c | 19 ++