From e1598a616db1e9dadfd74abeb20b1f1ec5daaa7f Mon Sep 17 00:00:00 2001 From: Sebastian Huber Date: Fri, 4 Apr 2014 10:56:36 +0200 Subject: score: Static scheduler configuration Do not allocate the scheduler control structures from the workspace. This is a preparation step for configuration of clustered/partitioned schedulers on SMP. --- doc/user/conf.t | 16 +++++++++------- 1 file changed, 9 insertions(+), 7 deletions(-) (limited to 'doc') diff --git a/doc/user/conf.t b/doc/user/conf.t index c0bb35ac43..afecef1c65 100644 --- a/doc/user/conf.t +++ b/doc/user/conf.t @@ -3716,10 +3716,10 @@ support enabled. @code{CONFIGURE_SCHEDULER_USER} @item DATA TYPE: -Entry points for scheduler +Boolean feature macro. @item RANGE: -Undefined or scheduler entry set +Defined or undefined. @item DEFAULT VALUE: This is not defined by default. @@ -3734,12 +3734,14 @@ own scheduling algorithm. If @code{CONFIGURE_SCHEDULER_USER} is defined then the following additional macros must be defined: @itemize @bullet -@item @code{CONFIGURE_MEMORY_FOR_SCHEDULER} must be defined with the -amount of memory required as a base amount for the scheduler. +@item @code{CONFIGURE_SCHEDULER_CONTEXT} must be defined to a static definition +of the scheduler context of the user scheduler. + +@item @code{CONFIGURE_SCHEDULER_CONTROLS} must be defined to a scheduler +control initializer for the user scheduler. -@item @code{CONFIGURE_MEMORY_PER_TASK_FOR_SCHEDULER(_tasks)} must be -defined as a formula which computes the amount of memory required based -upon the number of tasks configured. +@item @code{CONFIGURE_SCHEDULER_USER_PER_THREAD} must be defined to the type of +the per-thread information of the user scheduler. @end itemize -- cgit v1.2.3