Changeset 50a56dff in rtems


Ignore:
Timestamp:
Jun 24, 2016, 9:16:35 AM (3 years ago)
Author:
Sebastian Huber <sebastian.huber@…>
Branches:
master
Children:
1c77a36
Parents:
14de20f
git-author:
Sebastian Huber <sebastian.huber@…> (06/24/16 09:16:35)
git-committer:
Sebastian Huber <sebastian.huber@…> (06/24/16 09:52:57)
Message:

score: Move SCHEDULER_EDF_PRIO_MSB

This is an implementation detail of the EDF scheduler.

Files:
6 edited

Legend:

Unmodified
Added
Removed
  • cpukit/score/include/rtems/score/scheduleredf.h

    r14de20f r50a56dff  
    6060  }
    6161
    62 /**
    63  * This is just a most significant bit of Priority_Control type. It
    64  * distinguishes threads which are deadline driven (priority
    65  * represented by a lower number than @a SCHEDULER_EDF_PRIO_MSB) from those
    66  * ones who do not have any deadlines and thus are considered background
    67  * tasks.
    68  */
    69 #define SCHEDULER_EDF_PRIO_MSB 0x80000000
    70 
    7162typedef struct {
    7263  /**
  • cpukit/score/include/rtems/score/scheduleredfimpl.h

    r14de20f r50a56dff  
    3131 * @{
    3232 */
     33
     34/**
     35 * This is just a most significant bit of Priority_Control type. It
     36 * distinguishes threads which are deadline driven (priority
     37 * represented by a lower number than @a SCHEDULER_EDF_PRIO_MSB) from those
     38 * ones who do not have any deadlines and thus are considered background
     39 * tasks.
     40 */
     41#define SCHEDULER_EDF_PRIO_MSB 0x80000000
    3342
    3443RTEMS_INLINE_ROUTINE Scheduler_EDF_Context *
  • cpukit/score/src/schedulercbscreateserver.c

    r14de20f r50a56dff  
    2020
    2121#include <rtems/score/schedulercbs.h>
     22#include <rtems/score/scheduleredfimpl.h>
    2223
    2324int _Scheduler_CBS_Create_server (
  • cpukit/score/src/schedulercbssetparameters.c

    r14de20f r50a56dff  
    2020#endif
    2121
    22 #include <rtems/system.h>
    23 #include <rtems/config.h>
    24 #include <rtems/score/scheduler.h>
    2522#include <rtems/score/schedulercbs.h>
     23#include <rtems/score/scheduleredfimpl.h>
    2624
    2725int _Scheduler_CBS_Set_parameters (
  • testsuites/sptests/spcbssched02/init.c

    r14de20f r50a56dff  
    2323#define CONFIGURE_INIT
    2424#include "system.h"
     25
     26#include <rtems/score/scheduleredfimpl.h>
    2527
    2628const char rtems_test_name[] = "SPCBSSCHED 2";
  • testsuites/sptests/spqreslib/init.c

    r14de20f r50a56dff  
    1919#define CONFIGURE_INIT
    2020#include "system.h"
     21
     22#include <rtems/score/scheduleredfimpl.h>
    2123
    2224const char rtems_test_name[] = "SPQRESLIB";
Note: See TracChangeset for help on using the changeset viewer.