Changeset 97a86719 in rtems for cpukit


Ignore:
Timestamp:
Nov 6, 2018, 3:57:21 PM (10 months ago)
Author:
Sebastian Huber <sebastian.huber@…>
Branches:
master
Children:
e94b73f
Parents:
2faea99
git-author:
Sebastian Huber <sebastian.huber@…> (11/06/18 15:57:21)
git-committer:
Sebastian Huber <sebastian.huber@…> (11/07/18 11:59:48)
Message:

config: Move definitions after includes

File:
1 edited

Legend:

Unmodified
Added
Removed
  • cpukit/include/rtems/config.h

    r2faea99 r97a86719  
    3333
    3434#include <rtems/score/object.h>
    35 #define RTEMS_UNLIMITED_OBJECTS OBJECTS_UNLIMITED_OBJECTS
    36 
    37 #define rtems_resource_unlimited(resource) \
    38   ( resource | RTEMS_UNLIMITED_OBJECTS )
    39 
    40 #define rtems_resource_is_unlimited(resource) \
    41   _Objects_Is_unlimited(resource)
    42 
    43 #define rtems_resource_maximum_per_allocation(resource) \
    44   _Objects_Maximum_per_allocation(resource)
    45 
    4635#include <rtems/score/watchdog.h>
    4736#include <rtems/rtems/config.h>
     
    5140#include <rtems/score/mpci.h>
    5241#endif
     42
     43#define RTEMS_UNLIMITED_OBJECTS OBJECTS_UNLIMITED_OBJECTS
     44
     45#define rtems_resource_unlimited(resource) \
     46  ( resource | RTEMS_UNLIMITED_OBJECTS )
     47
     48#define rtems_resource_is_unlimited(resource) \
     49  _Objects_Is_unlimited(resource)
     50
     51#define rtems_resource_maximum_per_allocation(resource) \
     52  _Objects_Maximum_per_allocation(resource)
    5353
    5454#if defined(RTEMS_MULTIPROCESSING)
Note: See TracChangeset for help on using the changeset viewer.