Changeset e897c7d in rtems for cpukit


Ignore:
Timestamp:
Nov 8, 2018, 11:57:26 AM (8 months ago)
Author:
Sebastian Huber <sebastian.huber@…>
Branches:
master
Children:
a6e7d5e4
Parents:
2fa014db
git-author:
Sebastian Huber <sebastian.huber@…> (11/08/18 11:57:26)
git-committer:
Sebastian Huber <sebastian.huber@…> (11/12/18 12:25:41)
Message:

rtems: Avoid include of <rtems/score/scheduler.h>

Update #3598.

Location:
cpukit
Files:
1 added
4 edited

Legend:

Unmodified
Added
Removed
  • cpukit/Makefile.am

    r2fa014db re897c7d  
    739739librtemscpu_a_SOURCES += rtems/src/rtemsbuildid.c
    740740librtemscpu_a_SOURCES += rtems/src/rtemsbuildname.c
     741librtemscpu_a_SOURCES += rtems/src/rtemsmaxprio.c
    741742librtemscpu_a_SOURCES += rtems/src/rtemsobjectapimaximumclass.c
    742743librtemscpu_a_SOURCES += rtems/src/rtemsobjectapiminimumclass.c
  • cpukit/include/rtems/rtems/tasks.h

    r2fa014db re897c7d  
    1919#define _RTEMS_RTEMS_TASKS_H
    2020
    21 #include <rtems/score/scheduler.h>
    2221#include <rtems/rtems/attr.h>
    2322#include <rtems/rtems/status.h>
     
    6766 *  task priority.
    6867 */
    69 #define RTEMS_MINIMUM_PRIORITY      (PRIORITY_MINIMUM + 1)
    70 
    71 /**
    72  *  This constant is the maximum valid value for a Classic API
     68#define RTEMS_MINIMUM_PRIORITY      1
     69
     70rtems_task_priority _RTEMS_Maximum_priority( void );
     71
     72/**
     73 *  This run-time constant is the maximum valid value for a Classic API
    7374 *  task priority.
    7475 *
     
    7980 *        certain operations such as a system mode change.
    8081 */
    81 #define RTEMS_MAXIMUM_PRIORITY      ((rtems_task_priority) PRIORITY_MAXIMUM)
     82#define RTEMS_MAXIMUM_PRIORITY      _RTEMS_Maximum_priority()
    8283
    8384/**
     
    8586 *  caller wants to obtain the current priority.
    8687 */
    87 #define RTEMS_CURRENT_PRIORITY      PRIORITY_MINIMUM
     88#define RTEMS_CURRENT_PRIORITY      0
    8889
    8990struct _Thread_Control;
  • cpukit/include/rtems/rtems/tasksdata.h

    r2fa014db re897c7d  
    2222#include <rtems/rtems/asrdata.h>
    2323#include <rtems/rtems/eventdata.h>
     24#include <rtems/score/thread.h>
    2425
    2526#ifdef __cplusplus
  • cpukit/include/rtems/rtems/types.h

    r2fa014db re897c7d  
    2323 */
    2424
     25#include <sys/cpuset.h>
    2526#include <sys/_timespec.h>
    2627#include <sys/_timeval.h>
Note: See TracChangeset for help on using the changeset viewer.