Changeset 5e9b32b in rtems for cpukit


Ignore:
Timestamp:
Sep 26, 1995, 7:27:15 PM (25 years ago)
Author:
Joel Sherrill <joel.sherrill@…>
Branches:
4.10, 4.11, 4.8, 4.9, master
Children:
c701f197
Parents:
879a047
Message:

posix support initially added

Location:
cpukit
Files:
46 added
120 edited

Legend:

Unmodified
Added
Removed
  • cpukit/libcsupport/src/__gettod.c

    r879a047 r5e9b32b  
    5959   */
    6060
     61#if 0
    6162  if ( tzp ) {
    6263    tzp->tz_minuteswest = 0;  /* at UTC */
    6364    tzp->tz_dsttime = 0;      /* no daylight savings */
    64 #if 0
    6565  tzp->minuteswest = timezone / 60; /* from seconds to minutes */
    6666  tzp->dsttime = daylight;
     67  }
    6768#endif
    68   }
    6969  return 0;
    7070}
  • cpukit/libcsupport/src/libio.c

    r879a047 r5e9b32b  
    1414#include <rtems/assoc.h>                /* assoc.h not included by rtems.h */
    1515
     16#include <stdio.h>                      /* O_RDONLY, et.al. */
    1617#include <fcntl.h>                      /* O_RDONLY, et.al. */
    1718#include <sys/fcntl.h>                      /* O_RDONLY, et.al. */
  • cpukit/rtems/include/rtems.h

    r879a047 r5e9b32b  
    4949
    5050#include <rtems/rtems/support.h>
    51 #include <rtems/core/sysstate.h>
     51#include <rtems/score/sysstate.h>
    5252
    5353#define RTEMS_HAS_HARDWARE_FP CPU_HARDWARE_FP
  • cpukit/rtems/include/rtems/rtems/clock.h

    r879a047 r5e9b32b  
    3030#endif
    3131
    32 #include <rtems/core/tod.h>
     32#include <rtems/score/tod.h>
    3333#include <rtems/rtems/types.h>
    3434
  • cpukit/rtems/include/rtems/rtems/dpmem.h

    r879a047 r5e9b32b  
    3333#endif
    3434
    35 #include <rtems/core/object.h>
     35#include <rtems/score/object.h>
    3636
    3737/*
  • cpukit/rtems/include/rtems/rtems/event.h

    r879a047 r5e9b32b  
    2929#endif
    3030
    31 #include <rtems/core/object.h>
     31#include <rtems/score/object.h>
    3232#include <rtems/rtems/types.h>
    3333#include <rtems/rtems/options.h>
    34 #include <rtems/core/thread.h>
    35 #include <rtems/core/watchdog.h>
     34#include <rtems/score/thread.h>
     35#include <rtems/score/watchdog.h>
    3636#include <rtems/rtems/eventset.h>
    3737
  • cpukit/rtems/include/rtems/rtems/eventmp.h

    r879a047 r5e9b32b  
    2323
    2424#include <rtems/rtems/event.h>
    25 #include <rtems/core/mppkt.h>
    26 #include <rtems/core/object.h>
    27 #include <rtems/core/thread.h>
    28 #include <rtems/core/watchdog.h>
     25#include <rtems/score/mppkt.h>
     26#include <rtems/score/object.h>
     27#include <rtems/score/thread.h>
     28#include <rtems/score/watchdog.h>
    2929
    3030/*
  • cpukit/rtems/include/rtems/rtems/intr.h

    r879a047 r5e9b32b  
    2222#endif
    2323
    24 #include <rtems/core/isr.h>
     24#include <rtems/score/isr.h>
    2525
    2626/*
  • cpukit/rtems/include/rtems/rtems/message.h

    r879a047 r5e9b32b  
    3636
    3737#include <rtems/rtems/types.h>
    38 #include <rtems/core/chain.h>
    39 #include <rtems/core/object.h>
     38#include <rtems/score/chain.h>
     39#include <rtems/score/object.h>
    4040#include <rtems/rtems/attr.h>
    41 #include <rtems/core/threadq.h>
    42 #include <rtems/core/coremsg.h>
     41#include <rtems/score/threadq.h>
     42#include <rtems/score/coremsg.h>
    4343
    4444/*
  • cpukit/rtems/include/rtems/rtems/modes.h

    r879a047 r5e9b32b  
    2222#endif
    2323
    24 #include <rtems/core/isr.h>
     24#include <rtems/score/isr.h>
    2525
    2626/*
  • cpukit/rtems/include/rtems/rtems/msgmp.h

    r879a047 r5e9b32b  
    2323
    2424#include <rtems/rtems/message.h>
    25 #include <rtems/core/mppkt.h>
    26 #include <rtems/core/object.h>
     25#include <rtems/score/mppkt.h>
     26#include <rtems/score/object.h>
    2727#include <rtems/rtems/options.h>
    28 #include <rtems/core/thread.h>
    29 #include <rtems/core/watchdog.h>
     28#include <rtems/score/thread.h>
     29#include <rtems/score/watchdog.h>
    3030
    3131/*
  • cpukit/rtems/include/rtems/rtems/part.h

    r879a047 r5e9b32b  
    3232#endif
    3333
    34 #include <rtems/core/address.h>
    35 #include <rtems/core/object.h>
     34#include <rtems/score/address.h>
     35#include <rtems/score/object.h>
    3636#include <rtems/rtems/attr.h>
    3737#include <rtems/rtems/types.h>
  • cpukit/rtems/include/rtems/rtems/partmp.h

    r879a047 r5e9b32b  
    2222#endif
    2323
    24 #include <rtems/core/mppkt.h>
    25 #include <rtems/core/object.h>
     24#include <rtems/score/mppkt.h>
     25#include <rtems/score/object.h>
    2626#include <rtems/rtems/options.h>
    27 #include <rtems/core/thread.h>
     27#include <rtems/score/thread.h>
    2828
    2929#include <rtems/rtems/part.h>
  • cpukit/rtems/include/rtems/rtems/ratemon.h

    r879a047 r5e9b32b  
    3030#endif
    3131
    32 #include <rtems/core/object.h>
    33 #include <rtems/core/thread.h>
    34 #include <rtems/core/watchdog.h>
     32#include <rtems/score/object.h>
     33#include <rtems/score/thread.h>
     34#include <rtems/score/watchdog.h>
    3535
    3636/*
  • cpukit/rtems/include/rtems/rtems/region.h

    r879a047 r5e9b32b  
    3131#endif
    3232
    33 #include <rtems/core/object.h>
    34 #include <rtems/core/threadq.h>
    35 #include <rtems/core/heap.h>
     33#include <rtems/score/object.h>
     34#include <rtems/score/threadq.h>
     35#include <rtems/score/heap.h>
    3636#include <rtems/debug.h>
    3737#include <rtems/rtems/attr.h>
  • cpukit/rtems/include/rtems/rtems/regionmp.h

    r879a047 r5e9b32b  
    2222#endif
    2323
    24 #include <rtems/core/mppkt.h>
    25 #include <rtems/core/object.h>
    26 #include <rtems/core/thread.h>
     24#include <rtems/score/mppkt.h>
     25#include <rtems/score/object.h>
     26#include <rtems/score/thread.h>
    2727
    2828#include <rtems/rtems/options.h>
  • cpukit/rtems/include/rtems/rtems/sem.h

    r879a047 r5e9b32b  
    3636#include <rtems/rtems/tasks.h>
    3737#include <rtems/rtems/attr.h>
    38 #include <rtems/core/coremutex.h>
    39 #include <rtems/core/object.h>
    40 #include <rtems/core/coresem.h>
    41 #include <rtems/core/threadq.h>
     38#include <rtems/score/coremutex.h>
     39#include <rtems/score/object.h>
     40#include <rtems/score/coresem.h>
     41#include <rtems/score/threadq.h>
    4242
    4343/*
  • cpukit/rtems/include/rtems/rtems/semmp.h

    r879a047 r5e9b32b  
    2222#endif
    2323
    24 #include <rtems/core/mppkt.h>
    25 #include <rtems/core/object.h>
     24#include <rtems/score/mppkt.h>
     25#include <rtems/score/object.h>
    2626#include <rtems/rtems/options.h>
    2727#include <rtems/rtems/sem.h>
    28 #include <rtems/core/thread.h>
    29 #include <rtems/core/watchdog.h>
     28#include <rtems/score/thread.h>
     29#include <rtems/score/watchdog.h>
    3030
    3131/*
  • cpukit/rtems/include/rtems/rtems/signal.h

    r879a047 r5e9b32b  
    3030#include <rtems/rtems/asr.h>
    3131#include <rtems/rtems/modes.h>
    32 #include <rtems/core/object.h>
     32#include <rtems/score/object.h>
    3333#include <rtems/rtems/status.h>
    3434#include <rtems/rtems/types.h>
  • cpukit/rtems/include/rtems/rtems/signalmp.h

    r879a047 r5e9b32b  
    2323
    2424#include <rtems/rtems/asr.h>
    25 #include <rtems/core/mppkt.h>
    26 #include <rtems/core/object.h>
    27 #include <rtems/core/thread.h>
    28 #include <rtems/core/watchdog.h>
     25#include <rtems/score/mppkt.h>
     26#include <rtems/score/object.h>
     27#include <rtems/score/thread.h>
     28#include <rtems/score/watchdog.h>
    2929
    3030/*
  • cpukit/rtems/include/rtems/rtems/taskmp.h

    r879a047 r5e9b32b  
    2222#endif
    2323
    24 #include <rtems/core/mppkt.h>
    25 #include <rtems/core/object.h>
     24#include <rtems/score/mppkt.h>
     25#include <rtems/score/object.h>
    2626#include <rtems/rtems/options.h>
    27 #include <rtems/core/priority.h>
     27#include <rtems/score/priority.h>
    2828#include <rtems/rtems/tasks.h>
    29 #include <rtems/core/thread.h>
     29#include <rtems/score/thread.h>
    3030
    3131/*
  • cpukit/rtems/include/rtems/rtems/tasks.h

    r879a047 r5e9b32b  
    3939#endif
    4040
    41 #include <rtems/core/object.h>
    42 #include <rtems/core/states.h>
    43 #include <rtems/core/thread.h>
     41#include <rtems/score/object.h>
     42#include <rtems/score/states.h>
     43#include <rtems/score/thread.h>
    4444#include <rtems/rtems/types.h>
    4545#include <rtems/rtems/eventset.h>
  • cpukit/rtems/include/rtems/rtems/timer.h

    r879a047 r5e9b32b  
    3434#endif
    3535
    36 #include <rtems/core/object.h>
    37 #include <rtems/core/tod.h>
    38 #include <rtems/core/watchdog.h>
     36#include <rtems/score/object.h>
     37#include <rtems/score/tod.h>
     38#include <rtems/score/watchdog.h>
    3939
    4040/*
  • cpukit/rtems/include/rtems/rtems/types.h

    r879a047 r5e9b32b  
    2121#endif
    2222
    23 #include <rtems/core/object.h>
    24 #include <rtems/core/priority.h>
     23#include <rtems/score/object.h>
     24#include <rtems/score/priority.h>
    2525#include <rtems/rtems/modes.h>
    26 #include <rtems/core/mpci.h>
    27 #include <rtems/core/mppkt.h>
     26#include <rtems/score/mpci.h>
     27#include <rtems/score/mppkt.h>
    2828
    2929/*
  • cpukit/rtems/inline/rtems/rtems/asr.inl

    r879a047 r5e9b32b  
    1818#define __INLINE_ASR_inl
    1919
    20 #include <rtems/core/isr.h>
     20#include <rtems/score/isr.h>
    2121
    2222/*PAGE
  • cpukit/rtems/inline/rtems/rtems/message.inl

    r879a047 r5e9b32b  
    1818#define __MESSAGE_QUEUE_inl
    1919
    20 #include <rtems/core/wkspace.h>
     20#include <rtems/score/wkspace.h>
    2121
    2222/*PAGE
  • cpukit/rtems/macros/rtems/rtems/asr.inl

    r879a047 r5e9b32b  
    1818#define __INLINE_ASR_h
    1919
    20 #include <rtems/core/isr.h>
     20#include <rtems/score/isr.h>
    2121
    2222/*PAGE
  • cpukit/rtems/src/dpmem.c

    r879a047 r5e9b32b  
    1616#include <rtems/rtems/status.h>
    1717#include <rtems/rtems/support.h>
    18 #include <rtems/core/address.h>
     18#include <rtems/score/address.h>
    1919#include <rtems/rtems/dpmem.h>
    20 #include <rtems/core/object.h>
    21 #include <rtems/core/thread.h>
     20#include <rtems/score/object.h>
     21#include <rtems/score/thread.h>
    2222#include <rtems/rtems/dpmem.h>
    2323
  • cpukit/rtems/src/event.c

    r879a047 r5e9b32b  
    1616#include <rtems/rtems/status.h>
    1717#include <rtems/rtems/event.h>
    18 #include <rtems/core/isr.h>
    19 #include <rtems/core/object.h>
     18#include <rtems/score/isr.h>
     19#include <rtems/score/object.h>
    2020#include <rtems/rtems/options.h>
    21 #include <rtems/core/states.h>
    22 #include <rtems/core/thread.h>
     21#include <rtems/score/states.h>
     22#include <rtems/score/thread.h>
    2323#include <rtems/rtems/tasks.h>
    2424
  • cpukit/rtems/src/eventmp.c

    r879a047 r5e9b32b  
    1616#include <rtems/rtems/status.h>
    1717#include <rtems/rtems/event.h>
    18 #include <rtems/core/mpci.h>
    19 #include <rtems/core/mppkt.h>
    20 #include <rtems/core/object.h>
     18#include <rtems/score/mpci.h>
     19#include <rtems/score/mppkt.h>
     20#include <rtems/score/object.h>
    2121#include <rtems/rtems/options.h>
    22 #include <rtems/core/states.h>
    23 #include <rtems/core/thread.h>
     22#include <rtems/score/states.h>
     23#include <rtems/score/thread.h>
    2424#include <rtems/rtems/support.h>
    2525
  • cpukit/rtems/src/intr.c

    r879a047 r5e9b32b  
    1616#include <rtems/system.h>
    1717#include <rtems/rtems/status.h>
    18 #include <rtems/core/isr.h>
     18#include <rtems/score/isr.h>
    1919#include <rtems/rtems/intr.h>
    2020
  • cpukit/rtems/src/mp.c

    r879a047 r5e9b32b  
    1717#include <rtems/rtems/status.h>
    1818#include <rtems/rtems/mp.h>
    19 #include <rtems/core/mpci.h>
     19#include <rtems/score/mpci.h>
    2020
    2121/*PAGE
  • cpukit/rtems/src/msg.c

    r879a047 r5e9b32b  
    1515
    1616#include <rtems/system.h>
    17 #include <rtems/core/sysstate.h>
    18 #include <rtems/core/chain.h>
    19 #include <rtems/core/isr.h>
    20 #include <rtems/core/coremsg.h>
    21 #include <rtems/core/object.h>
    22 #include <rtems/core/states.h>
    23 #include <rtems/core/thread.h>
    24 #include <rtems/core/wkspace.h>
    25 #include <rtems/core/mpci.h>
     17#include <rtems/score/sysstate.h>
     18#include <rtems/score/chain.h>
     19#include <rtems/score/isr.h>
     20#include <rtems/score/coremsg.h>
     21#include <rtems/score/object.h>
     22#include <rtems/score/states.h>
     23#include <rtems/score/thread.h>
     24#include <rtems/score/wkspace.h>
     25#include <rtems/score/mpci.h>
    2626#include <rtems/rtems/status.h>
    2727#include <rtems/rtems/attr.h>
  • cpukit/rtems/src/msgmp.c

    r879a047 r5e9b32b  
    1717#include <rtems/rtems/status.h>
    1818#include <rtems/rtems/message.h>
    19 #include <rtems/core/mpci.h>
     19#include <rtems/score/mpci.h>
    2020#include <rtems/rtems/msgmp.h>
    21 #include <rtems/core/object.h>
     21#include <rtems/score/object.h>
    2222#include <rtems/rtems/options.h>
    23 #include <rtems/core/thread.h>
    24 #include <rtems/core/watchdog.h>
     23#include <rtems/score/thread.h>
     24#include <rtems/score/watchdog.h>
    2525#include <rtems/rtems/support.h>
    2626
  • cpukit/rtems/src/part.c

    r879a047 r5e9b32b  
    1717#include <rtems/rtems/status.h>
    1818#include <rtems/rtems/support.h>
    19 #include <rtems/core/address.h>
    20 #include <rtems/core/object.h>
     19#include <rtems/score/address.h>
     20#include <rtems/score/object.h>
    2121#include <rtems/rtems/part.h>
    22 #include <rtems/core/thread.h>
    23 #include <rtems/core/sysstate.h>
     22#include <rtems/score/thread.h>
     23#include <rtems/score/sysstate.h>
    2424
    2525/*PAGE
  • cpukit/rtems/src/partmp.c

    r879a047 r5e9b32b  
    1616#include <rtems/system.h>
    1717#include <rtems/rtems/status.h>
    18 #include <rtems/core/mpci.h>
    19 #include <rtems/core/mppkt.h>
    20 #include <rtems/core/object.h>
     18#include <rtems/score/mpci.h>
     19#include <rtems/score/mppkt.h>
     20#include <rtems/score/object.h>
    2121#include <rtems/rtems/options.h>
    2222#include <rtems/rtems/part.h>
    23 #include <rtems/core/thread.h>
     23#include <rtems/score/thread.h>
    2424#include <rtems/rtems/support.h>
    2525
  • cpukit/rtems/src/ratemon.c

    r879a047 r5e9b32b  
    1717#include <rtems/rtems/status.h>
    1818#include <rtems/rtems/support.h>
    19 #include <rtems/core/isr.h>
    20 #include <rtems/core/object.h>
     19#include <rtems/score/isr.h>
     20#include <rtems/score/object.h>
    2121#include <rtems/rtems/ratemon.h>
    22 #include <rtems/core/thread.h>
     22#include <rtems/score/thread.h>
    2323
    2424/*PAGE
  • cpukit/rtems/src/region.c

    r879a047 r5e9b32b  
    1717#include <rtems/rtems/status.h>
    1818#include <rtems/rtems/support.h>
    19 #include <rtems/core/object.h>
     19#include <rtems/score/object.h>
    2020#include <rtems/rtems/options.h>
    2121#include <rtems/rtems/region.h>
    22 #include <rtems/core/states.h>
    23 #include <rtems/core/thread.h>
     22#include <rtems/score/states.h>
     23#include <rtems/score/thread.h>
    2424
    2525/*PAGE
  • cpukit/rtems/src/regionmp.c

    r879a047 r5e9b32b  
    1616#include <rtems/system.h>
    1717#include <rtems/rtems/status.h>
    18 #include <rtems/core/mpci.h>
    19 #include <rtems/core/mppkt.h>
    20 #include <rtems/core/object.h>
     18#include <rtems/score/mpci.h>
     19#include <rtems/score/mppkt.h>
     20#include <rtems/score/object.h>
    2121#include <rtems/rtems/options.h>
    2222#include <rtems/rtems/region.h>
    23 #include <rtems/core/thread.h>
     23#include <rtems/score/thread.h>
    2424#include <rtems/rtems/support.h>
    2525
  • cpukit/rtems/src/rtclock.c

    r879a047 r5e9b32b  
    1616#include <rtems/rtems/status.h>
    1717#include <rtems/rtems/clock.h>
    18 #include <rtems/core/isr.h>
    19 #include <rtems/core/thread.h>
    20 #include <rtems/core/tod.h>
    21 #include <rtems/core/watchdog.h>
     18#include <rtems/score/isr.h>
     19#include <rtems/score/thread.h>
     20#include <rtems/score/tod.h>
     21#include <rtems/score/watchdog.h>
    2222
    2323/*PAGE
  • cpukit/rtems/src/rtemstimer.c

    r879a047 r5e9b32b  
    1717#include <rtems/rtems/status.h>
    1818#include <rtems/rtems/support.h>
    19 #include <rtems/core/object.h>
    20 #include <rtems/core/thread.h>
     19#include <rtems/score/object.h>
     20#include <rtems/score/thread.h>
    2121#include <rtems/rtems/timer.h>
    22 #include <rtems/core/tod.h>
    23 #include <rtems/core/watchdog.h>
     22#include <rtems/score/tod.h>
     23#include <rtems/score/watchdog.h>
    2424
    2525/*PAGE
  • cpukit/rtems/src/sem.c

    r879a047 r5e9b32b  
    3131#include <rtems/rtems/support.h>
    3232#include <rtems/rtems/attr.h>
    33 #include <rtems/core/isr.h>
    34 #include <rtems/core/object.h>
     33#include <rtems/score/isr.h>
     34#include <rtems/score/object.h>
    3535#include <rtems/rtems/options.h>
    3636#include <rtems/rtems/sem.h>
    37 #include <rtems/core/coremutex.h>
    38 #include <rtems/core/coresem.h>
    39 #include <rtems/core/states.h>
    40 #include <rtems/core/thread.h>
    41 #include <rtems/core/threadq.h>
    42 #include <rtems/core/mpci.h>
    43 #include <rtems/core/sysstate.h>
    44 
    45 #include <rtems/core/interr.h>
     37#include <rtems/score/coremutex.h>
     38#include <rtems/score/coresem.h>
     39#include <rtems/score/states.h>
     40#include <rtems/score/thread.h>
     41#include <rtems/score/threadq.h>
     42#include <rtems/score/mpci.h>
     43#include <rtems/score/sysstate.h>
     44
     45#include <rtems/score/interr.h>
    4646
    4747/*PAGE
  • cpukit/rtems/src/semmp.c

    r879a047 r5e9b32b  
    1616#include <rtems/system.h>
    1717#include <rtems/rtems/status.h>
    18 #include <rtems/core/mpci.h>
    19 #include <rtems/core/mppkt.h>
    20 #include <rtems/core/object.h>
     18#include <rtems/score/mpci.h>
     19#include <rtems/score/mppkt.h>
     20#include <rtems/score/object.h>
    2121#include <rtems/rtems/options.h>
    2222#include <rtems/rtems/sem.h>
    23 #include <rtems/core/thread.h>
    24 #include <rtems/core/watchdog.h>
     23#include <rtems/score/thread.h>
     24#include <rtems/score/watchdog.h>
    2525#include <rtems/rtems/support.h>
    2626
  • cpukit/rtems/src/signal.c

    r879a047 r5e9b32b  
    1717#include <rtems/rtems/status.h>
    1818#include <rtems/rtems/asr.h>
    19 #include <rtems/core/isr.h>
     19#include <rtems/score/isr.h>
    2020#include <rtems/rtems/modes.h>
    2121#include <rtems/rtems/signal.h>
    22 #include <rtems/core/thread.h>
     22#include <rtems/score/thread.h>
    2323#include <rtems/rtems/tasks.h>
    2424
  • cpukit/rtems/src/signalmp.c

    r879a047 r5e9b32b  
    1616#include <rtems/system.h>
    1717#include <rtems/rtems/status.h>
    18 #include <rtems/core/mpci.h>
    19 #include <rtems/core/mppkt.h>
    20 #include <rtems/core/object.h>
     18#include <rtems/score/mpci.h>
     19#include <rtems/score/mppkt.h>
     20#include <rtems/score/object.h>
    2121#include <rtems/rtems/options.h>
    2222#include <rtems/rtems/signal.h>
    23 #include <rtems/core/states.h>
    24 #include <rtems/core/thread.h>
    25 #include <rtems/core/watchdog.h>
     23#include <rtems/score/states.h>
     24#include <rtems/score/thread.h>
     25#include <rtems/score/watchdog.h>
    2626#include <rtems/rtems/support.h>
    2727
  • cpukit/rtems/src/taskmp.c

    r879a047 r5e9b32b  
    1616#include <rtems/system.h>
    1717#include <rtems/rtems/status.h>
    18 #include <rtems/core/mpci.h>
    19 #include <rtems/core/mppkt.h>
    20 #include <rtems/core/object.h>
     18#include <rtems/score/mpci.h>
     19#include <rtems/score/mppkt.h>
     20#include <rtems/score/object.h>
    2121#include <rtems/rtems/options.h>
    2222#include <rtems/rtems/tasks.h>
    23 #include <rtems/core/thread.h>
    24 #include <rtems/core/watchdog.h>
     23#include <rtems/score/thread.h>
     24#include <rtems/score/watchdog.h>
    2525#include <rtems/rtems/support.h>
    2626
  • cpukit/rtems/src/tasks.c

    r879a047 r5e9b32b  
    1818#include <rtems/rtems/support.h>
    1919#include <rtems/rtems/modes.h>
    20 #include <rtems/core/object.h>
    21 #include <rtems/core/stack.h>
    22 #include <rtems/core/states.h>
     20#include <rtems/score/object.h>
     21#include <rtems/score/stack.h>
     22#include <rtems/score/states.h>
    2323#include <rtems/rtems/tasks.h>
    24 #include <rtems/core/thread.h>
    25 #include <rtems/core/threadq.h>
    26 #include <rtems/core/tod.h>
    27 #include <rtems/core/userext.h>
    28 #include <rtems/core/wkspace.h>
    29 #include <rtems/core/apiext.h>
    30 #include <rtems/core/sysstate.h>
     24#include <rtems/score/thread.h>
     25#include <rtems/score/threadq.h>
     26#include <rtems/score/tod.h>
     27#include <rtems/score/userext.h>
     28#include <rtems/score/wkspace.h>
     29#include <rtems/score/apiext.h>
     30#include <rtems/score/sysstate.h>
    3131
    3232/*PAGE
  • cpukit/sapi/include/rtems/config.h

    r879a047 r5e9b32b  
    2525#include <rtems/extension.h>
    2626#include <rtems/io.h>
    27 #include <rtems/core/mpci.h>
     27#include <rtems/score/mpci.h>
    2828#include <rtems/rtems/types.h>
    2929#include <rtems/rtems/tasks.h>
  • cpukit/sapi/include/rtems/extension.h

    r879a047 r5e9b32b  
    2929#endif
    3030
    31 #include <rtems/core/object.h>
    32 #include <rtems/core/userext.h>
     31#include <rtems/score/object.h>
     32#include <rtems/score/userext.h>
    3333#include <rtems/rtems/status.h>  /* XXX */
    3434#include <rtems/rtems/types.h>  /* XXX */
  • cpukit/sapi/src/exinit.c

    r879a047 r5e9b32b  
    2727#include <rtems/init.h>
    2828#include <rtems/io.h>
    29 #include <rtems/core/sysstate.h>
    30 
    31 #include <rtems/core/apiext.h>
    32 #include <rtems/core/copyrt.h>
    33 #include <rtems/core/heap.h>
    34 #include <rtems/core/interr.h>
     29#include <rtems/score/sysstate.h>
     30
     31#include <rtems/score/apiext.h>
     32#include <rtems/score/copyrt.h>
     33#include <rtems/score/heap.h>
     34#include <rtems/score/interr.h>
    3535#include <rtems/intthrd.h>
    36 #include <rtems/core/isr.h>
    37 #include <rtems/core/mpci.h>
    38 #include <rtems/core/priority.h>
    39 #include <rtems/core/thread.h>
    40 #include <rtems/core/tod.h>
    41 #include <rtems/core/userext.h>
    42 #include <rtems/core/watchdog.h>
    43 #include <rtems/core/wkspace.h>
     36#include <rtems/score/isr.h>
     37#include <rtems/score/mpci.h>
     38#include <rtems/score/priority.h>
     39#include <rtems/score/thread.h>
     40#include <rtems/score/tod.h>
     41#include <rtems/score/userext.h>
     42#include <rtems/score/watchdog.h>
     43#include <rtems/score/wkspace.h>
    4444
    4545#include <rtems/directives.h>
  • cpukit/sapi/src/extension.c

    r879a047 r5e9b32b  
    1616#include <rtems/system.h>
    1717#include <rtems/rtems/support.h>
    18 #include <rtems/core/object.h>
    19 #include <rtems/core/thread.h>
     18#include <rtems/score/object.h>
     19#include <rtems/score/thread.h>
    2020#include <rtems/extension.h>
    2121
  • cpukit/sapi/src/fatal.c

    r879a047 r5e9b32b  
    1515#include <rtems/system.h>
    1616#include <rtems/fatal.h>
    17 #include <rtems/core/interr.h>
     17#include <rtems/score/interr.h>
    1818
    1919/*PAGE
  • cpukit/sapi/src/io.c

    r879a047 r5e9b32b  
    1616#include <rtems/system.h>
    1717#include <rtems/io.h>
    18 #include <rtems/core/isr.h>
    19 #include <rtems/core/thread.h>
     18#include <rtems/score/isr.h>
     19#include <rtems/score/thread.h>
    2020
    2121#include <string.h>
  • cpukit/score/cpu/hppa1.1/cpu.c

    r879a047 r5e9b32b  
    1919
    2020#include <rtems/system.h>
    21 #include <rtems/core/isr.h>
    22 #include <rtems/core/wkspace.h>
     21#include <rtems/score/isr.h>
     22#include <rtems/score/wkspace.h>
    2323
    2424void hppa_external_interrupt_initialize(void);
  • cpukit/score/cpu/i386/asm.h

    r879a047 r5e9b32b  
    3232
    3333#define ASM
    34 #include <rtems/core/i386.h>
     34#include <rtems/score/i386.h>
    3535
    3636/*
  • cpukit/score/cpu/i386/cpu.c

    r879a047 r5e9b32b  
    1515
    1616#include <rtems/system.h>
    17 #include <rtems/core/isr.h>
    18 #include <rtems/core/wkspace.h>
     17#include <rtems/score/isr.h>
     18#include <rtems/score/wkspace.h>
    1919
    2020/*  _CPU_Initialize
  • cpukit/score/cpu/i386/rtems/asm.h

    r879a047 r5e9b32b  
    3232
    3333#define ASM
    34 #include <rtems/core/i386.h>
     34#include <rtems/score/i386.h>
    3535
    3636/*
  • cpukit/score/cpu/i960/asm.h

    r879a047 r5e9b32b  
    3232
    3333#define ASM
    34 #include <rtems/core/i960.h>
     34#include <rtems/score/i960.h>
    3535
    3636/*
  • cpukit/score/cpu/i960/cpu.c

    r879a047 r5e9b32b  
    2121
    2222#include <rtems/system.h>
    23 #include <rtems/core/isr.h>
     23#include <rtems/score/isr.h>
    2424
    2525/*  _CPU_Initialize
  • cpukit/score/cpu/m68k/asm.h

    r879a047 r5e9b32b  
    3232
    3333#define ASM
    34 #include <rtems/core/m68k.h>
     34#include <rtems/score/m68k.h>
    3535
    3636/*
  • cpukit/score/cpu/m68k/cpu.c

    r879a047 r5e9b32b  
    1414
    1515#include <rtems/system.h>
    16 #include <rtems/core/isr.h>
     16#include <rtems/score/isr.h>
    1717
    1818/*  _CPU_Initialize
  • cpukit/score/cpu/m68k/rtems/asm.h

    r879a047 r5e9b32b  
    3232
    3333#define ASM
    34 #include <rtems/core/m68k.h>
     34#include <rtems/score/m68k.h>
    3535
    3636/*
  • cpukit/score/cpu/no_cpu/asm.h

    r879a047 r5e9b32b  
    3232
    3333#define ASM
    34 #include <rtems/core/no_cpu.h>
     34#include <rtems/score/no_cpu.h>
    3535
    3636/*
  • cpukit/score/cpu/no_cpu/cpu.c

    r879a047 r5e9b32b  
    1515
    1616#include <rtems/system.h>
    17 #include <rtems/core/isr.h>
    18 #include <rtems/core/wkspace.h>
     17#include <rtems/score/isr.h>
     18#include <rtems/score/wkspace.h>
    1919
    2020/*  _CPU_Initialize
  • cpukit/score/cpu/no_cpu/cpu_asm.c

    r879a047 r5e9b32b  
    2525
    2626#include <rtems/system.h>
    27 #include <rtems/core/cpu.h>
     27#include <rtems/score/cpu.h>
    2828/* #include "cpu_asm.h> */
    2929
  • cpukit/score/cpu/no_cpu/rtems/asm.h

    r879a047 r5e9b32b  
    3232
    3333#define ASM
    34 #include <rtems/core/no_cpu.h>
     34#include <rtems/score/no_cpu.h>
    3535
    3636/*
  • cpukit/score/cpu/unix/cpu.c

    r879a047 r5e9b32b  
    1818
    1919#include <rtems/system.h>
    20 #include <rtems/core/isr.h>
    21 #include <rtems/core/interr.h>
     20#include <rtems/score/isr.h>
     21#include <rtems/score/interr.h>
    2222
    2323#include <stdio.h>
  • cpukit/score/include/rtems/score/address.h

    r879a047 r5e9b32b  
    9898);
    9999
    100 #include <rtems/core/address.inl>
     100#include <rtems/score/address.inl>
    101101
    102102#ifdef __cplusplus
  • cpukit/score/include/rtems/score/apiext.h

    r879a047 r5e9b32b  
    1818#define __API_EXTENSIONS_h
    1919
    20 #include <rtems/core/chain.h>
     20#include <rtems/score/chain.h>
    2121
    2222/*
  • cpukit/score/include/rtems/score/chain.h

    r879a047 r5e9b32b  
    2222#endif
    2323
    24 #include <rtems/core/address.h>
     24#include <rtems/score/address.h>
    2525
    2626/*
     
    423423);
    424424
    425 #include <rtems/core/chain.inl>
     425#include <rtems/score/chain.inl>
    426426
    427427#ifdef __cplusplus
  • cpukit/score/include/rtems/score/context.h

    r879a047 r5e9b32b  
    2121#endif
    2222
    23 #include <rtems/core/cpu.h>
     23#include <rtems/score/cpu.h>
    2424
    2525/*
  • cpukit/score/include/rtems/score/coremsg.h

    r879a047 r5e9b32b  
    2222#endif
    2323
    24 #include <rtems/core/thread.h>
    25 #include <rtems/core/threadq.h>
    26 #include <rtems/core/priority.h>
    27 #include <rtems/core/watchdog.h>
     24#include <rtems/score/thread.h>
     25#include <rtems/score/threadq.h>
     26#include <rtems/score/priority.h>
     27#include <rtems/score/watchdog.h>
    2828 
    2929/*
     
    111111 
    112112/*
     113 *  The following defines the type for a Notification handler.  A notification
     114 *  handler is invoked when the message queue makes a 0->1 transition on
     115 *  pending messages.
     116 */
     117
     118typedef void (*CORE_message_queue_Notify_Handler)( void * );
     119
     120/*
    113121 *  The following defines the control block used to manage each
    114122 *  counting message_queue.
     
    116124 
    117125typedef struct {
    118   Thread_queue_Control           Wait_queue;
    119   CORE_message_queue_Attributes  Attributes;
    120   unsigned32                     maximum_pending_messages;
    121   unsigned32                     number_of_pending_messages;
    122   unsigned32                     maximum_message_size;
    123   Chain_Control                  Pending_messages;
    124   CORE_message_queue_Buffer     *message_buffers;
    125   Chain_Control                  Inactive_messages;
     126  Thread_queue_Control               Wait_queue;
     127  CORE_message_queue_Attributes      Attributes;
     128  unsigned32                         maximum_pending_messages;
     129  unsigned32                         number_of_pending_messages;
     130  unsigned32                         maximum_message_size;
     131  Chain_Control                      Pending_messages;
     132  CORE_message_queue_Buffer         *message_buffers;
     133  CORE_message_queue_Notify_Handler  notify_handler;
     134  void                              *notify_argument;
     135  Chain_Control                      Inactive_messages;
    126136}   CORE_message_queue_Control;
    127137
     
    390400 *  DESCRIPTION:
    391401 *
    392  *  This function places the_message at the rear of the outstanding
    393  *  messages on the_message_queue.
     402 *  This function returns TRUE if the_message_queue is TRUE and FALSE otherwise.
    394403 */
    395404 
     
    398407);
    399408
    400 #include <rtems/core/coremsg.inl>
     409/*
     410 *  _CORE_message_queue_Is_notify_enabled
     411 *
     412 *  DESCRIPTION:
     413 *
     414 *  This function returns TRUE if notification is enabled on this message
     415 *  queue and FALSE otherwise.
     416 */
     417 
     418STATIC INLINE boolean _CORE_message_queue_Is_notify_enabled (
     419  CORE_message_queue_Control *the_message_queue
     420);
     421
     422/*
     423 *  _CORE_message_queue_Set_notify
     424 *
     425 *  DESCRIPTION:
     426 *
     427 *  This routine initializes the notification information for the_message_queue.
     428 */
     429 
     430STATIC INLINE void _CORE_message_queue_Set_notify (
     431  CORE_message_queue_Control        *the_message_queue,
     432  CORE_message_queue_Notify_Handler  the_handler,
     433  void                              *the_argument
     434);
     435
     436#include <rtems/score/coremsg.inl>
    401437
    402438#ifdef __cplusplus
  • cpukit/score/include/rtems/score/coremutex.h

    r879a047 r5e9b32b  
    2424#endif
    2525
    26 #include <rtems/core/thread.h>
    27 #include <rtems/core/threadq.h>
    28 #include <rtems/core/priority.h>
    29 #include <rtems/core/watchdog.h>
     26#include <rtems/score/thread.h>
     27#include <rtems/score/threadq.h>
     28#include <rtems/score/priority.h>
     29#include <rtems/score/watchdog.h>
    3030 
    3131/*
     
    237237);
    238238
    239 #include <rtems/core/coremutex.inl>
     239#include <rtems/score/coremutex.inl>
    240240
    241241#ifdef __cplusplus
  • cpukit/score/include/rtems/score/coresem.h

    r879a047 r5e9b32b  
    2424#endif
    2525
    26 #include <rtems/core/thread.h>
    27 #include <rtems/core/threadq.h>
    28 #include <rtems/core/priority.h>
    29 #include <rtems/core/watchdog.h>
     26#include <rtems/score/thread.h>
     27#include <rtems/score/threadq.h>
     28#include <rtems/score/priority.h>
     29#include <rtems/score/watchdog.h>
    3030 
    3131/*
     
    169169);
    170170
    171 #include <rtems/core/coresem.inl>
     171#include <rtems/score/coresem.inl>
    172172
    173173#ifdef __cplusplus
  • cpukit/score/include/rtems/score/heap.h

    r879a047 r5e9b32b  
    397397);
    398398
    399 #include <rtems/core/heap.inl>
     399#include <rtems/score/heap.inl>
    400400
    401401#ifdef __cplusplus
  • cpukit/score/include/rtems/score/isr.h

    r879a047 r5e9b32b  
    5050                 ISR_Vector_number
    5151             );
     52/*
     53 *  This constant promotes out the number of vectors supported by
     54 *  the current CPU being used.
     55 */
     56 
     57#define ISR_NUMBER_OF_VECTORS    CPU_INTERRUPT_NUMBER_OF_VECTORS
     58
    5259/*
    5360 *  The following is TRUE if signals have been sent to the currently
     
    240247void _ISR_Dispatch( void );
    241248
    242 #include <rtems/core/isr.inl>
     249#include <rtems/score/isr.inl>
    243250
    244251#ifdef __cplusplus
  • cpukit/score/include/rtems/score/mpci.h

    r879a047 r5e9b32b  
    2222#endif
    2323
    24 #include <rtems/core/mppkt.h>
    25 #include <rtems/core/states.h>
    26 #include <rtems/core/thread.h>
    27 #include <rtems/core/threadq.h>
    28 #include <rtems/core/tqdata.h>
    29 #include <rtems/core/watchdog.h>
    30 #include <rtems/core/coresem.h>
     24#include <rtems/score/mppkt.h>
     25#include <rtems/score/states.h>
     26#include <rtems/score/thread.h>
     27#include <rtems/score/threadq.h>
     28#include <rtems/score/tqdata.h>
     29#include <rtems/score/watchdog.h>
     30#include <rtems/score/coresem.h>
    3131
    3232/*
  • cpukit/score/include/rtems/score/mppkt.h

    r879a047 r5e9b32b  
    2626#endif
    2727
    28 #include <rtems/core/object.h>
    29 #include <rtems/core/priority.h>
    30 #include <rtems/core/watchdog.h>
     28#include <rtems/score/object.h>
     29#include <rtems/score/priority.h>
     30#include <rtems/score/watchdog.h>
    3131
    3232/*
     
    115115);
    116116
    117 #include <rtems/core/mppkt.inl>
     117#include <rtems/score/mppkt.inl>
    118118
    119119#ifdef __cplusplus
  • cpukit/score/include/rtems/score/object.h

    r879a047 r5e9b32b  
    2424#endif
    2525
    26 #include <rtems/core/chain.h>
     26#include <rtems/score/chain.h>
    2727
    2828/*
     
    7979
    8080typedef enum {
    81   OBJECTS_NO_CLASS             =  0,
    82   OBJECTS_INTERNAL_THREADS     =  1,
    83   OBJECTS_RTEMS_TASKS          =  2,
    84   OBJECTS_RTEMS_TIMERS         =  3,
    85   OBJECTS_RTEMS_SEMAPHORES     =  4,
    86   OBJECTS_RTEMS_MESSAGE_QUEUES =  5,
    87   OBJECTS_RTEMS_PARTITIONS     =  6,
    88   OBJECTS_RTEMS_REGIONS        =  7,
    89   OBJECTS_RTEMS_PORTS          =  8,
    90   OBJECTS_RTEMS_PERIODS        =  9,
    91   OBJECTS_RTEMS_EXTENSIONS     = 10
     81  OBJECTS_NO_CLASS                  =  0,
     82  OBJECTS_INTERNAL_THREADS          =  1,
     83  OBJECTS_RTEMS_TASKS               =  2,
     84  OBJECTS_POSIX_THREADS             =  3,
     85  OBJECTS_RTEMS_TIMERS              =  4,
     86  OBJECTS_RTEMS_SEMAPHORES          =  5,
     87  OBJECTS_RTEMS_MESSAGE_QUEUES      =  6,
     88  OBJECTS_RTEMS_PARTITIONS          =  7,
     89  OBJECTS_RTEMS_REGIONS             =  8,
     90  OBJECTS_RTEMS_PORTS               =  9,
     91  OBJECTS_RTEMS_PERIODS             = 10,
     92  OBJECTS_RTEMS_EXTENSIONS          = 11,
     93  OBJECTS_POSIX_KEYS                = 12,
     94  OBJECTS_POSIX_INTERRUPTS          = 13,
     95  OBJECTS_POSIX_MESSAGE_QUEUES      = 14,
     96  OBJECTS_POSIX_MUTEXES             = 15,
     97  OBJECTS_POSIX_SEMAPHORES          = 16,
     98  OBJECTS_POSIX_CONDITION_VARIABLES = 17
    9299} Objects_Classes;
    93 
    94 #define OBJECTS_CLASSES_FIRST  OBJECTS_NO_CLASS
    95 #define OBJECTS_CLASSES_LAST   OBJECTS_RTEMS_EXTENSIONS
     100 
     101#define OBJECTS_CLASSES_FIRST               OBJECTS_NO_CLASS
     102#define OBJECTS_CLASSES_LAST                OBJECTS_POSIX_CONDITION_VARIABLES
     103#define OBJECTS_CLASSES_FIRST_THREAD_CLASS  OBJECTS_INTERNAL_THREADS
     104#define OBJECTS_CLASSES_LAST_THREAD_CLASS   OBJECTS_POSIX_THREADS
    96105
    97106/*
     
    209218 *  objects, and FALSE otherwise.  Maximum indicates the number
    210219 *  of objects required in this class and size indicates the size
    211  *  in bytes of each control block for this object class.
    212  *
     220 *  in bytes of each control block for this object class.  The
     221 *  name length and string designator are also set.  In addition,
     222 *  the class may be a task, therefore this information is also included.
    213223 */
    214224
     
    545555);
    546556
    547 #include <rtems/core/object.inl>
    548 #include <rtems/core/objectmp.h>
     557#include <rtems/score/object.inl>
     558#include <rtems/score/objectmp.h>
    549559
    550560#ifdef __cplusplus
  • cpukit/score/include/rtems/score/objectmp.h

    r879a047 r5e9b32b  
    177177EXTERN Chain_Control  _Objects_MP_Inactive_global_objects;
    178178
    179 #include <rtems/core/objectmp.inl>
     179#include <rtems/score/objectmp.inl>
    180180
    181181#ifdef __cplusplus
  • cpukit/score/include/rtems/score/priority.h

    r879a047 r5e9b32b  
    180180);
    181181
    182 #include <rtems/core/priority.inl>
     182#include <rtems/score/priority.inl>
    183183
    184184#ifdef __cplusplus
  • cpukit/score/include/rtems/score/stack.h

    r879a047 r5e9b32b  
    8686);
    8787
    88 #include <rtems/core/stack.inl>
     88#include <rtems/score/stack.inl>
    8989
    9090#ifdef __cplusplus
  • cpukit/score/include/rtems/score/states.h

    r879a047 r5e9b32b  
    3333 */
    3434
    35 #define STATES_ALL_SET               0xffff  /* all states */
    36 #define STATES_READY                 0x0000  /* ready to run */
    37 #define STATES_DORMANT               0x0001  /* created but not started */
    38 #define STATES_SUSPENDED             0x0002  /* waiting to be resumed */
    39 #define STATES_TRANSIENT             0x0004  /* thread in transition */
    40 #define STATES_DELAYING              0x0008  /* wait for timeout */
    41 #define STATES_WAITING_FOR_BUFFER    0x0010  /* wait for partition buffer */
    42 #define STATES_WAITING_FOR_SEGMENT   0x0020  /* wait for region segment */
    43 #define STATES_WAITING_FOR_MESSAGE   0x0040  /* wait for message */
    44 #define STATES_WAITING_FOR_EVENT     0x0080  /* wait for event */
    45 #define STATES_WAITING_FOR_SEMAPHORE 0x0100  /* wait for semaphore */
    46 #define STATES_WAITING_FOR_MUTEX     0x0200  /* wait for mutex */
    47 #define STATES_WAITING_FOR_TIME      0x0400  /* wait for specific TOD */
    48 #define STATES_WAITING_FOR_RPC_REPLY 0x0800  /* wait for rpc reply */
    49 #define STATES_WAITING_FOR_PERIOD    0x1000  /* rate monotonic delay */
    50 
    51 #define STATES_LOCALLY_BLOCKED ( STATES_WAITING_FOR_BUFFER      | \
    52                                  STATES_WAITING_FOR_SEGMENT     | \
    53                                  STATES_WAITING_FOR_MESSAGE     | \
    54                                  STATES_WAITING_FOR_MUTEX       | \
     35#define STATES_ALL_SET                         0xffff /* all states */
     36#define STATES_READY                           0x0000 /* ready to run */
     37#define STATES_DORMANT                         0x0001 /* created not started */
     38#define STATES_SUSPENDED                       0x0002 /* waiting for resume */
     39#define STATES_TRANSIENT                       0x0004 /* thread in transition */
     40#define STATES_DELAYING                        0x0008 /* wait for timeout */
     41#define STATES_WAITING_FOR_TIME                0x0010 /* wait for TOD */
     42#define STATES_WAITING_FOR_BUFFER              0x0020
     43#define STATES_WAITING_FOR_SEGMENT             0x0040
     44#define STATES_WAITING_FOR_MESSAGE             0x0080
     45#define STATES_WAITING_FOR_EVENT               0x0100
     46#define STATES_WAITING_FOR_SEMAPHORE           0x0200
     47#define STATES_WAITING_FOR_MUTEX               0x0400
     48#define STATES_WAITING_FOR_CONDITION_VARIABLE  0x0800
     49#define STATES_WAITING_FOR_RPC_REPLY           0x1000
     50#define STATES_WAITING_FOR_PERIOD              0x2000
     51
     52#define STATES_LOCALLY_BLOCKED ( STATES_WAITING_FOR_BUFFER             | \
     53                                 STATES_WAITING_FOR_SEGMENT            | \
     54                                 STATES_WAITING_FOR_MESSAGE            | \
     55                                 STATES_WAITING_FOR_MUTEX              | \
     56                                 STATES_WAITING_FOR_CONDITION_VARIABLE | \
    5557                                 STATES_WAITING_FOR_SEMAPHORE   )
    5658
     
    343345);
    344346
    345 #include <rtems/core/states.inl>
     347#include <rtems/score/states.inl>
    346348
    347349#ifdef __cplusplus
  • cpukit/score/include/rtems/score/sysstate.h

    r879a047 r5e9b32b  
    153153);
    154154
    155 #include <rtems/core/sysstate.inl>
     155#include <rtems/score/sysstate.inl>
    156156
    157157#ifdef __cplusplus
  • cpukit/score/include/rtems/score/thread.h

    r879a047 r5e9b32b  
    2222#endif
    2323
    24 #include <rtems/core/context.h>
    25 #include <rtems/core/cpu.h>
    26 #include <rtems/core/mppkt.h>
    27 #include <rtems/core/object.h>
    28 #include <rtems/core/priority.h>
    29 #include <rtems/core/stack.h>
    30 #include <rtems/core/states.h>
    31 #include <rtems/core/tod.h>
    32 #include <rtems/core/tqdata.h>
    33 #include <rtems/core/watchdog.h>
     24#include <rtems/score/context.h>
     25#include <rtems/score/cpu.h>
     26#include <rtems/score/mppkt.h>
     27#include <rtems/score/object.h>
     28#include <rtems/score/priority.h>
     29#include <rtems/score/stack.h>
     30#include <rtems/score/states.h>
     31#include <rtems/score/tod.h>
     32#include <rtems/score/tqdata.h>
     33#include <rtems/score/watchdog.h>
    3434
    3535/*
     
    131131
    132132typedef enum {
    133   THREAD_API_RTEMS
     133  THREAD_API_RTEMS,
     134  THREAD_API_POSIX,
    134135}  Thread_APIs;
    135136
    136137#define THREAD_API_FIRST THREAD_API_RTEMS
    137 #define THREAD_API_LAST  THREAD_API_RTEMS
     138#define THREAD_API_LAST  THREAD_API_POSIX
    138139
    139140typedef struct {
     
    758759);
    759760
    760 #include <rtems/core/thread.inl>
    761 #include <rtems/core/threadmp.h>
     761#include <rtems/score/thread.inl>
     762#include <rtems/score/threadmp.h>
    762763
    763764#ifdef __cplusplus
  • cpukit/score/include/rtems/score/threadmp.h

    r879a047 r5e9b32b  
    105105EXTERN Chain_Control _Thread_MP_Inactive_proxies;
    106106
    107 #include <rtems/core/threadmp.inl>
     107#include <rtems/score/threadmp.inl>
    108108
    109109#ifdef __cplusplus
  • cpukit/score/include/rtems/score/threadq.h

    r879a047 r5e9b32b  
    2222#endif
    2323
    24 #include <rtems/core/tqdata.h>
    25 
    26 #include <rtems/core/object.h>
    27 #include <rtems/core/thread.h>
    28 #include <rtems/core/watchdog.h>
     24#include <rtems/score/tqdata.h>
     25
     26#include <rtems/score/object.h>
     27#include <rtems/score/thread.h>
     28#include <rtems/score/watchdog.h>
     29
     30/*
     31 *  Constant for indefinite wait.
     32 */
     33 
     34#define THREAD_QUEUE_WAIT_FOREVER  WATCHDOG_NO_TIMEOUT
    2935
    3036/*
  • cpukit/score/include/rtems/score/tod.h

    r879a047 r5e9b32b  
    2222#endif
    2323
    24 #include <rtems/core/object.h>
    25 #include <rtems/core/watchdog.h>
     24#include <rtems/score/object.h>
     25#include <rtems/score/watchdog.h>
    2626
    2727/*
     
    3737                                TOD_MINUTES_PER_HOUR   * \
    3838                                TOD_HOURS_PER_DAY)
     39
     40#define TOD_SECONDS_PER_NON_LEAP_YEAR (365 * TOD_SECONDS_PER_DAY)
    3941
    4042#define TOD_MICROSECONDS_PER_SECOND 1000000
     
    291293    (TOD_MILLISECONDS_TO_MICROSECONDS(_ms) / _TOD_Microseconds_per_tick)
    292294
    293 #include <rtems/core/tod.inl>
     295#include <rtems/score/tod.inl>
    294296
    295297#ifdef __cplusplus
  • cpukit/score/include/rtems/score/tqdata.h

    r879a047 r5e9b32b  
    2222#endif
    2323
    24 #include <rtems/core/chain.h>
    25 #include <rtems/core/priority.h>
    26 #include <rtems/core/states.h>
     24#include <rtems/score/chain.h>
     25#include <rtems/score/priority.h>
     26#include <rtems/score/states.h>
    2727
    2828/*
     
    5353  States_Control           state;      /* state of threads on Thread_q   */
    5454  unsigned32               timeout_status;
     55  unsigned32               count;
    5556}   Thread_queue_Control;
    5657
     
    8283);
    8384
    84 #include <rtems/core/tqdata.inl>
     85#include <rtems/score/tqdata.inl>
    8586
    8687#ifdef __cplusplus
  • cpukit/score/include/rtems/score/userext.h

    r879a047 r5e9b32b  
    2323#endif
    2424
    25 #include <rtems/core/interr.h>
    26 #include <rtems/core/chain.h>
    27 #include <rtems/core/thread.h>
     25#include <rtems/score/interr.h>
     26#include <rtems/score/chain.h>
     27#include <rtems/score/thread.h>
    2828
    2929/*
     
    286286);
    287287
    288 #include <rtems/core/userext.inl>
     288#include <rtems/score/userext.inl>
    289289
    290290#ifdef __cplusplus
  • cpukit/score/include/rtems/score/watchdog.h

    r879a047 r5e9b32b  
    2323#endif
    2424
    25 #include <rtems/core/object.h>
     25#include <rtems/score/object.h>
    2626
    2727/*
     
    409409);
    410410
    411 #include <rtems/core/watchdog.inl>
     411#include <rtems/score/watchdog.inl>
    412412
    413413#ifdef __cplusplus
  • cpukit/score/include/rtems/score/wkspace.h

    r879a047 r5e9b32b  
    2323#endif
    2424
    25 #include <rtems/core/heap.h>
    26 #include <rtems/core/interr.h>
     25#include <rtems/score/heap.h>
     26#include <rtems/score/interr.h>
    2727
    2828/*
     
    8888);
    8989
    90 #include <rtems/core/wkspace.inl>
     90#include <rtems/score/wkspace.inl>
    9191
    9292#ifdef __cplusplus
  • cpukit/score/include/rtems/system.h

    r879a047 r5e9b32b  
    7777typedef void * proc_ptr;
    7878
    79 #include <rtems/core/cpu.h>        /* processor specific information */
     79#include <rtems/score/cpu.h>        /* processor specific information */
    8080
    8181/*
  • cpukit/score/inline/rtems/score/coremsg.inl

    r879a047 r5e9b32b  
    182182}
    183183
     184/*PAGE
     185 *
     186 *  _CORE_message_queue_Is_notify_enabled
     187 *
     188 */
     189 
     190STATIC INLINE boolean _CORE_message_queue_Is_notify_enabled (
     191  CORE_message_queue_Control *the_message_queue
     192)
     193{
     194  return (the_message_queue->notify_handler != NULL);
     195}
     196 
     197/*PAGE
     198 *
     199 *  _CORE_message_queue_Set_notify
     200 *
     201 */
     202 
     203STATIC INLINE void _CORE_message_queue_Set_notify (
     204  CORE_message_queue_Control        *the_message_queue,
     205  CORE_message_queue_Notify_Handler  the_handler,
     206  void                              *the_argument
     207)
     208{
     209  the_message_queue->notify_handler  = the_handler;
     210  the_message_queue->notify_argument = the_argument;
     211}
    184212
    185213#endif
  • cpukit/score/inline/rtems/score/heap.inl

    r879a047 r5e9b32b  
    1818#define __HEAP_inl
    1919
    20 #include <rtems/core/address.h>
     20#include <rtems/score/address.h>
    2121
    2222/*PAGE
  • cpukit/score/inline/rtems/score/priority.inl

    r879a047 r5e9b32b  
    1818#define __PRIORITY_inl
    1919
    20 #include <rtems/core/bitfield.h>
     20#include <rtems/score/bitfield.h>
    2121
    2222/*PAGE
  • cpukit/score/inline/rtems/score/tqdata.inl

    r879a047 r5e9b32b  
    4444}
    4545
     46/*PAGE
     47 *
     48 *  _Thread_queue_Get_number_waiting
     49 *
     50 */
     51 
     52STATIC INLINE unsigned32 _Thread_queue_Get_number_waiting (
     53  Thread_queue_Control *the_thread_queue
     54)
     55{
     56  return ( the_thread_queue->count );
     57}
     58
    4659#endif
    4760/* end of include file */
  • cpukit/score/macros/rtems/score/coremsg.inl

    r879a047 r5e9b32b  
    118118   ( (_the_message_queue) == NULL  )
    119119
     120/*PAGE
     121 *
     122 *  _CORE_message_queue_Is_notify_enabled
     123 *
     124 */
     125 
     126#define _CORE_message_queue_Is_notify_enabled( _the_message_queue ) \
     127  ( (_the_message_queue)->notify_handler != NULL )
     128 
     129/*PAGE
     130 *
     131 *  _CORE_message_queue_Set_notify
     132 *
     133 */
     134 
     135#define _CORE_message_queue_Set_notify( \
     136  _the_message_queue, _the_handler, _the_argument ) \
     137    do { \
     138      (_the_message_queue->notify_handler  = (_the_handler); \
     139      (_the_message_queue->notify_argument = (_the_argument); \
     140    } while ( 0 )
     141
    120142#endif
    121143/* end of include file */
  • cpukit/score/macros/rtems/score/heap.inl

    r879a047 r5e9b32b  
    1818#define __HEAP_inl
    1919
    20 #include <rtems/core/address.h>
     20#include <rtems/score/address.h>
    2121
    2222/*PAGE
  • cpukit/score/macros/rtems/score/priority.inl

    r879a047 r5e9b32b  
    1818#define __PRIORITY_inl
    1919
    20 #include <rtems/core/bitfield.h>
     20#include <rtems/score/bitfield.h>
    2121
    2222/*PAGE
  • cpukit/score/macros/rtems/score/tqdata.inl

    r879a047 r5e9b32b  
    3636     ( (_the_priority) & 0x20 )
    3737
     38/*PAGE
     39 *
     40 *  _Thread_queue_Get_number_waiting
     41 *
     42 */
     43 
     44#define _Thread_queue_Get_number_waiting( _the_thread_queue ) \
     45  ( (_the_thread_queue)->count )
     46
    3847#endif
    3948/* end of include file */
  • cpukit/score/macros/rtems/score/watchdog.inl

    r879a047 r5e9b32b  
    1818#define __WATCHDOG_inl
    1919
    20 #include <rtems/core/object.h>
     20#include <rtems/score/object.h>
    2121
    2222/*PAGE
  • cpukit/score/src/apiext.c

    r879a047 r5e9b32b  
    1616
    1717#include <rtems/system.h>
    18 #include <rtems/core/apiext.h>
     18#include <rtems/score/apiext.h>
    1919
    2020/*PAGE
  • cpukit/score/src/chain.c

    r879a047 r5e9b32b  
    1919
    2020#include <rtems/system.h>
    21 #include <rtems/core/address.h>
    22 #include <rtems/core/chain.h>
    23 #include <rtems/core/isr.h>
     21#include <rtems/score/address.h>
     22#include <rtems/score/chain.h>
     23#include <rtems/score/isr.h>
    2424
    2525/*PAGE
  • cpukit/score/src/coremsg.c

    r879a047 r5e9b32b  
    2020
    2121#include <rtems/system.h>
    22 #include <rtems/core/chain.h>
    23 #include <rtems/core/isr.h>
    24 #include <rtems/core/object.h>
    25 #include <rtems/core/coremsg.h>
    26 #include <rtems/core/states.h>
    27 #include <rtems/core/thread.h>
    28 #include <rtems/core/wkspace.h>
    29 #include <rtems/core/mpci.h>
     22#include <rtems/score/chain.h>
     23#include <rtems/score/isr.h>
     24#include <rtems/score/object.h>
     25#include <rtems/score/coremsg.h>
     26#include <rtems/score/states.h>
     27#include <rtems/score/thread.h>
     28#include <rtems/score/wkspace.h>
     29#include <rtems/score/mpci.h>
    3030
    3131/*PAGE
     
    6464  the_message_queue->number_of_pending_messages = 0;
    6565  the_message_queue->maximum_message_size       = maximum_message_size;
     66  _CORE_message_queue_Set_notify( the_message_queue, NULL, NULL );
    6667 
    6768  /*
  • cpukit/score/src/coremutex.c

    r879a047 r5e9b32b  
    1919
    2020#include <rtems/system.h>
    21 #include <rtems/core/isr.h>
    22 #include <rtems/core/coremutex.h>
    23 #include <rtems/core/states.h>
    24 #include <rtems/core/thread.h>
    25 #include <rtems/core/threadq.h>
     21#include <rtems/score/isr.h>
     22#include <rtems/score/coremutex.h>
     23#include <rtems/score/states.h>
     24#include <rtems/score/thread.h>
     25#include <rtems/score/threadq.h>
    2626
    2727/*PAGE
  • cpukit/score/src/coresem.c

    r879a047 r5e9b32b  
    2020
    2121#include <rtems/system.h>
    22 #include <rtems/core/isr.h>
    23 #include <rtems/core/coresem.h>
    24 #include <rtems/core/states.h>
    25 #include <rtems/core/thread.h>
    26 #include <rtems/core/threadq.h>
    27 #include <rtems/core/mpci.h>
     22#include <rtems/score/isr.h>
     23#include <rtems/score/coresem.h>
     24#include <rtems/score/states.h>
     25#include <rtems/score/thread.h>
     26#include <rtems/score/threadq.h>
     27#include <rtems/score/mpci.h>
    2828
    2929/*PAGE
  • cpukit/score/src/coretod.c

    r879a047 r5e9b32b  
    1515
    1616#include <rtems/system.h>
    17 #include <rtems/core/object.h>
    18 #include <rtems/core/thread.h>
    19 #include <rtems/core/tod.h>
    20 #include <rtems/core/watchdog.h>
     17#include <rtems/score/object.h>
     18#include <rtems/score/thread.h>
     19#include <rtems/score/tod.h>
     20#include <rtems/score/watchdog.h>
    2121
    2222/*PAGE
  • cpukit/score/src/heap.c

    r879a047 r5e9b32b  
    1515
    1616#include <rtems/system.h>
    17 #include <rtems/core/sysstate.h>
    18 #include <rtems/core/heap.h>
     17#include <rtems/score/sysstate.h>
     18#include <rtems/score/heap.h>
    1919
    2020/*PAGE
  • cpukit/score/src/interr.c

    r879a047 r5e9b32b  
    1414
    1515#include <rtems/system.h>
    16 #include <rtems/core/interr.h>
    17 #include <rtems/core/sysstate.h>
    18 #include <rtems/core/userext.h>
     16#include <rtems/score/interr.h>
     17#include <rtems/score/sysstate.h>
     18#include <rtems/score/userext.h>
    1919
    2020/*PAGE
  • cpukit/score/src/isr.c

    r879a047 r5e9b32b  
    1515
    1616#include <rtems/system.h>
    17 #include <rtems/core/isr.h>
    18 #include <rtems/core/stack.h>
    19 #include <rtems/core/interr.h>
    20 #include <rtems/core/wkspace.h>
     17#include <rtems/score/isr.h>
     18#include <rtems/score/stack.h>
     19#include <rtems/score/interr.h>
     20#include <rtems/score/wkspace.h>
    2121
    2222/*  _ISR_Handler_initialization
  • cpukit/score/src/mpci.c

    r879a047 r5e9b32b  
    1515
    1616#include <rtems/system.h>
    17 #include <rtems/core/cpu.h>
    18 #include <rtems/core/interr.h>
    19 #include <rtems/core/mpci.h>
    20 #include <rtems/core/mppkt.h>
    21 #include <rtems/core/states.h>
    22 #include <rtems/core/thread.h>
    23 #include <rtems/core/threadq.h>
    24 #include <rtems/core/tqdata.h>
    25 #include <rtems/core/watchdog.h>
    26 #include <rtems/core/sysstate.h>
    27 
    28 #include <rtems/core/coresem.h>
     17#include <rtems/score/cpu.h>
     18#include <rtems/score/interr.h>
     19#include <rtems/score/mpci.h>
     20#include <rtems/score/mppkt.h>
     21#include <rtems/score/states.h>
     22#include <rtems/score/thread.h>
     23#include <rtems/score/threadq.h>
     24#include <rtems/score/tqdata.h>
     25#include <rtems/score/watchdog.h>
     26#include <rtems/score/sysstate.h>
     27
     28#include <rtems/score/coresem.h>
    2929
    3030/*PAGE
  • cpukit/score/src/object.c

    r879a047 r5e9b32b  
    1515
    1616#include <rtems/system.h>
    17 #include <rtems/core/chain.h>
    18 #include <rtems/core/object.h>
    19 #include <rtems/core/objectmp.h>
    20 #include <rtems/core/thread.h>
    21 #include <rtems/core/wkspace.h>
    22 #include <rtems/core/sysstate.h>
     17#include <rtems/score/chain.h>
     18#include <rtems/score/object.h>
     19#include <rtems/score/objectmp.h>
     20#include <rtems/score/thread.h>
     21#include <rtems/score/wkspace.h>
     22#include <rtems/score/sysstate.h>
    2323
    2424/*PAGE
  • cpukit/score/src/objectmp.c

    r879a047 r5e9b32b  
    1515
    1616#include <rtems/system.h>
    17 #include <rtems/core/interr.h>
    18 #include <rtems/core/object.h>
    19 #include <rtems/core/wkspace.h>
    20 #include <rtems/core/thread.h>
     17#include <rtems/score/interr.h>
     18#include <rtems/score/object.h>
     19#include <rtems/score/wkspace.h>
     20#include <rtems/score/thread.h>
    2121
    2222/*PAGE
     
    134134      _Chain_Extract( the_node );
    135135      _Objects_MP_Free_global_object( the_object );
    136 
    137136      return;
    138 
    139137    }
    140138
  • cpukit/score/src/thread.c

    r879a047 r5e9b32b  
    1515
    1616#include <rtems/system.h>
    17 #include <rtems/core/context.h>
    18 #include <rtems/core/interr.h>
    19 #include <rtems/core/isr.h>
    20 #include <rtems/core/object.h>
    21 #include <rtems/core/priority.h>
    22 #include <rtems/core/states.h>
    23 #include <rtems/core/thread.h>
    24 #include <rtems/core/threadq.h>
    25 #include <rtems/core/userext.h>
    26 #include <rtems/core/wkspace.h>
     17#include <rtems/score/context.h>
     18#include <rtems/score/interr.h>
     19#include <rtems/score/isr.h>
     20#include <rtems/score/object.h>
     21#include <rtems/score/priority.h>
     22#include <rtems/score/states.h>
     23#include <rtems/score/thread.h>
     24#include <rtems/score/threadq.h>
     25#include <rtems/score/userext.h>
     26#include <rtems/score/wkspace.h>
    2727
    2828/*PAGE
  • cpukit/score/src/threadmp.c

    r879a047 r5e9b32b  
    1515
    1616#include <rtems/system.h>
    17 #include <rtems/core/priority.h>
    18 #include <rtems/core/thread.h>
    19 #include <rtems/core/wkspace.h>
    20 #include <rtems/core/isr.h>
     17#include <rtems/score/priority.h>
     18#include <rtems/score/thread.h>
     19#include <rtems/score/wkspace.h>
     20#include <rtems/score/isr.h>
    2121
    2222/*PAGE
  • cpukit/score/src/threadq.c

    r879a047 r5e9b32b  
    1515
    1616#include <rtems/system.h>
    17 #include <rtems/core/chain.h>
    18 #include <rtems/core/isr.h>
    19 #include <rtems/core/object.h>
    20 #include <rtems/core/states.h>
    21 #include <rtems/core/thread.h>
    22 #include <rtems/core/threadq.h>
    23 #include <rtems/core/tqdata.h>
     17#include <rtems/score/chain.h>
     18#include <rtems/score/isr.h>
     19#include <rtems/score/object.h>
     20#include <rtems/score/states.h>
     21#include <rtems/score/thread.h>
     22#include <rtems/score/threadq.h>
     23#include <rtems/score/tqdata.h>
    2424
    2525/*PAGE
  • cpukit/score/src/userext.c

    r879a047 r5e9b32b  
    1616
    1717#include <rtems/system.h>
    18 #include <rtems/core/userext.h>
     18#include <rtems/score/userext.h>
    1919
    2020/*PAGE
  • cpukit/score/src/watchdog.c

    r879a047 r5e9b32b  
    1515
    1616#include <rtems/system.h>
    17 #include <rtems/core/isr.h>
    18 #include <rtems/core/watchdog.h>
     17#include <rtems/score/isr.h>
     18#include <rtems/score/watchdog.h>
    1919
    2020/*PAGE
  • cpukit/score/src/wkspace.c

    r879a047 r5e9b32b  
    1818
    1919#include <rtems/system.h>
    20 #include <rtems/core/wkspace.h>
    21 #include <rtems/core/interr.h>
     20#include <rtems/score/wkspace.h>
     21#include <rtems/score/interr.h>
    2222
    2323/*PAGE
Note: See TracChangeset for help on using the changeset viewer.