score: SMP_FATAL_SCHEDULER_WITHOUT_PROCESSORS

Avoid the SMP_FATAL_SCHEDULER_WITHOUT_PROCESSORS fatal error and make it
a run-time error in rtems_scheduler_ident() and _Scheduler_Get_by_id().
This commit is contained in:
Sebastian Huber
2014-04-29 16:09:35 +02:00
parent d20b029af9
commit e239760f6a
14 changed files with 82 additions and 147 deletions

View File

@@ -3931,8 +3931,6 @@ processors. The processor demand must be reduced for this system.
mandatory processor failed during system initialization. The system may not
have this processor at all or it could be a problem with a boot loader for
example. Check the @code{CONFIGURE_SMP_SCHEDULER_ASSIGNMENTS} definition.
@item @code{SMP_FATAL_SCHEDULER_WITHOUT_PROCESSORS} - it is prohibited to have
a scheduler managing the empty processor set.
@item @code{SMP_FATAL_MULTITASKING_START_ON_UNASSIGNED_PROCESSOR} - it is not
allowed to start multitasking on a processor with no scheduler assigned.
@end itemize

View File

@@ -446,7 +446,9 @@ rtems_status_code rtems_scheduler_ident(
@code{@value{RPREFIX}SUCCESSFUL} - successful operation@*
@code{@value{RPREFIX}INVALID_ADDRESS} - @code{id} is NULL@*
@code{@value{RPREFIX}INVALID_NAME} - invalid scheduler name
@code{@value{RPREFIX}INVALID_NAME} - invalid scheduler name@*
@code{@value{RPREFIX}UNSATISFIED} - - a scheduler with this name exists, but
the processor set of this scheduler is empty
@subheading DESCRIPTION: