Changeset 3235ad9 in rtems


Ignore:
Timestamp:
08/23/95 19:30:23 (27 years ago)
Author:
Joel Sherrill <joel.sherrill@…>
Branches:
4.10, 4.11, 4.8, 4.9, 5, master
Children:
5250ff39
Parents:
80e2c29e
Message:

Support for variable length names added to Object Handler. This supports
both fixed length "raw" names and strings from the API's point of view.

Both inline and macro implementations were tested.

Files:
24 added
390 edited

Legend:

Unmodified
Added
Removed
  • c/src/exec/libcsupport/src/__brk.c

    r80e2c29e r3235ad9  
    1515 *  notice must appear in all copies of this file and its derivatives.
    1616 *
    17  *  __brk.c,v 1.2 1995/05/09 20:24:28 joel Exp
     17 *  $Id$
    1818 */
    1919
  • c/src/exec/libcsupport/src/__gettod.c

    r80e2c29e r3235ad9  
    1212 *  notice must appear in all copies of this file and its derivatives.
    1313 *
    14  *  __gettod.c,v 1.2 1995/05/09 20:24:31 joel Exp
     14 *  $Id$
    1515 */
    1616
  • c/src/exec/libcsupport/src/newlibc.c

    r80e2c29e r3235ad9  
    3636 *  NOTE:
    3737 *
    38  *  newlibc.c,v 1.2 1995/05/09 20:24:37 joel Exp
     38 *  $Id$
    3939 *
    4040 */
  • c/src/exec/rtems/headers/dpmem.h

    r80e2c29e r3235ad9  
    3333#endif
    3434
     35#include <rtems.h>
    3536#include <rtems/object.h>
    3637
     
    7980
    8081rtems_status_code rtems_port_create(
    81   Objects_Name  name,
     82  rtems_name    name,
    8283  void         *internal_start,
    8384  void         *external_start,
     
    9798
    9899rtems_status_code rtems_port_ident(
    99   Objects_Name  name,
     100  rtems_name    name,
    100101  Objects_Id   *id
    101102);
  • c/src/exec/rtems/headers/eventmp.h

    r80e2c29e r3235ad9  
    4444
    4545typedef struct {
    46   rtems_packet_prefix           Prefix;
    47   Event_MP_Remote_operations operation;
    48   rtems_event_set         event_in;
     46  rtems_packet_prefix         Prefix;
     47  Event_MP_Remote_operations  operation;
     48  rtems_event_set             event_in;
    4949}   Event_MP_Packet;
    5050
  • c/src/exec/rtems/headers/message.h

    r80e2c29e r3235ad9  
    3535#endif
    3636
     37#include <rtems/types.h>
    3738#include <rtems/chain.h>
    3839#include <rtems/object.h>
     
    130131
    131132rtems_status_code rtems_message_queue_create(
    132   Objects_Name     name,
     133  rtems_name       name,
    133134  unsigned32       count,
    134135  unsigned32       max_message_size,
     
    152153
    153154rtems_status_code rtems_message_queue_ident(
    154   Objects_Name  name,
     155  rtems_name    name,
    155156  unsigned32    node,
    156157  Objects_Id   *id
  • c/src/exec/rtems/headers/msgmp.h

    r80e2c29e r3235ad9  
    5858  rtems_packet_prefix                Prefix;
    5959  Message_queue_MP_Remote_operations operation;
    60   Objects_Name                       name;
     60  rtems_name                         name;
    6161  rtems_option                       option_set;
    6262  Objects_Id                         proxy_id;
     
    7979  Message_queue_MP_Remote_operations operation,
    8080  Objects_Id                         message_queue_id,
    81   Objects_Name                       name,
     81  rtems_name                         name,
    8282  Objects_Id                         proxy_id
    8383);
  • c/src/exec/rtems/headers/part.h

    r80e2c29e r3235ad9  
    3232#endif
    3333
     34#include <rtems.h>
    3435#include <rtems/address.h>
    3536#include <rtems/attr.h>
     
    8485
    8586rtems_status_code rtems_partition_create(
    86   Objects_Name        name,
     87  rtems_name          name,
    8788  void               *starting_address,
    8889  unsigned32          length,
     
    107108
    108109rtems_status_code rtems_partition_ident(
    109   Objects_Name  name,
     110  rtems_name    name,
    110111  unsigned32    node,
    111112  Objects_Id   *id
  • c/src/exec/rtems/headers/partmp.h

    r80e2c29e r3235ad9  
    4949
    5050typedef struct {
    51   rtems_packet_prefix                Prefix;
     51  rtems_packet_prefix             Prefix;
    5252  Partition_MP_Remote_operations  operation;
    53   Objects_Name                    name;
     53  rtems_name                      name;
    5454  void                           *buffer;
    5555  Objects_Id                      proxy_id;
     
    6868  Partition_MP_Remote_operations operation,
    6969  Objects_Id                     partition_id,
    70   Objects_Name                   name,
     70  rtems_name                     name,
    7171  Objects_Id                     proxy_id
    7272);
  • c/src/exec/rtems/headers/ratemon.h

    r80e2c29e r3235ad9  
    3030#endif
    3131
     32#include <rtems.h>
    3233#include <rtems/object.h>
    3334#include <rtems/thread.h>
     
    8990
    9091rtems_status_code rtems_rate_monotonic_create(
    91   Objects_Name  name,
     92  rtems_name    name,
    9293  Objects_Id   *id
    9394);
     
    105106
    106107rtems_status_code rtems_rate_monotonic_ident(
    107   Objects_Name  name,
     108  rtems_name    name,
    108109  Objects_Id   *id
    109110);
  • c/src/exec/rtems/headers/region.h

    r80e2c29e r3235ad9  
    3131#endif
    3232
     33#include <rtems.h>
    3334#include <rtems/object.h>
    3435#include <rtems/threadq.h>
     
    8788
    8889rtems_status_code rtems_region_create(
    89   Objects_Name        name,
     90  rtems_name          name,
    9091  void               *starting_address,
    9192  unsigned32          length,
     
    124125
    125126rtems_status_code rtems_region_ident(
    126   Objects_Name  name,
     127  rtems_name    name,
    127128  Objects_Id   *id
    128129);
  • c/src/exec/rtems/headers/regionmp.h

    r80e2c29e r3235ad9  
    4949
    5050typedef struct {
    51   rtems_packet_prefix             Prefix;
     51  rtems_packet_prefix          Prefix;
    5252  Region_MP_Remote_operations  operation;
    53   Objects_Name                 name;
    54   rtems_option              option_set;
     53  rtems_name                   name;
     54  rtems_option                 option_set;
    5555  unsigned32                   size;
    5656  Objects_Id                   proxy_id;
     
    7070  Region_MP_Remote_operations operation,
    7171  Objects_Id                  region_id,
    72   Objects_Name                name,
     72  rtems_name                  name,
    7373  Objects_Id                  proxy_id
    7474);
  • c/src/exec/rtems/headers/rtems.h

    r80e2c29e r3235ad9  
    2525
    2626#include <rtems/system.h>
     27#include <rtems/types.h>
     28
    2729#include <rtems/init.h>
    2830#include <rtems/tasks.h>
     
    4446#include <rtems/mp.h>
    4547
    46 /*
    47  *  RTEMS basic type definitions
    48  */
    49 
    50 typedef unsigned8       rtems_unsigned8;  /* unsigned 8-bit value  */
    51 typedef unsigned16      rtems_unsigned16; /* unsigned 16-bit value */
    52 typedef unsigned32      rtems_unsigned32; /* unsigned 32-bit value */
    53 typedef unsigned64      rtems_unsigned64; /* unsigned 64-bit value */
    54 
    55 typedef signed8         rtems_signed8;    /* signed 8-bit value  */
    56 typedef signed16        rtems_signed16;   /* signed 16-bit value */
    57 typedef signed32        rtems_signed32;   /* signed 32-bit value */
    58 typedef signed64        rtems_signed64;   /* signed 64-bit value */
    59 
    60 typedef single_precision rtems_single;    /* single precision float */
    61 typedef double_precision rtems_double;    /* double precision float */
    62 
    63 typedef boolean                    rtems_boolean;
    64 
    65 typedef Objects_Name               rtems_name;
    66 typedef Objects_Id                 rtems_id;
    67 
    68 typedef Context_Control            rtems_context;
    69 typedef Context_Control_fp         rtems_context_fp;
    70 typedef CPU_Interrupt_frame        rtems_interrupt_frame;
     48#include <rtems/support.h>
    7149
    7250#define RTEMS_HAS_HARDWARE_FP CPU_HARDWARE_FP
  • c/src/exec/rtems/headers/sem.h

    r80e2c29e r3235ad9  
    3232#endif
    3333
     34#include <rtems.h>
    3435#include <rtems/attr.h>
    3536#include <rtems/object.h>
     
    8283
    8384rtems_status_code rtems_semaphore_create(
    84   Objects_Name        name,
     85  rtems_name          name,
    8586  unsigned32          count,
    8687  rtems_attribute  attribute_set,
     
    103104
    104105rtems_status_code rtems_semaphore_ident(
    105   Objects_Name  name,
     106  rtems_name    name,
    106107  unsigned32    node,
    107108  Objects_Id   *id
  • c/src/exec/rtems/headers/semmp.h

    r80e2c29e r3235ad9  
    5050
    5151typedef struct {
    52   rtems_packet_prefix               Prefix;
    53   Semaphore_MP_Remote_operations operation;
    54   Objects_Name                   name;
    55   rtems_option                option_set;
    56   Objects_Id                     proxy_id;
     52  rtems_packet_prefix             Prefix;
     53  Semaphore_MP_Remote_operations  operation;
     54  rtems_name                      name;
     55  rtems_option                    option_set;
     56  Objects_Id                      proxy_id;
    5757}   Semaphore_MP_Packet;
    5858
     
    6969  Semaphore_MP_Remote_operations operation,
    7070  Objects_Id                     semaphore_id,
    71   Objects_Name                   name,
     71  rtems_name                     name,
    7272  Objects_Id                     proxy_id
    7373);
  • c/src/exec/rtems/headers/signalmp.h

    r80e2c29e r3235ad9  
    4444
    4545typedef struct {
    46   rtems_packet_prefix            Prefix;
    47   Signal_MP_Remote_operations operation;
    48   rtems_signal_set      signal_in;
     46  rtems_packet_prefix          Prefix;
     47  Signal_MP_Remote_operations  operation;
     48  rtems_signal_set             signal_in;
    4949}   Signal_MP_Packet;
    5050
  • c/src/exec/rtems/headers/taskmp.h

    r80e2c29e r3235ad9  
    5555
    5656typedef struct {
    57   rtems_packet_prefix                 Prefix;
    58   RTEMS_tasks_MP_Remote_operations operation;
    59   Objects_Name                     name;
    60   rtems_task_priority                 the_priority;
    61   unsigned32                       notepad;
    62   unsigned32                       note;
     57  rtems_packet_prefix               Prefix;
     58  RTEMS_tasks_MP_Remote_operations  operation;
     59  rtems_name                        name;
     60  rtems_task_priority               the_priority;
     61  unsigned32                        notepad;
     62  unsigned32                        note;
    6363}   RTEMS_tasks_MP_Packet;
    6464
     
    7575  RTEMS_tasks_MP_Remote_operations operation,
    7676  Objects_Id                       task_id,
    77   Objects_Name                     name
     77  rtems_name                       name
    7878);
    7979
  • c/src/exec/rtems/headers/tasks.h

    r80e2c29e r3235ad9  
    3939#endif
    4040
     41#include <rtems.h>
    4142#include <rtems/message.h>
    4243#include <rtems/object.h>
     
    7576
    7677rtems_status_code rtems_task_create(
    77   Objects_Name        name,
     78  rtems_name          name,
    7879  rtems_task_priority    initial_priority,
    7980  unsigned32          stack_size,
     
    9899
    99100rtems_status_code rtems_task_ident(
    100   Objects_Name  name,
     101  rtems_name    name,
    101102  unsigned32    node,
    102103  Objects_Id   *id
  • c/src/exec/rtems/headers/timer.h

    r80e2c29e r3235ad9  
    3434#endif
    3535
     36#include <rtems.h>
    3637#include <rtems/object.h>
    3738#include <rtems/tod.h>
     
    9697
    9798rtems_status_code rtems_timer_create(
    98   Objects_Name  name,
     99  rtems_name    name,
    99100  Objects_Id   *id
    100101);
     
    112113
    113114rtems_status_code rtems_timer_ident(
    114   Objects_Name  name,
     115  rtems_name    name,
    115116  Objects_Id   *id
    116117);
  • c/src/exec/rtems/include/rtems.h

    r80e2c29e r3235ad9  
    2525
    2626#include <rtems/system.h>
     27#include <rtems/types.h>
     28
    2729#include <rtems/init.h>
    2830#include <rtems/tasks.h>
     
    4446#include <rtems/mp.h>
    4547
    46 /*
    47  *  RTEMS basic type definitions
    48  */
    49 
    50 typedef unsigned8       rtems_unsigned8;  /* unsigned 8-bit value  */
    51 typedef unsigned16      rtems_unsigned16; /* unsigned 16-bit value */
    52 typedef unsigned32      rtems_unsigned32; /* unsigned 32-bit value */
    53 typedef unsigned64      rtems_unsigned64; /* unsigned 64-bit value */
    54 
    55 typedef signed8         rtems_signed8;    /* signed 8-bit value  */
    56 typedef signed16        rtems_signed16;   /* signed 16-bit value */
    57 typedef signed32        rtems_signed32;   /* signed 32-bit value */
    58 typedef signed64        rtems_signed64;   /* signed 64-bit value */
    59 
    60 typedef single_precision rtems_single;    /* single precision float */
    61 typedef double_precision rtems_double;    /* double precision float */
    62 
    63 typedef boolean                    rtems_boolean;
    64 
    65 typedef Objects_Name               rtems_name;
    66 typedef Objects_Id                 rtems_id;
    67 
    68 typedef Context_Control            rtems_context;
    69 typedef Context_Control_fp         rtems_context_fp;
    70 typedef CPU_Interrupt_frame        rtems_interrupt_frame;
     48#include <rtems/support.h>
    7149
    7250#define RTEMS_HAS_HARDWARE_FP CPU_HARDWARE_FP
  • c/src/exec/rtems/include/rtems/rtems/dpmem.h

    r80e2c29e r3235ad9  
    3333#endif
    3434
     35#include <rtems.h>
    3536#include <rtems/object.h>
    3637
     
    7980
    8081rtems_status_code rtems_port_create(
    81   Objects_Name  name,
     82  rtems_name    name,
    8283  void         *internal_start,
    8384  void         *external_start,
     
    9798
    9899rtems_status_code rtems_port_ident(
    99   Objects_Name  name,
     100  rtems_name    name,
    100101  Objects_Id   *id
    101102);
  • c/src/exec/rtems/include/rtems/rtems/eventmp.h

    r80e2c29e r3235ad9  
    4444
    4545typedef struct {
    46   rtems_packet_prefix           Prefix;
    47   Event_MP_Remote_operations operation;
    48   rtems_event_set         event_in;
     46  rtems_packet_prefix         Prefix;
     47  Event_MP_Remote_operations  operation;
     48  rtems_event_set             event_in;
    4949}   Event_MP_Packet;
    5050
  • c/src/exec/rtems/include/rtems/rtems/message.h

    r80e2c29e r3235ad9  
    3535#endif
    3636
     37#include <rtems/types.h>
    3738#include <rtems/chain.h>
    3839#include <rtems/object.h>
     
    130131
    131132rtems_status_code rtems_message_queue_create(
    132   Objects_Name     name,
     133  rtems_name       name,
    133134  unsigned32       count,
    134135  unsigned32       max_message_size,
     
    152153
    153154rtems_status_code rtems_message_queue_ident(
    154   Objects_Name  name,
     155  rtems_name    name,
    155156  unsigned32    node,
    156157  Objects_Id   *id
  • c/src/exec/rtems/include/rtems/rtems/msgmp.h

    r80e2c29e r3235ad9  
    5858  rtems_packet_prefix                Prefix;
    5959  Message_queue_MP_Remote_operations operation;
    60   Objects_Name                       name;
     60  rtems_name                         name;
    6161  rtems_option                       option_set;
    6262  Objects_Id                         proxy_id;
     
    7979  Message_queue_MP_Remote_operations operation,
    8080  Objects_Id                         message_queue_id,
    81   Objects_Name                       name,
     81  rtems_name                         name,
    8282  Objects_Id                         proxy_id
    8383);
  • c/src/exec/rtems/include/rtems/rtems/part.h

    r80e2c29e r3235ad9  
    3232#endif
    3333
     34#include <rtems.h>
    3435#include <rtems/address.h>
    3536#include <rtems/attr.h>
     
    8485
    8586rtems_status_code rtems_partition_create(
    86   Objects_Name        name,
     87  rtems_name          name,
    8788  void               *starting_address,
    8889  unsigned32          length,
     
    107108
    108109rtems_status_code rtems_partition_ident(
    109   Objects_Name  name,
     110  rtems_name    name,
    110111  unsigned32    node,
    111112  Objects_Id   *id
  • c/src/exec/rtems/include/rtems/rtems/partmp.h

    r80e2c29e r3235ad9  
    4949
    5050typedef struct {
    51   rtems_packet_prefix                Prefix;
     51  rtems_packet_prefix             Prefix;
    5252  Partition_MP_Remote_operations  operation;
    53   Objects_Name                    name;
     53  rtems_name                      name;
    5454  void                           *buffer;
    5555  Objects_Id                      proxy_id;
     
    6868  Partition_MP_Remote_operations operation,
    6969  Objects_Id                     partition_id,
    70   Objects_Name                   name,
     70  rtems_name                     name,
    7171  Objects_Id                     proxy_id
    7272);
  • c/src/exec/rtems/include/rtems/rtems/ratemon.h

    r80e2c29e r3235ad9  
    3030#endif
    3131
     32#include <rtems.h>
    3233#include <rtems/object.h>
    3334#include <rtems/thread.h>
     
    8990
    9091rtems_status_code rtems_rate_monotonic_create(
    91   Objects_Name  name,
     92  rtems_name    name,
    9293  Objects_Id   *id
    9394);
     
    105106
    106107rtems_status_code rtems_rate_monotonic_ident(
    107   Objects_Name  name,
     108  rtems_name    name,
    108109  Objects_Id   *id
    109110);
  • c/src/exec/rtems/include/rtems/rtems/region.h

    r80e2c29e r3235ad9  
    3131#endif
    3232
     33#include <rtems.h>
    3334#include <rtems/object.h>
    3435#include <rtems/threadq.h>
     
    8788
    8889rtems_status_code rtems_region_create(
    89   Objects_Name        name,
     90  rtems_name          name,
    9091  void               *starting_address,
    9192  unsigned32          length,
     
    124125
    125126rtems_status_code rtems_region_ident(
    126   Objects_Name  name,
     127  rtems_name    name,
    127128  Objects_Id   *id
    128129);
  • c/src/exec/rtems/include/rtems/rtems/regionmp.h

    r80e2c29e r3235ad9  
    4949
    5050typedef struct {
    51   rtems_packet_prefix             Prefix;
     51  rtems_packet_prefix          Prefix;
    5252  Region_MP_Remote_operations  operation;
    53   Objects_Name                 name;
    54   rtems_option              option_set;
     53  rtems_name                   name;
     54  rtems_option                 option_set;
    5555  unsigned32                   size;
    5656  Objects_Id                   proxy_id;
     
    7070  Region_MP_Remote_operations operation,
    7171  Objects_Id                  region_id,
    72   Objects_Name                name,
     72  rtems_name                  name,
    7373  Objects_Id                  proxy_id
    7474);
  • c/src/exec/rtems/include/rtems/rtems/sem.h

    r80e2c29e r3235ad9  
    3232#endif
    3333
     34#include <rtems.h>
    3435#include <rtems/attr.h>
    3536#include <rtems/object.h>
     
    8283
    8384rtems_status_code rtems_semaphore_create(
    84   Objects_Name        name,
     85  rtems_name          name,
    8586  unsigned32          count,
    8687  rtems_attribute  attribute_set,
     
    103104
    104105rtems_status_code rtems_semaphore_ident(
    105   Objects_Name  name,
     106  rtems_name    name,
    106107  unsigned32    node,
    107108  Objects_Id   *id
  • c/src/exec/rtems/include/rtems/rtems/semmp.h

    r80e2c29e r3235ad9  
    5050
    5151typedef struct {
    52   rtems_packet_prefix               Prefix;
    53   Semaphore_MP_Remote_operations operation;
    54   Objects_Name                   name;
    55   rtems_option                option_set;
    56   Objects_Id                     proxy_id;
     52  rtems_packet_prefix             Prefix;
     53  Semaphore_MP_Remote_operations  operation;
     54  rtems_name                      name;
     55  rtems_option                    option_set;
     56  Objects_Id                      proxy_id;
    5757}   Semaphore_MP_Packet;
    5858
     
    6969  Semaphore_MP_Remote_operations operation,
    7070  Objects_Id                     semaphore_id,
    71   Objects_Name                   name,
     71  rtems_name                     name,
    7272  Objects_Id                     proxy_id
    7373);
  • c/src/exec/rtems/include/rtems/rtems/signalmp.h

    r80e2c29e r3235ad9  
    4444
    4545typedef struct {
    46   rtems_packet_prefix            Prefix;
    47   Signal_MP_Remote_operations operation;
    48   rtems_signal_set      signal_in;
     46  rtems_packet_prefix          Prefix;
     47  Signal_MP_Remote_operations  operation;
     48  rtems_signal_set             signal_in;
    4949}   Signal_MP_Packet;
    5050
  • c/src/exec/rtems/include/rtems/rtems/taskmp.h

    r80e2c29e r3235ad9  
    5555
    5656typedef struct {
    57   rtems_packet_prefix                 Prefix;
    58   RTEMS_tasks_MP_Remote_operations operation;
    59   Objects_Name                     name;
    60   rtems_task_priority                 the_priority;
    61   unsigned32                       notepad;
    62   unsigned32                       note;
     57  rtems_packet_prefix               Prefix;
     58  RTEMS_tasks_MP_Remote_operations  operation;
     59  rtems_name                        name;
     60  rtems_task_priority               the_priority;
     61  unsigned32                        notepad;
     62  unsigned32                        note;
    6363}   RTEMS_tasks_MP_Packet;
    6464
     
    7575  RTEMS_tasks_MP_Remote_operations operation,
    7676  Objects_Id                       task_id,
    77   Objects_Name                     name
     77  rtems_name                       name
    7878);
    7979
  • c/src/exec/rtems/include/rtems/rtems/tasks.h

    r80e2c29e r3235ad9  
    3939#endif
    4040
     41#include <rtems.h>
    4142#include <rtems/message.h>
    4243#include <rtems/object.h>
     
    7576
    7677rtems_status_code rtems_task_create(
    77   Objects_Name        name,
     78  rtems_name          name,
    7879  rtems_task_priority    initial_priority,
    7980  unsigned32          stack_size,
     
    9899
    99100rtems_status_code rtems_task_ident(
    100   Objects_Name  name,
     101  rtems_name    name,
    101102  unsigned32    node,
    102103  Objects_Id   *id
  • c/src/exec/rtems/include/rtems/rtems/timer.h

    r80e2c29e r3235ad9  
    3434#endif
    3535
     36#include <rtems.h>
    3637#include <rtems/object.h>
    3738#include <rtems/tod.h>
     
    9697
    9798rtems_status_code rtems_timer_create(
    98   Objects_Name  name,
     99  rtems_name    name,
    99100  Objects_Id   *id
    100101);
     
    112113
    113114rtems_status_code rtems_timer_ident(
    114   Objects_Name  name,
     115  rtems_name    name,
    115116  Objects_Id   *id
    116117);
  • c/src/exec/rtems/inline/rtems/rtems/tasks.inl

    r80e2c29e r3235ad9  
    1717#ifndef __RTEMS_TASKS_inl
    1818#define __RTEMS_TASKS_inl
     19
     20#include <rtems/msgmp.h>
     21#include <rtems/partmp.h>
     22#include <rtems/regionmp.h>
     23#include <rtems/semmp.h>
    1924
    2025/*PAGE
  • c/src/exec/rtems/inline/tasks.inl

    r80e2c29e r3235ad9  
    1717#ifndef __RTEMS_TASKS_inl
    1818#define __RTEMS_TASKS_inl
     19
     20#include <rtems/msgmp.h>
     21#include <rtems/partmp.h>
     22#include <rtems/regionmp.h>
     23#include <rtems/semmp.h>
    1924
    2025/*PAGE
  • c/src/exec/rtems/macros/rtems/rtems/tasks.inl

    r80e2c29e r3235ad9  
    1717#ifndef __RTEMS_TASKS_inl
    1818#define __RTEMS_TASKS_inl
     19
     20#include <rtems/msgmp.h>
     21#include <rtems/partmp.h>
     22#include <rtems/regionmp.h>
     23#include <rtems/semmp.h>
    1924
    2025/*PAGE
  • c/src/exec/rtems/macros/tasks.inl

    r80e2c29e r3235ad9  
    1717#ifndef __RTEMS_TASKS_inl
    1818#define __RTEMS_TASKS_inl
     19
     20#include <rtems/msgmp.h>
     21#include <rtems/partmp.h>
     22#include <rtems/regionmp.h>
     23#include <rtems/semmp.h>
    1924
    2025/*PAGE
  • c/src/exec/rtems/optman/no-dpmem.c

    r80e2c29e r3235ad9  
    2626
    2727rtems_status_code rtems_port_create(
    28   Objects_Name  name,
     28  rtems_name    name,
    2929  void         *internal_start,
    3030  void         *external_start,
     
    3737
    3838rtems_status_code rtems_port_ident(
    39   Objects_Name  name,
     39  rtems_name    name,
    4040  Objects_Id   *id
    4141)
  • c/src/exec/rtems/optman/no-msg.c

    r80e2c29e r3235ad9  
    3333
    3434rtems_status_code rtems_message_queue_create(
    35   Objects_Name        name,
     35  rtems_name          name,
    3636  unsigned32          count,
    3737  unsigned32          max_message_size,
     
    4444
    4545rtems_status_code rtems_message_queue_ident(
    46   Objects_Name  name,
     46  rtems_name    name,
    4747  unsigned32    node,
    4848  Objects_Id   *id
  • c/src/exec/rtems/optman/no-part.c

    r80e2c29e r3235ad9  
    2828
    2929rtems_status_code rtems_partition_create(
    30   Objects_Name        name,
     30  rtems_name          name,
    3131  void               *starting_address,
    3232  unsigned32          length,
     
    4040
    4141rtems_status_code rtems_partition_ident(
    42   Objects_Name  name,
     42  rtems_name    name,
    4343  unsigned32    node,
    4444  Objects_Id   *id
  • c/src/exec/rtems/optman/no-region.c

    r80e2c29e r3235ad9  
    2929
    3030rtems_status_code rtems_region_create(
    31   Objects_Name        name,
     31  rtems_name          name,
    3232  void               *starting_address,
    3333  unsigned32          length,
     
    4141
    4242rtems_status_code rtems_region_ident(
    43   Objects_Name  name,
     43  rtems_name    name,
    4444  Objects_Id   *id
    4545)
  • c/src/exec/rtems/optman/no-rtmon.c

    r80e2c29e r3235ad9  
    2727
    2828rtems_status_code rtems_rate_monotonic_create(
    29   Objects_Name  name,
     29  rtems_name    name,
    3030  Objects_Id   *id
    3131)
     
    3535
    3636rtems_status_code rtems_rate_monotonic_ident(
    37   Objects_Name  name,
     37  rtems_name    name,
    3838  Objects_Id   *id
    3939)
  • c/src/exec/rtems/optman/no-sem.c

    r80e2c29e r3235ad9  
    3232
    3333rtems_status_code rtems_semaphore_create(
    34   Objects_Name        name,
     34  rtems_name          name,
    3535  unsigned32          count,
    3636  rtems_attribute  attribute_set,
     
    4242
    4343rtems_status_code rtems_semaphore_ident(
    44   Objects_Name  name,
     44  rtems_name    name,
    4545  unsigned32    node,
    4646  Objects_Id   *id
  • c/src/exec/rtems/optman/no-timer.c

    r80e2c29e r3235ad9  
    2828
    2929rtems_status_code rtems_timer_create(
    30   Objects_Name  name,
     30  rtems_name    name,
    3131  Objects_Id   *id
    3232)
     
    3636
    3737rtems_status_code rtems_timer_ident(
    38   Objects_Name  name,
     38  rtems_name    name,
    3939  Objects_Id   *id
    4040)
  • c/src/exec/rtems/src/dpmem.c

    r80e2c29e r3235ad9  
    1414
    1515#include <rtems/system.h>
     16#include <rtems/support.h>
    1617#include <rtems/address.h>
    1718#include <rtems/dpmem.h>
     
    3738{
    3839  _Objects_Initialize_information(
    39      &_Dual_ported_memory_Information,
    40      OBJECTS_RTEMS_PORTS,
    41      FALSE,
    42      maximum_ports,
    43      sizeof( Dual_ported_memory_Control )
     40    &_Dual_ported_memory_Information,
     41    OBJECTS_RTEMS_PORTS,
     42    FALSE,
     43    maximum_ports,
     44    sizeof( Dual_ported_memory_Control ),
     45    FALSE,
     46    RTEMS_MAXIMUM_NAME_LENGTH
    4447  );
    4548}
     
    6568
    6669rtems_status_code rtems_port_create(
    67   Objects_Name  name,
     70  rtems_name    name,
    6871  void         *internal_start,
    6972  void         *external_start,
     
    7477  register Dual_ported_memory_Control *the_port;
    7578
    76   if ( !_Objects_Is_name_valid( name) )
     79  if ( !rtems_is_name_valid( name) )
    7780    return ( RTEMS_INVALID_NAME );
    7881
     
    9497  the_port->length        = length - 1;
    9598
    96   _Objects_Open( &_Dual_ported_memory_Information,
    97                  &the_port->Object, name );
     99  _Objects_Open(
     100    &_Dual_ported_memory_Information,
     101    &the_port->Object,
     102    &name
     103  );
     104
    98105  *id = the_port->Object.id;
    99106  _Thread_Enable_dispatch();
     
    119126
    120127rtems_status_code rtems_port_ident(
    121   Objects_Name  name,
     128  rtems_name    name,
    122129  Objects_Id   *id
    123130)
     
    126133    _Objects_Name_to_id(
    127134      &_Dual_ported_memory_Information,
    128       name,
     135      &name,
    129136      RTEMS_SEARCH_ALL_NODES,
    130137      id
  • c/src/exec/rtems/src/msg.c

    r80e2c29e r3235ad9  
    2323#include <rtems/options.h>
    2424#include <rtems/states.h>
     25#include <rtems/support.h>
    2526#include <rtems/thread.h>
    2627#include <rtems/wkspace.h>
     
    4950    TRUE,
    5051    maximum_message_queues,
    51     sizeof( Message_queue_Control )
     52    sizeof( Message_queue_Control ),
     53    FALSE,
     54    RTEMS_MAXIMUM_NAME_LENGTH
    5255  );
    5356}
     
    131134
    132135rtems_status_code rtems_message_queue_create(
    133   Objects_Name        name,
     136  rtems_name          name,
    134137  unsigned32          count,
    135138  unsigned32          max_message_size,
     
    140143  register Message_queue_Control *the_message_queue;
    141144
    142   if ( !_Objects_Is_name_valid( name ) )
     145  if ( !rtems_is_name_valid( name ) )
    143146    return ( RTEMS_INVALID_NAME );
    144147
     
    195198                            STATES_WAITING_FOR_MESSAGE );
    196199
    197   _Objects_Open( &_Message_queue_Information,
    198                  &the_message_queue->Object, name );
     200  _Objects_Open(
     201    &_Message_queue_Information,
     202    &the_message_queue->Object,
     203    &name
     204  );
    199205
    200206  *id = the_message_queue->Object.id;
     
    231237
    232238rtems_status_code rtems_message_queue_ident(
    233   Objects_Name  name,
     239  rtems_name    name,
    234240  unsigned32    node,
    235241  Objects_Id   *id
    236242)
    237243{
    238   return( _Objects_Name_to_id( &_Message_queue_Information, name,
    239                                node, id ) );
     244  return _Objects_Name_to_id(
     245    &_Message_queue_Information,
     246    &name,
     247    node,
     248    id
     249  );
    240250}
    241251
  • c/src/exec/rtems/src/msgmp.c

    r80e2c29e r3235ad9  
    3333  Message_queue_MP_Remote_operations  operation,
    3434  Objects_Id                          message_queue_id,
    35   Objects_Name                        name,
     35  rtems_name                          name,
    3636  Objects_Id                          proxy_id
    3737)
     
    435435    MESSAGE_QUEUE_MP_EXTRACT_PROXY,
    436436    the_thread->Wait.id,
    437     (Objects_Name) 0,
     437    (rtems_name) 0,
    438438    the_thread->Object.id
    439439  );
  • c/src/exec/rtems/src/part.c

    r80e2c29e r3235ad9  
    1515
    1616#include <rtems/system.h>
     17#include <rtems/support.h>
    1718#include <rtems/address.h>
    1819#include <rtems/config.h>
     
    4344    TRUE,
    4445    maximum_partitions,
    45     sizeof( Partition_Control )
     46    sizeof( Partition_Control ),
     47    FALSE,
     48    RTEMS_MAXIMUM_NAME_LENGTH
    4649  );
    4750
     
    7073
    7174rtems_status_code rtems_partition_create(
    72   Objects_Name        name,
     75  rtems_name          name,
    7376  void               *starting_address,
    7477  unsigned32          length,
     
    8083  register Partition_Control *the_partition;
    8184
    82   if ( !_Objects_Is_name_valid( name ) )
     85  if ( !rtems_is_name_valid( name ) )
    8386    return ( RTEMS_INVALID_NAME );
    8487
     
    119122                        length / buffer_size, buffer_size );
    120123
    121   _Objects_Open( &_Partition_Information, &the_partition->Object, name );
     124  _Objects_Open( &_Partition_Information, &the_partition->Object, &name );
    122125
    123126  *id = the_partition->Object.id;
     
    153156
    154157rtems_status_code rtems_partition_ident(
    155   Objects_Name  name,
     158  rtems_name    name,
    156159  unsigned32    node,
    157160  Objects_Id   *id
    158161)
    159162{
    160   return( _Objects_Name_to_id( &_Partition_Information, name, node, id ) );
     163  return _Objects_Name_to_id( &_Partition_Information, &name, node, id );
    161164}
    162165
  • c/src/exec/rtems/src/partmp.c

    r80e2c29e r3235ad9  
    3131  Partition_MP_Remote_operations  operation,
    3232  Objects_Id                      partition_id,
    33   Objects_Name                    name,
     33  rtems_name                      name,
    3434  Objects_Id                      proxy_id
    3535)
     
    281281    PARTITION_MP_EXTRACT_PROXY,
    282282    the_thread->Wait.id,
    283     (Objects_Name) 0,
     283    (rtems_name) 0,
    284284    the_thread->Object.id
    285285  );
  • c/src/exec/rtems/src/ratemon.c

    r80e2c29e r3235ad9  
    1515
    1616#include <rtems/system.h>
     17#include <rtems/support.h>
    1718#include <rtems/isr.h>
    1819#include <rtems/object.h>
     
    4142{
    4243  _Objects_Initialize_information(
    43      &_Rate_monotonic_Information,
    44      OBJECTS_RTEMS_PERIODS,
    45      FALSE,
    46      maximum_periods,
    47      sizeof( Rate_monotonic_Control )
     44    &_Rate_monotonic_Information,
     45    OBJECTS_RTEMS_PERIODS,
     46    FALSE,
     47    maximum_periods,
     48    sizeof( Rate_monotonic_Control ),
     49    FALSE,
     50    RTEMS_MAXIMUM_NAME_LENGTH
    4851  );
    4952}
     
    6770
    6871rtems_status_code rtems_rate_monotonic_create(
    69   Objects_Name  name,
     72  rtems_name    name,
    7073  Objects_Id   *id
    7174)
     
    7376  Rate_monotonic_Control *the_period;
    7477
    75   if ( !_Objects_Is_name_valid( name ) )
     78  if ( !rtems_is_name_valid( name ) )
    7679    return( RTEMS_INVALID_NAME );
    7780
     
    8891  the_period->state = RATE_MONOTONIC_INACTIVE;
    8992
    90   _Objects_Open( &_Rate_monotonic_Information, &the_period->Object, name );
     93  _Objects_Open( &_Rate_monotonic_Information, &the_period->Object, &name );
    9194
    9295  *id = the_period->Object.id;
     
    113116
    114117rtems_status_code rtems_rate_monotonic_ident(
    115   Objects_Name  name,
     118  rtems_name    name,
    116119  Objects_Id   *id
    117120)
     
    119122  return _Objects_Name_to_id(
    120123    &_Rate_monotonic_Information,
    121     name,
     124    &name,
    122125    RTEMS_SEARCH_LOCAL_NODE,
    123126    id
  • c/src/exec/rtems/src/region.c

    r80e2c29e r3235ad9  
    1515
    1616#include <rtems/system.h>
     17#include <rtems/support.h>
    1718#include <rtems/config.h>
    1819#include <rtems/object.h>
     
    3940{
    4041  _Objects_Initialize_information(
    41      &_Region_Information,
    42      OBJECTS_RTEMS_REGIONS,
    43      FALSE,
    44      maximum_regions,
    45      sizeof( Region_Control )
    46    );
     42    &_Region_Information,
     43    OBJECTS_RTEMS_REGIONS,
     44    FALSE,
     45    maximum_regions,
     46    sizeof( Region_Control ),
     47    FALSE,
     48    RTEMS_MAXIMUM_NAME_LENGTH
     49  );
    4750}
    4851
     
    6972
    7073rtems_status_code rtems_region_create(
    71   Objects_Name        name,
     74  rtems_name          name,
    7275  void               *starting_address,
    7376  unsigned32          length,
     
    7982  Region_Control *the_region;
    8083
    81   if ( !_Objects_Is_name_valid( name ) )
     84  if ( !rtems_is_name_valid( name ) )
    8285    return ( RTEMS_INVALID_NAME );
    8386
     
    112115     &the_region->Wait_queue, attribute_set, STATES_WAITING_FOR_SEGMENT );
    113116
    114   _Objects_Open( &_Region_Information, &the_region->Object, name );
     117  _Objects_Open( &_Region_Information, &the_region->Object, &name );
    115118
    116119  *id = the_region->Object.id;
     
    137140
    138141rtems_status_code rtems_region_ident(
    139   Objects_Name  name,
     142  rtems_name    name,
    140143  Objects_Id   *id
    141144)
     
    143146  return _Objects_Name_to_id(
    144147      &_Region_Information,
    145       name,
     148      &name,
    146149      RTEMS_SEARCH_LOCAL_NODE,
    147150      id
  • c/src/exec/rtems/src/regionmp.c

    r80e2c29e r3235ad9  
    3131  Region_MP_Remote_operations  operation,
    3232  Objects_Id                      region_id,
    33   Objects_Name                    name,
     33  rtems_name                      name,
    3434  Objects_Id                      proxy_id
    3535)
     
    290290    REGION_MP_EXTRACT_PROXY,
    291291    the_thread->Wait.id,
    292     (Objects_Name) 0,
     292    (rtems_name) 0,
    293293    the_thread->Object.id
    294294  );
  • c/src/exec/rtems/src/rtemstimer.c

    r80e2c29e r3235ad9  
    1515
    1616#include <rtems/system.h>
     17#include <rtems/support.h>
    1718#include <rtems/object.h>
    1819#include <rtems/thread.h>
     
    3839{
    3940  _Objects_Initialize_information(
    40      &_Timer_Information,
    41      OBJECTS_RTEMS_TIMERS,
    42      FALSE,
    43      maximum_timers,
    44      sizeof( Timer_Control )
     41    &_Timer_Information,
     42    OBJECTS_RTEMS_TIMERS,
     43    FALSE,
     44    maximum_timers,
     45    sizeof( Timer_Control ),
     46    FALSE,
     47    RTEMS_MAXIMUM_NAME_LENGTH
    4548  );
    4649}
     
    6366
    6467rtems_status_code rtems_timer_create(
    65   Objects_Name  name,
     68  rtems_name    name,
    6669  Objects_Id   *id
    6770)
     
    6972  Timer_Control *the_timer;
    7073
    71   if ( !_Objects_Is_name_valid( name ) )
     74  if ( !rtems_is_name_valid( name ) )
    7275    return ( RTEMS_INVALID_NAME );
    7376
     
    8386  the_timer->the_class = TIMER_DORMANT;
    8487
    85   _Objects_Open( &_Timer_Information, &the_timer->Object, name );
     88  _Objects_Open( &_Timer_Information, &the_timer->Object, &name );
    8689
    8790  *id = the_timer->Object.id;
     
    108111
    109112rtems_status_code rtems_timer_ident(
    110   Objects_Name  name,
     113  rtems_name    name,
    111114  Objects_Id   *id
    112115)
     
    114117  return _Objects_Name_to_id(
    115118    &_Timer_Information,
    116     name,
     119    &name,
    117120    RTEMS_SEARCH_LOCAL_NODE,
    118121    id
  • c/src/exec/rtems/src/sem.c

    r80e2c29e r3235ad9  
    2828
    2929#include <rtems/system.h>
     30#include <rtems/support.h>
    3031#include <rtems/attr.h>
    3132#include <rtems/config.h>
     
    5758  _Objects_Initialize_information(
    5859    &_Semaphore_Information,
    59      OBJECTS_RTEMS_SEMAPHORES,
     60    OBJECTS_RTEMS_SEMAPHORES,
    6061    TRUE,
    6162    maximum_semaphores,
    62     sizeof( Semaphore_Control )
     63    sizeof( Semaphore_Control ),
     64    FALSE,
     65    RTEMS_MAXIMUM_NAME_LENGTH
    6366  );
    6467}
     
    8487
    8588rtems_status_code rtems_semaphore_create(
    86   Objects_Name        name,
     89  rtems_name          name,
    8790  unsigned32          count,
    8891  rtems_attribute  attribute_set,
     
    9295  register Semaphore_Control *the_semaphore;
    9396
    94   if ( !_Objects_Is_name_valid( name ) )
     97  if ( !rtems_is_name_valid( name ) )
    9598    return ( RTEMS_INVALID_NAME );
    9699
     
    148151                            attribute_set, STATES_WAITING_FOR_SEMAPHORE );
    149152
    150   _Objects_Open( &_Semaphore_Information, &the_semaphore->Object, name );
     153  _Objects_Open( &_Semaphore_Information, &the_semaphore->Object, &name );
    151154
    152155  *id = the_semaphore->Object.id;
     
    182185
    183186rtems_status_code rtems_semaphore_ident(
    184   Objects_Name  name,
     187  rtems_name    name,
    185188  unsigned32    node,
    186189  Objects_Id   *id
    187190)
    188191{
    189   return( _Objects_Name_to_id( &_Semaphore_Information, name, node, id ) );
     192  return( _Objects_Name_to_id( &_Semaphore_Information, &name, node, id ) );
    190193}
    191194
  • c/src/exec/rtems/src/semmp.c

    r80e2c29e r3235ad9  
    3232  Semaphore_MP_Remote_operations  operation,
    3333  Objects_Id                      semaphore_id,
    34   Objects_Name                    name,
     34  rtems_name                      name,
    3535  Objects_Id                      proxy_id
    3636)
     
    287287    SEMAPHORE_MP_EXTRACT_PROXY,
    288288    the_thread->Wait.id,
    289     (Objects_Name) 0,
     289    (rtems_name) 0,
    290290    the_thread->Object.id
    291291  );
  • c/src/exec/rtems/src/taskmp.c

    r80e2c29e r3235ad9  
    3232  RTEMS_tasks_MP_Remote_operations operation,
    3333  Objects_Id                       task_id,
    34   Objects_Name                     name
     34  rtems_name                       name
    3535)
    3636{
  • c/src/exec/rtems/src/tasks.c

    r80e2c29e r3235ad9  
    1515
    1616#include <rtems/system.h>
     17#include <rtems/support.h>
    1718#include <rtems/modes.h>
    1819#include <rtems/object.h>
     
    4950
    5051rtems_status_code rtems_task_create(
    51   Objects_Name         name,
     52  rtems_name           name,
    5253  rtems_task_priority  initial_priority,
    5354  unsigned32           stack_size,
     
    6364  rtems_attribute          the_attribute_set;
    6465
    65   if ( !_Objects_Is_name_valid( name ) )
     66  if ( !rtems_is_name_valid( name ) )
    6667    return ( RTEMS_INVALID_NAME );
    6768
     
    157158  _ASR_Initialize( &the_thread->Signal );
    158159
    159   _Objects_Open( &_Thread_Information, &the_thread->Object, name );
     160  _Objects_Open( &_Thread_Information, &the_thread->Object, &name );
    160161
    161162  *id = the_thread->Object.id;
     
    193194
    194195rtems_status_code rtems_task_ident(
    195   Objects_Name  name,
     196  rtems_name    name,
    196197  unsigned32    node,
    197198  Objects_Id   *id
     
    199200{
    200201  if ( name != OBJECTS_ID_OF_SELF )
    201     return( _Objects_Name_to_id( &_Thread_Information, name, node, id ) );
     202    return( _Objects_Name_to_id( &_Thread_Information, &name, node, id ) );
    202203
    203204  *id = _Thread_Executing->Object.id;
  • c/src/exec/rtems/src/timer.c

    r80e2c29e r3235ad9  
    1515
    1616#include <rtems/system.h>
     17#include <rtems/support.h>
    1718#include <rtems/object.h>
    1819#include <rtems/thread.h>
     
    3839{
    3940  _Objects_Initialize_information(
    40      &_Timer_Information,
    41      OBJECTS_RTEMS_TIMERS,
    42      FALSE,
    43      maximum_timers,
    44      sizeof( Timer_Control )
     41    &_Timer_Information,
     42    OBJECTS_RTEMS_TIMERS,
     43    FALSE,
     44    maximum_timers,
     45    sizeof( Timer_Control ),
     46    FALSE,
     47    RTEMS_MAXIMUM_NAME_LENGTH
    4548  );
    4649}
     
    6366
    6467rtems_status_code rtems_timer_create(
    65   Objects_Name  name,
     68  rtems_name    name,
    6669  Objects_Id   *id
    6770)
     
    6972  Timer_Control *the_timer;
    7073
    71   if ( !_Objects_Is_name_valid( name ) )
     74  if ( !rtems_is_name_valid( name ) )
    7275    return ( RTEMS_INVALID_NAME );
    7376
     
    8386  the_timer->the_class = TIMER_DORMANT;
    8487
    85   _Objects_Open( &_Timer_Information, &the_timer->Object, name );
     88  _Objects_Open( &_Timer_Information, &the_timer->Object, &name );
    8689
    8790  *id = the_timer->Object.id;
     
    108111
    109112rtems_status_code rtems_timer_ident(
    110   Objects_Name  name,
     113  rtems_name    name,
    111114  Objects_Id   *id
    112115)
     
    114117  return _Objects_Name_to_id(
    115118    &_Timer_Information,
    116     name,
     119    &name,
    117120    RTEMS_SEARCH_LOCAL_NODE,
    118121    id
  • c/src/exec/sapi/headers/config.h

    r80e2c29e r3235ad9  
    2222#endif
    2323
     24#include <rtems/types.h>
    2425#include <rtems/object.h>
    2526#include <rtems/thread.h>
     
    3334
    3435typedef struct {
    35   Objects_Name          name;              /* task name */
     36  rtems_name            name;              /* task name */
    3637  unsigned32            stack_size;        /* task stack size */
    3738  rtems_task_priority   initial_priority;  /* task priority */
  • c/src/exec/sapi/headers/extension.h

    r80e2c29e r3235ad9  
    2929#endif
    3030
     31#include <rtems.h>
    3132#include <rtems/object.h>
    3233#include <rtems/userext.h>
     
    7374
    7475rtems_status_code rtems_extension_create(
    75   Objects_Name                   name,
     76  rtems_name                     name,
    7677  rtems_extensions_table *extension_table,
    7778  Objects_Id                    *id
     
    9091
    9192rtems_status_code rtems_extension_ident(
    92   Objects_Name  name,
     93  rtems_name    name,
    9394  Objects_Id   *id
    9495);
  • c/src/exec/sapi/headers/init.h

    r80e2c29e r3235ad9  
    3131#endif
    3232
     33#include <rtems/types.h>
    3334#include <rtems/config.h>
    3435#include <rtems/intr.h>
  • c/src/exec/sapi/include/rtems/config.h

    r80e2c29e r3235ad9  
    2222#endif
    2323
     24#include <rtems/types.h>
    2425#include <rtems/object.h>
    2526#include <rtems/thread.h>
     
    3334
    3435typedef struct {
    35   Objects_Name          name;              /* task name */
     36  rtems_name            name;              /* task name */
    3637  unsigned32            stack_size;        /* task stack size */
    3738  rtems_task_priority   initial_priority;  /* task priority */
  • c/src/exec/sapi/include/rtems/extension.h

    r80e2c29e r3235ad9  
    2929#endif
    3030
     31#include <rtems.h>
    3132#include <rtems/object.h>
    3233#include <rtems/userext.h>
     
    7374
    7475rtems_status_code rtems_extension_create(
    75   Objects_Name                   name,
     76  rtems_name                     name,
    7677  rtems_extensions_table *extension_table,
    7778  Objects_Id                    *id
     
    9091
    9192rtems_status_code rtems_extension_ident(
    92   Objects_Name  name,
     93  rtems_name    name,
    9394  Objects_Id   *id
    9495);
  • c/src/exec/sapi/include/rtems/init.h

    r80e2c29e r3235ad9  
    3131#endif
    3232
     33#include <rtems/types.h>
    3334#include <rtems/config.h>
    3435#include <rtems/intr.h>
  • c/src/exec/sapi/optman/no-ext.c

    r80e2c29e r3235ad9  
    2626
    2727rtems_status_code rtems_extension_create(
    28   Objects_Name                   name,
     28  rtems_name                     name,
    2929  rtems_extensions_table *extension_table,
    3030  Objects_Id                    *id
     
    3535
    3636rtems_status_code rtems_extension_ident(
    37   Objects_Name  name,
     37  rtems_name    name,
    3838  Objects_Id   *id
    3939)
  • c/src/exec/sapi/src/extension.c

    r80e2c29e r3235ad9  
    1515
    1616#include <rtems/system.h>
     17#include <rtems/support.h>
    1718#include <rtems/object.h>
    1819#include <rtems/thread.h>
     
    3637{
    3738  _Objects_Initialize_information(
    38      &_Extension_Information,
    39      OBJECTS_RTEMS_EXTENSIONS,
    40      FALSE,
    41      maximum_extensions,
    42      sizeof( Extension_Control )
     39    &_Extension_Information,
     40    OBJECTS_RTEMS_EXTENSIONS,
     41    FALSE,
     42    maximum_extensions,
     43    sizeof( Extension_Control ),
     44    FALSE,
     45    RTEMS_MAXIMUM_NAME_LENGTH
    4346  );
    4447}
     
    6265
    6366rtems_status_code rtems_extension_create(
    64   Objects_Name                   name,
     67  rtems_name                     name,
    6568  rtems_extensions_table *extension_table,
    6669  Objects_Id                    *id
     
    6972  Extension_Control *the_extension;
    7073
    71   if ( !_Objects_Is_name_valid( name ) )
     74  if ( !rtems_is_name_valid( name ) )
    7275    return ( RTEMS_INVALID_NAME );
    7376
     
    8386  _User_extensions_Add_set( &the_extension->Extension, extension_table );
    8487
    85   _Objects_Open( &_Extension_Information, &the_extension->Object, name );
     88  _Objects_Open( &_Extension_Information, &the_extension->Object, &name );
    8689
    8790  *id = the_extension->Object.id;
     
    108111
    109112rtems_status_code rtems_extension_ident(
    110   Objects_Name  name,
     113  rtems_name    name,
    111114  Objects_Id   *id
    112115)
     
    114117  return _Objects_Name_to_id(
    115118    &_Extension_Information,
    116     name,
     119    &name,
    117120    RTEMS_SEARCH_LOCAL_NODE,
    118121    id
  • c/src/exec/score/headers/object.h

    r80e2c29e r3235ad9  
    3030 */
    3131
    32 typedef unsigned32 Objects_Name;
     32typedef void * Objects_Name;
     33
     34/*
     35 *  Space for object names is allocated in multiples of this.
     36 *
     37 *  NOTE:  Must be a power of 2.  Matches the name manipulation routines.
     38 */
     39
     40#define OBJECTS_NAME_ALIGNMENT     4
     41
     42/*
     43 *  Functions which compare names are prototyped like this.
     44 */
     45
     46typedef boolean (*Objects_Name_comparators)(
     47  void       * /* name_1 */,
     48  void       * /* name_2 */,
     49  unsigned32   /* length */
     50);
    3351
    3452/*
     
    92110  Chain_Node    Node;
    93111  Objects_Id    id;
    94   Objects_Name *name;
     112  Objects_Name  name;
    95113}   Objects_Control;
    96114
     
    109127  Chain_Control    *global_table;    /* pointer to global table */
    110128  Chain_Control     Inactive;        /* chain of inactive ctl blocks */
     129  boolean           is_string;       /* TRUE if names are strings */
     130  unsigned32        name_length;     /* maximum length of names */
    111131}   Objects_Information;
    112132
     
    180200  boolean              supports_global,
    181201  unsigned32           maximum,
    182   unsigned32           size
    183 );
    184 
     202  unsigned32           size,
     203  boolean              is_string,
     204  unsigned32           maximum_name_length
     205);
     206
     207/*
     208 *  _Objects_Clear_name
     209 *
     210 *  DESCRIPTION:
     211 *
     212 *  XXX
     213 */
     214 
     215void _Objects_Clear_name(
     216  void       *name,
     217  unsigned32  length
     218);
     219
     220/*
     221 *  _Objects_Copy_name_string
     222 *
     223 *  DESCRIPTION:
     224 *
     225 *  XXX
     226 */
     227
     228void _Objects_Copy_name_string(
     229  void       *source,
     230  void       *destination
     231);
     232
     233/*
     234 *  _Objects_Copy_name_raw
     235 *
     236 *  DESCRIPTION:
     237 *
     238 *  XXX
     239 */
     240
     241void _Objects_Copy_name_raw(
     242  void       *source,
     243  void       *destination,
     244  unsigned32  length
     245);
     246
     247/*
     248 *  _Objects_Compare_name_string
     249 *
     250 *  DESCRIPTION:
     251 *
     252 *  XXX
     253 */
     254
     255boolean _Objects_Compare_name_string(
     256  void       *name_1,
     257  void       *name_2,
     258  unsigned32  length
     259);
     260
     261/*
     262 *  _Objects_Compare_name_raw
     263 *
     264 *  DESCRIPTION:
     265 *
     266 *  XXX
     267 */
     268
     269boolean _Objects_Compare_name_raw(
     270  void       *name_1,
     271  void       *name_2,
     272  unsigned32  length
     273);
    185274/*
    186275 *  _Objects_Name_to_id
     
    245334
    246335/*
    247  *  _Objects_Is_name_valid
    248  *
    249  *  DESCRIPTION:
    250  *
    251  *  This function returns TRUE if the name is valid, and FALSE otherwise.
    252  */
    253 
    254 STATIC INLINE boolean _Objects_Is_name_valid (
    255   Objects_Name name
    256 );
    257 
    258 /*
    259  *  rtems_build_name
    260  *
    261  *  DESCRIPTION:
    262  *
    263  *  This function returns an object name composed of the four characters
    264  *  C1, C2, C3, and C4.
    265  *
    266  *  NOTE:
    267  *
    268  *  This must be implemented as a macro for use in Configuration Tables.
    269  *
    270  */
    271 
    272 #define rtems_build_name( _C1, _C2, _C3, _C4 ) \
    273   ( (_C1) << 24 | (_C2) << 16 | (_C3) << 8 | (_C4) )
    274 
    275 /*
    276  *  rtems_name_to_characters
    277  *
    278  *  DESCRIPTION:
    279  *
    280  *  This function breaks the object name into the four component
    281  *  characters C1, C2, C3, and C4.
    282  *
    283  */
    284 
    285 STATIC INLINE void rtems_name_to_characters(
    286   Objects_Name  name,
    287   char         *c1,
    288   char         *c2,
    289   char         *c3,
    290   char         *c4
    291 );
    292 
    293 /*
    294336 *  _Objects_Build_id
    295337 *
  • c/src/exec/score/headers/objectmp.h

    r80e2c29e r3235ad9  
    2929typedef struct {
    3030  Objects_Control Object;
    31   Objects_Name    name;
     31  unsigned32      name;     /* XXX broken but works */
     32  /* XXX If any API is MP with variable length names .. BOOM!!!! */
    3233}   Objects_MP_Control;
    3334
     
    9495boolean _Objects_MP_Open (
    9596  Objects_Information *information,
    96   Objects_Name         the_name,
     97  unsigned32           the_name,     /* XXX -- wrong for variable length */
    9798  Objects_Id           the_id,
    9899  boolean              is_fatal_error
  • c/src/exec/score/headers/system.h

    r80e2c29e r3235ad9  
    128128EXTERN rtems_cpu_table _CPU_Table;               /* CPU dependent info */
    129129
     130/*
     131 *  XXX weird RTEMS stuff
     132 */
     133
     134#define RTEMS_MAXIMUM_NAME_LENGTH 4
     135
    130136#ifdef __cplusplus
    131137}
  • c/src/exec/score/include/rtems/score/object.h

    r80e2c29e r3235ad9  
    3030 */
    3131
    32 typedef unsigned32 Objects_Name;
     32typedef void * Objects_Name;
     33
     34/*
     35 *  Space for object names is allocated in multiples of this.
     36 *
     37 *  NOTE:  Must be a power of 2.  Matches the name manipulation routines.
     38 */
     39
     40#define OBJECTS_NAME_ALIGNMENT     4
     41
     42/*
     43 *  Functions which compare names are prototyped like this.
     44 */
     45
     46typedef boolean (*Objects_Name_comparators)(
     47  void       * /* name_1 */,
     48  void       * /* name_2 */,
     49  unsigned32   /* length */
     50);
    3351
    3452/*
     
    92110  Chain_Node    Node;
    93111  Objects_Id    id;
    94   Objects_Name *name;
     112  Objects_Name  name;
    95113}   Objects_Control;
    96114
     
    109127  Chain_Control    *global_table;    /* pointer to global table */
    110128  Chain_Control     Inactive;        /* chain of inactive ctl blocks */
     129  boolean           is_string;       /* TRUE if names are strings */
     130  unsigned32        name_length;     /* maximum length of names */
    111131}   Objects_Information;
    112132
     
    180200  boolean              supports_global,
    181201  unsigned32           maximum,
    182   unsigned32           size
    183 );
    184 
     202  unsigned32           size,
     203  boolean              is_string,
     204  unsigned32           maximum_name_length
     205);
     206
     207/*
     208 *  _Objects_Clear_name
     209 *
     210 *  DESCRIPTION:
     211 *
     212 *  XXX
     213 */
     214 
     215void _Objects_Clear_name(
     216  void       *name,
     217  unsigned32  length
     218);
     219
     220/*
     221 *  _Objects_Copy_name_string
     222 *
     223 *  DESCRIPTION:
     224 *
     225 *  XXX
     226 */
     227
     228void _Objects_Copy_name_string(
     229  void       *source,
     230  void       *destination
     231);
     232
     233/*
     234 *  _Objects_Copy_name_raw
     235 *
     236 *  DESCRIPTION:
     237 *
     238 *  XXX
     239 */
     240
     241void _Objects_Copy_name_raw(
     242  void       *source,
     243  void       *destination,
     244  unsigned32  length
     245);
     246
     247/*
     248 *  _Objects_Compare_name_string
     249 *
     250 *  DESCRIPTION:
     251 *
     252 *  XXX
     253 */
     254
     255boolean _Objects_Compare_name_string(
     256  void       *name_1,
     257  void       *name_2,
     258  unsigned32  length
     259);
     260
     261/*
     262 *  _Objects_Compare_name_raw
     263 *
     264 *  DESCRIPTION:
     265 *
     266 *  XXX
     267 */
     268
     269boolean _Objects_Compare_name_raw(
     270  void       *name_1,
     271  void       *name_2,
     272  unsigned32  length
     273);
    185274/*
    186275 *  _Objects_Name_to_id
     
    245334
    246335/*
    247  *  _Objects_Is_name_valid
    248  *
    249  *  DESCRIPTION:
    250  *
    251  *  This function returns TRUE if the name is valid, and FALSE otherwise.
    252  */
    253 
    254 STATIC INLINE boolean _Objects_Is_name_valid (
    255   Objects_Name name
    256 );
    257 
    258 /*
    259  *  rtems_build_name
    260  *
    261  *  DESCRIPTION:
    262  *
    263  *  This function returns an object name composed of the four characters
    264  *  C1, C2, C3, and C4.
    265  *
    266  *  NOTE:
    267  *
    268  *  This must be implemented as a macro for use in Configuration Tables.
    269  *
    270  */
    271 
    272 #define rtems_build_name( _C1, _C2, _C3, _C4 ) \
    273   ( (_C1) << 24 | (_C2) << 16 | (_C3) << 8 | (_C4) )
    274 
    275 /*
    276  *  rtems_name_to_characters
    277  *
    278  *  DESCRIPTION:
    279  *
    280  *  This function breaks the object name into the four component
    281  *  characters C1, C2, C3, and C4.
    282  *
    283  */
    284 
    285 STATIC INLINE void rtems_name_to_characters(
    286   Objects_Name  name,
    287   char         *c1,
    288   char         *c2,
    289   char         *c3,
    290   char         *c4
    291 );
    292 
    293 /*
    294336 *  _Objects_Build_id
    295337 *
  • c/src/exec/score/include/rtems/score/objectmp.h

    r80e2c29e r3235ad9  
    2929typedef struct {
    3030  Objects_Control Object;
    31   Objects_Name    name;
     31  unsigned32      name;     /* XXX broken but works */
     32  /* XXX If any API is MP with variable length names .. BOOM!!!! */
    3233}   Objects_MP_Control;
    3334
     
    9495boolean _Objects_MP_Open (
    9596  Objects_Information *information,
    96   Objects_Name         the_name,
     97  unsigned32           the_name,     /* XXX -- wrong for variable length */
    9798  Objects_Id           the_id,
    9899  boolean              is_fatal_error
  • c/src/exec/score/include/rtems/system.h

    r80e2c29e r3235ad9  
    128128EXTERN rtems_cpu_table _CPU_Table;               /* CPU dependent info */
    129129
     130/*
     131 *  XXX weird RTEMS stuff
     132 */
     133
     134#define RTEMS_MAXIMUM_NAME_LENGTH 4
     135
    130136#ifdef __cplusplus
    131137}
  • c/src/exec/score/inline/object.inl

    r80e2c29e r3235ad9  
    1717#ifndef __OBJECTS_inl
    1818#define __OBJECTS_inl
    19 
    20 /*PAGE
    21  *
    22  *  _Objects_Is_name_valid
    23  *
    24  */
    25 
    26 STATIC INLINE boolean _Objects_Is_name_valid (
    27   Objects_Name name
    28 )
    29 {
    30   return ( name != 0 );
    31 }
    32 
    33 /*PAGE
    34  *
    35  *  rtems_name_to_characters
    36  *
    37  */
    38 
    39 STATIC INLINE void rtems_name_to_characters(
    40   Objects_Name  name,
    41   char         *c1,
    42   char         *c2,
    43   char         *c3,
    44   char         *c4
    45 )
    46 {
    47   *c1 = (name >> 24) & 0xff;
    48   *c2 = (name >> 16) & 0xff;
    49   *c3 = (name >> 8) & 0xff;
    50   *c4 =  name & 0xff;
    51 }
    5219
    5320/*PAGE
     
    187154)
    188155{
    189   unsigned32 index;
     156  unsigned32  index;
    190157
    191158  index = rtems_get_index( the_object->id );
    192159  information->local_table[ index ] = the_object;
    193   information->name_table[ index ]  = name;
    194   the_object->name = &information->name_table[ index ];
     160
     161  if ( information->is_string )
     162    _Objects_Copy_name_string( name, the_object->name );
     163  else
     164    _Objects_Copy_name_raw( name, the_object->name, information->name_length );
    195165}
    196166
     
    210180  index = rtems_get_index( the_object->id );
    211181  information->local_table[ index ] = NULL;
    212   information->name_table[ index ]  = 0;
    213   the_object->name = 0;
     182  _Objects_Clear_name( the_object->name, information->name_length );
    214183}
    215184
  • c/src/exec/score/inline/rtems/score/object.inl

    r80e2c29e r3235ad9  
    1717#ifndef __OBJECTS_inl
    1818#define __OBJECTS_inl
    19 
    20 /*PAGE
    21  *
    22  *  _Objects_Is_name_valid
    23  *
    24  */
    25 
    26 STATIC INLINE boolean _Objects_Is_name_valid (
    27   Objects_Name name
    28 )
    29 {
    30   return ( name != 0 );
    31 }
    32 
    33 /*PAGE
    34  *
    35  *  rtems_name_to_characters
    36  *
    37  */
    38 
    39 STATIC INLINE void rtems_name_to_characters(
    40   Objects_Name  name,
    41   char         *c1,
    42   char         *c2,
    43   char         *c3,
    44   char         *c4
    45 )
    46 {
    47   *c1 = (name >> 24) & 0xff;
    48   *c2 = (name >> 16) & 0xff;
    49   *c3 = (name >> 8) & 0xff;
    50   *c4 =  name & 0xff;
    51 }
    5219
    5320/*PAGE
     
    187154)
    188155{
    189   unsigned32 index;
     156  unsigned32  index;
    190157
    191158  index = rtems_get_index( the_object->id );
    192159  information->local_table[ index ] = the_object;
    193   information->name_table[ index ]  = name;
    194   the_object->name = &information->name_table[ index ];
     160
     161  if ( information->is_string )
     162    _Objects_Copy_name_string( name, the_object->name );
     163  else
     164    _Objects_Copy_name_raw( name, the_object->name, information->name_length );
    195165}
    196166
     
    210180  index = rtems_get_index( the_object->id );
    211181  information->local_table[ index ] = NULL;
    212   information->name_table[ index ]  = 0;
    213   the_object->name = 0;
     182  _Objects_Clear_name( the_object->name, information->name_length );
    214183}
    215184
  • c/src/exec/score/macros/object.inl

    r80e2c29e r3235ad9  
    1717#ifndef __OBJECTS_inl
    1818#define __OBJECTS_inl
    19 
    20 /*PAGE
    21  *
    22  *  _Objects_Is_name_valid
    23  *
    24  */
    25 
    26 #define _Objects_Is_name_valid( _name ) \
    27   ( (_name) != 0 )
    28 
    29 /*
    30  *  rtems_name_to_characters
    31  *
    32  */
    33 
    34 #define rtems_name_to_characters( _name, _c1, _c2, _c3, _c4 ) \
    35   { \
    36     (*(_c1) = ((_name) >> 24) & 0xff; \
    37     (*(_c2) = ((_name) >> 16) & 0xff; \
    38     (*(_c3) = ((_name) >> 8) & 0xff; \
    39     (*(_c4) = ((_name)) & 0xff; \
    40   }
    4119
    4220/*PAGE
     
    135113    _index = rtems_get_index( (_the_object)->id ); \
    136114    (_information)->local_table[ _index ] = (_the_object); \
    137     (_information)->name_table[ _index ]  = (_name); \
    138     (_the_object)->name = &(_information)->name_table[ _index ]; \
     115    \
     116    if ( (_information)->is_string ) \
     117      _Objects_Copy_name_string( (_name), (_the_object)->name ); \
     118    else \
     119      _Objects_Copy_name_raw( \
     120        (_name), (_the_object)->name, (_information)->name_length ); \
    139121  }
    140122
     
    151133    _index = rtems_get_index( (_the_object)->id ); \
    152134    (_information)->local_table[ _index ] = NULL; \
    153     (_information)->name_table[ _index ]  = 0; \
    154     (_the_object)->name = 0; \
     135    _Objects_Clear_name( (_the_object)->name, (_information)->name_length ); \
    155136  }
    156137
  • c/src/exec/score/macros/rtems/score/object.inl

    r80e2c29e r3235ad9  
    1717#ifndef __OBJECTS_inl
    1818#define __OBJECTS_inl
    19 
    20 /*PAGE
    21  *
    22  *  _Objects_Is_name_valid
    23  *
    24  */
    25 
    26 #define _Objects_Is_name_valid( _name ) \
    27   ( (_name) != 0 )
    28 
    29 /*
    30  *  rtems_name_to_characters
    31  *
    32  */
    33 
    34 #define rtems_name_to_characters( _name, _c1, _c2, _c3, _c4 ) \
    35   { \
    36     (*(_c1) = ((_name) >> 24) & 0xff; \
    37     (*(_c2) = ((_name) >> 16) & 0xff; \
    38     (*(_c3) = ((_name) >> 8) & 0xff; \
    39     (*(_c4) = ((_name)) & 0xff; \
    40   }
    4119
    4220/*PAGE
     
    135113    _index = rtems_get_index( (_the_object)->id ); \
    136114    (_information)->local_table[ _index ] = (_the_object); \
    137     (_information)->name_table[ _index ]  = (_name); \
    138     (_the_object)->name = &(_information)->name_table[ _index ]; \
     115    \
     116    if ( (_information)->is_string ) \
     117      _Objects_Copy_name_string( (_name), (_the_object)->name ); \
     118    else \
     119      _Objects_Copy_name_raw( \
     120        (_name), (_the_object)->name, (_information)->name_length ); \
    139121  }
    140122
     
    151133    _index = rtems_get_index( (_the_object)->id ); \
    152134    (_information)->local_table[ _index ] = NULL; \
    153     (_information)->name_table[ _index ]  = 0; \
    154     (_the_object)->name = 0; \
     135    _Objects_Clear_name( (_the_object)->name, (_information)->name_length ); \
    155136  }
    156137
  • c/src/exec/score/src/object.c

    r80e2c29e r3235ad9  
    5656 *    supports_global - TRUE if this is a global object class
    5757 *    maximum         - maximum objects of this class
     58 *    is_string       - TRUE if names for this object are strings
    5859 *    size            - size of this object's control block
    5960 *
     
    6667  boolean              supports_global,
    6768  unsigned32           maximum,
    68   unsigned32           size
     69  unsigned32           size,
     70  boolean              is_string,
     71  unsigned32           maximum_name_length
    6972)
    7073{
     
    7275  unsigned32       index;
    7376  Objects_Control *the_object;
     77  unsigned32       name_length;
     78  void            *name_area;
    7479
    7580  information->maximum   = maximum;
    7681  information->the_class = the_class;
     82  information->is_string = is_string;
     83
     84  /*
     85   *  Calculate minimum and maximum Id's
     86   */
    7787
    7888  if ( maximum == 0 ) minimum_index = 0;
     
    8494  information->maximum_id =
    8595    _Objects_Build_id( the_class, _Objects_Local_node, maximum );
     96
     97  /*
     98   *  Allocate local pointer table
     99   */
    86100
    87101  information->local_table = _Workspace_Allocate_or_fatal_error(
     
    89103  );
    90104
    91   information->name_table = _Workspace_Allocate_or_fatal_error(
    92     (maximum + 1) * sizeof(Objects_Name)
    93   );
    94 
    95   for ( index=0 ; index < maximum ; index++ ) {
     105  /*
     106   *  Allocate name table
     107   */
     108
     109  name_length = maximum_name_length;
     110
     111  if (name_length & (OBJECTS_NAME_ALIGNMENT-1))
     112    name_length = (name_length + OBJECTS_NAME_ALIGNMENT) &
     113                  ~(OBJECTS_NAME_ALIGNMENT-1);
     114
     115  information->name_length = name_length;
     116
     117  name_area = _Workspace_Allocate_or_fatal_error( (maximum + 1) * name_length );
     118  information->name_table = name_area;
     119
     120  /*
     121   *  Initialize local pointer table
     122   */
     123
     124  for ( index=0 ; index <= maximum ; index++ ) {
    96125     information->local_table[ index ] = NULL;
    97      information->name_table[ index ]  = 0;
    98126  }
     127
     128  /*
     129   *  Initialize objects .. if there are any
     130   */
    99131
    100132  if ( maximum == 0 ) {
    101133    _Chain_Initialize_empty( &information->Inactive );
    102134  } else {
    103 
    104135
    105136    _Chain_Initialize(
     
    111142
    112143    the_object = (Objects_Control *) information->Inactive.first;
    113     for ( index=1;
    114           index <= maximum ;
    115           index++ ) {
     144    for ( index=1; index <= maximum ; index++ ) {
    116145      the_object->id =
    117146        _Objects_Build_id( the_class, _Objects_Local_node, index );
     147     
     148      the_object->name = (void *) name_area;
     149
     150      name_area = _Addresses_Add_offset( name_area, name_length );
     151
    118152      the_object = (Objects_Control *) the_object->Node.next;
    119153    }
     
    121155  }
    122156
    123  if ( supports_global == TRUE && _Configuration_Is_multiprocessing() ) {
    124 
    125    information->global_table = _Workspace_Allocate_or_fatal_error(
    126      (_Configuration_MP_table->maximum_nodes + 1) * sizeof(Chain_Control)
    127    );
    128 
    129    for ( index=1;
    130          index <= _Configuration_MP_table->maximum_nodes ;
    131          index++ )
    132      _Chain_Initialize_empty( &information->global_table[ index ] );
    133   }
    134   else
    135     information->global_table = NULL;
    136 }
     157  /*
     158   *  Take care of multiprocessing
     159   */
     160
     161  if ( supports_global == TRUE && _Configuration_Is_multiprocessing() ) {
     162
     163    information->global_table = _Workspace_Allocate_or_fatal_error(
     164      (_Configuration_MP_table->maximum_nodes + 1) * sizeof(Chain_Control)
     165    );
     166
     167    for ( index=1;
     168          index <= _Configuration_MP_table->maximum_nodes ;
     169          index++ )
     170      _Chain_Initialize_empty( &information->global_table[ index ] );
     171   }
     172   else
     173     information->global_table = NULL;
     174}
     175
     176/*PAGE
     177 *
     178 *  _Objects_Clear_name
     179 *
     180 *  XXX
     181 */
     182
     183void _Objects_Clear_name(
     184  void       *name,
     185  unsigned32  length
     186)
     187{
     188  unsigned32  index;
     189  unsigned32  maximum = length / OBJECTS_NAME_ALIGNMENT;
     190  unsigned32 *name_ptr = name;
     191
     192  for ( index=0 ; index < maximum ; index++ )
     193    *name_ptr++ = 0;
     194}
     195 
     196/*PAGE
     197 *
     198 *  _Objects_Copy_name_string
     199 *
     200 *  XXX
     201 */
     202 
     203void _Objects_Copy_name_string(
     204  void       *source,
     205  void       *destination
     206)
     207{
     208  unsigned8 *source_p = source;
     209  unsigned8 *destination_p = destination;
     210 
     211  do {
     212    *destination_p++ = *source_p;
     213  } while ( *source_p++ );
     214}
     215
     216/*PAGE
     217 *
     218 *  _Objects_Copy_name_raw
     219 *
     220 *  XXX
     221 */
     222 
     223void _Objects_Copy_name_raw(
     224  void       *source,
     225  void       *destination,
     226  unsigned32  length
     227)
     228{
     229  unsigned32 *source_p = source;
     230  unsigned32 *destination_p = destination;
     231  unsigned32  tmp_length = length / OBJECTS_NAME_ALIGNMENT;
     232 
     233  while ( tmp_length-- )
     234    *destination_p++ = *source_p++;
     235}
     236
     237/*PAGE
     238 *
     239 *  _Objects_Compare_name_string
     240 *
     241 *  XXX
     242 */
     243 
     244boolean _Objects_Compare_name_string(
     245  void       *name_1,
     246  void       *name_2,
     247  unsigned32  length
     248)
     249{
     250  unsigned8 *name_1_p = name_1;
     251  unsigned8 *name_2_p = name_2;
     252  unsigned32 tmp_length = length;
     253 
     254  do {
     255    if ( *name_1_p++ != *name_2_p++ )
     256      return FALSE;
     257    if ( !tmp_length-- )
     258      return FALSE;
     259  } while ( *name_1_p );
     260
     261  return TRUE;
     262}
     263 
     264/*PAGE
     265 *
     266 *  _Objects_Compare_name_raw
     267 *
     268 *  XXX
     269 */
     270 
     271boolean _Objects_Compare_name_raw(
     272  void       *name_1,
     273  void       *name_2,
     274  unsigned32  length
     275)
     276{
     277  unsigned32 *name_1_p = name_1;
     278  unsigned32 *name_2_p = name_2;
     279  unsigned32  tmp_length = length / OBJECTS_NAME_ALIGNMENT;
     280 
     281  while ( tmp_length-- )
     282    if ( *name_1_p++ != *name_2_p++ )
     283      return FALSE;
     284
     285  return TRUE;
     286}
     287
    137288
    138289/*PAGE
     
    157308rtems_status_code _Objects_Name_to_id(
    158309  Objects_Information *information,
    159   Objects_Name                name,
    160   unsigned32                  node,
    161   Objects_Id                 *id
    162 )
    163 {
    164   boolean           search_local_node;
    165   Objects_Control **objects;
    166   Objects_Control  *the_object;
    167   unsigned32        index;
     310  Objects_Name         name,
     311  unsigned32           node,
     312  Objects_Id          *id
     313)
     314{
     315  boolean                    search_local_node;
     316  Objects_Control          **objects;
     317  Objects_Control           *the_object;
     318  unsigned32                 index;
     319  unsigned32                 name_length;
     320  Objects_Name_comparators   compare_them;
    168321
    169322  if ( name == 0 )
     
    180333    objects = information->local_table;
    181334
     335    name_length = information->name_length;
     336
     337    if ( information->is_string ) compare_them = _Objects_Compare_name_string;
     338    else                          compare_them = _Objects_Compare_name_raw;
     339
    182340    for ( index = 1; index <= information->maximum; index++ ) {
    183341
     
    187345        continue;
    188346
    189       if ( name == *the_object->name ) {
     347      if ( (*compare_them)( name, the_object->name, name_length ) ) {
    190348        *id = the_object->id;
    191349        return( RTEMS_SUCCESSFUL );
  • c/src/exec/score/src/objectmp.c

    r80e2c29e r3235ad9  
    5454boolean _Objects_MP_Open (
    5555  Objects_Information *information,
    56   Objects_Name         the_name,
     56  unsigned32           the_name,      /* XXX -- wrong for variable */
    5757  Objects_Id           the_id,
    5858  boolean              is_fatal_error
    5959)
    6060{
    61   Objects_MP_Control     *the_global_object;
     61  Objects_MP_Control  *the_global_object;
    6262
    6363  the_global_object = _Objects_MP_Allocate_global_object();
     
    140140  Chain_Node         *the_node;
    141141  Objects_MP_Control *the_object;
     142  unsigned32          name_to_use = *(unsigned32 *)the_name;  /* XXX variable */
    142143
    143144
     
    175176        the_object = (Objects_MP_Control *) the_node;
    176177
    177         if ( the_object->name == the_name ) {
     178        if ( the_object->name == name_to_use ) {
    178179          *the_id = the_object->Object.id;
    179180          _Thread_Enable_dispatch();
  • c/src/exec/score/src/thread.c

    r80e2c29e r3235ad9  
    5959
    6060  _Objects_Initialize_information(
    61      &_Thread_Information,
    62      OBJECTS_RTEMS_TASKS,
    63      TRUE,
    64      maximum_tasks,
    65      sizeof( Thread_Control )
     61    &_Thread_Information,
     62    OBJECTS_RTEMS_TASKS,
     63    TRUE,
     64    maximum_tasks,
     65    sizeof( Thread_Control ),
     66    FALSE,
     67    RTEMS_MAXIMUM_NAME_LENGTH
    6668  );
    6769
  • c/src/lib/libbsp/shmdr/shm.h

    r80e2c29e r3235ad9  
    1515 *  notice must appear in all copies of this file and its derivatives.
    1616 *
    17  *  shm.h,v 1.2 1995/05/09 20:23:03 joel Exp
     17 *  $Id$
    1818 */
    1919
  • c/src/lib/libbsp/shmdr/shm_driver.h

    r80e2c29e r3235ad9  
    1515 *  notice must appear in all copies of this file and its derivatives.
    1616 *
    17  *  shm.h,v 1.2 1995/05/09 20:23:03 joel Exp
     17 *  $Id$
    1818 */
    1919
  • c/src/lib/libc/__brk.c

    r80e2c29e r3235ad9  
    1515 *  notice must appear in all copies of this file and its derivatives.
    1616 *
    17  *  __brk.c,v 1.2 1995/05/09 20:24:28 joel Exp
     17 *  $Id$
    1818 */
    1919
  • c/src/lib/libc/__gettod.c

    r80e2c29e r3235ad9  
    1212 *  notice must appear in all copies of this file and its derivatives.
    1313 *
    14  *  __gettod.c,v 1.2 1995/05/09 20:24:31 joel Exp
     14 *  $Id$
    1515 */
    1616
  • c/src/lib/libc/newlibc.c

    r80e2c29e r3235ad9  
    3636 *  NOTE:
    3737 *
    38  *  newlibc.c,v 1.2 1995/05/09 20:24:37 joel Exp
     38 *  $Id$
    3939 *
    4040 */
  • c/src/lib/libmisc/stackchk/check.c

    r80e2c29e r3235ad9  
    251251        running,
    252252        running->Object.id,
    253         *running->Object.name
     253        *(unsigned32 *)running->Object.name
    254254    );
    255255    fflush(stderr);
     
    388388  printf( "0x%08x  0x%08x  0x%08x  0x%08x   %8d   %8d\n",
    389389          the_thread ? the_thread->Object.id : ~0,
    390           the_thread ? *the_thread->Object.name :
     390          the_thread ? *(unsigned32 *)the_thread->Object.name :
    391391                       rtems_build_name('I', 'N', 'T', 'R'),
    392392          (unsigned32) stack->area,
  • c/src/libchip/shmdr/shm_driver.h

    r80e2c29e r3235ad9  
    1515 *  notice must appear in all copies of this file and its derivatives.
    1616 *
    17  *  shm.h,v 1.2 1995/05/09 20:23:03 joel Exp
     17 *  $Id$
    1818 */
    1919
  • c/src/libmisc/stackchk/check.c

    r80e2c29e r3235ad9  
    251251        running,
    252252        running->Object.id,
    253         *running->Object.name
     253        *(unsigned32 *)running->Object.name
    254254    );
    255255    fflush(stderr);
     
    388388  printf( "0x%08x  0x%08x  0x%08x  0x%08x   %8d   %8d\n",
    389389          the_thread ? the_thread->Object.id : ~0,
    390           the_thread ? *the_thread->Object.name :
     390          the_thread ? *(unsigned32 *)the_thread->Object.name :
    391391                       rtems_build_name('I', 'N', 'T', 'R'),
    392392          (unsigned32) stack->area,
  • c/src/optman/rtems/no-dpmem.c

    r80e2c29e r3235ad9  
    2626
    2727rtems_status_code rtems_port_create(
    28   Objects_Name  name,
     28  rtems_name    name,
    2929  void         *internal_start,
    3030  void         *external_start,
     
    3737
    3838rtems_status_code rtems_port_ident(
    39   Objects_Name  name,
     39  rtems_name    name,
    4040  Objects_Id   *id
    4141)
  • c/src/optman/rtems/no-msg.c

    r80e2c29e r3235ad9  
    3333
    3434rtems_status_code rtems_message_queue_create(
    35   Objects_Name        name,
     35  rtems_name          name,
    3636  unsigned32          count,
    3737  unsigned32          max_message_size,
     
    4444
    4545rtems_status_code rtems_message_queue_ident(
    46   Objects_Name  name,
     46  rtems_name    name,
    4747  unsigned32    node,
    4848  Objects_Id   *id
  • c/src/optman/rtems/no-part.c

    r80e2c29e r3235ad9  
    2828
    2929rtems_status_code rtems_partition_create(
    30   Objects_Name        name,
     30  rtems_name          name,
    3131  void               *starting_address,
    3232  unsigned32          length,
     
    4040
    4141rtems_status_code rtems_partition_ident(
    42   Objects_Name  name,
     42  rtems_name    name,
    4343  unsigned32    node,
    4444  Objects_Id   *id
  • c/src/optman/rtems/no-region.c

    r80e2c29e r3235ad9  
    2929
    3030rtems_status_code rtems_region_create(
    31   Objects_Name        name,
     31  rtems_name          name,
    3232  void               *starting_address,
    3333  unsigned32          length,
     
    4141
    4242rtems_status_code rtems_region_ident(
    43   Objects_Name  name,
     43  rtems_name    name,
    4444  Objects_Id   *id
    4545)
  • c/src/optman/rtems/no-rtmon.c

    r80e2c29e r3235ad9  
    2727
    2828rtems_status_code rtems_rate_monotonic_create(
    29   Objects_Name  name,
     29  rtems_name    name,
    3030  Objects_Id   *id
    3131)
     
    3535
    3636rtems_status_code rtems_rate_monotonic_ident(
    37   Objects_Name  name,
     37  rtems_name    name,
    3838  Objects_Id   *id
    3939)
  • c/src/optman/rtems/no-sem.c

    r80e2c29e r3235ad9  
    3232
    3333rtems_status_code rtems_semaphore_create(
    34   Objects_Name        name,
     34  rtems_name          name,
    3535  unsigned32          count,
    3636  rtems_attribute  attribute_set,
     
    4242
    4343rtems_status_code rtems_semaphore_ident(
    44   Objects_Name  name,
     44  rtems_name    name,
    4545  unsigned32    node,
    4646  Objects_Id   *id
  • c/src/optman/rtems/no-timer.c

    r80e2c29e r3235ad9  
    2828
    2929rtems_status_code rtems_timer_create(
    30   Objects_Name  name,
     30  rtems_name    name,
    3131  Objects_Id   *id
    3232)
     
    3636
    3737rtems_status_code rtems_timer_ident(
    38   Objects_Name  name,
     38  rtems_name    name,
    3939  Objects_Id   *id
    4040)
  • c/src/optman/sapi/no-ext.c

    r80e2c29e r3235ad9  
    2626
    2727rtems_status_code rtems_extension_create(
    28   Objects_Name                   name,
     28  rtems_name                     name,
    2929  rtems_extensions_table *extension_table,
    3030  Objects_Id                    *id
     
    3535
    3636rtems_status_code rtems_extension_ident(
    37   Objects_Name  name,
     37  rtems_name    name,
    3838  Objects_Id   *id
    3939)
  • c/src/tests/mptests/mp01/system.h

    r80e2c29e r3235ad9  
    1212 *  notice must appear in all copies of this file and its derivatives.
    1313 *
    14  *  system.h,v 1.2 1995/05/31 17:00:40 joel Exp
     14 *  $Id$
    1515 */
    1616
  • c/src/tests/mptests/mp01/task1.c

    r80e2c29e r3235ad9  
    2222 *  notice must appear in all copies of this file and its derivatives.
    2323 *
    24  *  task1.c,v 1.2 1995/05/09 20:26:24 joel Exp
     24 *  $Id$
    2525 */
    2626
  • c/src/tests/mptests/mp02/system.h

    r80e2c29e r3235ad9  
    1212 *  notice must appear in all copies of this file and its derivatives.
    1313 *
    14  *  system.h,v 1.2 1995/05/31 17:01:00 joel Exp
     14 *  $Id$
    1515 */
    1616
  • c/src/tests/mptests/mp03/system.h

    r80e2c29e r3235ad9  
    1212 *  notice must appear in all copies of this file and its derivatives.
    1313 *
    14  *  system.h,v 1.2 1995/05/31 17:01:22 joel Exp
     14 *  $Id$
    1515 */
    1616
  • c/src/tests/mptests/mp04/system.h

    r80e2c29e r3235ad9  
    1212 *  notice must appear in all copies of this file and its derivatives.
    1313 *
    14  *  system.h,v 1.2 1995/05/31 17:01:40 joel Exp
     14 *  $Id$
    1515 */
    1616
  • c/src/tests/mptests/mp05/system.h

    r80e2c29e r3235ad9  
    1212 *  notice must appear in all copies of this file and its derivatives.
    1313 *
    14  *  system.h,v 1.2 1995/05/31 17:02:00 joel Exp
     14 *  $Id$
    1515 */
    1616
  • c/src/tests/mptests/mp06/system.h

    r80e2c29e r3235ad9  
    1212 *  notice must appear in all copies of this file and its derivatives.
    1313 *
    14  *  system.h,v 1.2 1995/05/31 17:02:18 joel Exp
     14 *  $Id$
    1515 */
    1616
  • c/src/tests/mptests/mp07/system.h

    r80e2c29e r3235ad9  
    1212 *  notice must appear in all copies of this file and its derivatives.
    1313 *
    14  *  system.h,v 1.2 1995/05/31 17:02:38 joel Exp
     14 *  $Id$
    1515 */
    1616
  • c/src/tests/mptests/mp08/system.h

    r80e2c29e r3235ad9  
    1212 *  notice must appear in all copies of this file and its derivatives.
    1313 *
    14  *  system.h,v 1.2 1995/05/31 17:02:55 joel Exp
     14 *  $Id$
    1515 */
    1616
  • c/src/tests/mptests/mp09/init.c

    r80e2c29e r3235ad9  
    2020 *  notice must appear in all copies of this file and its derivatives.
    2121 *
    22  *  init.c,v 1.2 1995/05/31 17:03:11 joel Exp
     22 *  $Id$
    2323 */
    2424
  • c/src/tests/mptests/mp09/recvmsg.c

    r80e2c29e r3235ad9  
    1616 *  notice must appear in all copies of this file and its derivatives.
    1717 *
    18  *  recvmsg.c,v 1.2 1995/05/31 17:03:14 joel Exp
     18 *  $Id$
    1919 */
    2020
  • c/src/tests/mptests/mp09/sendmsg.c

    r80e2c29e r3235ad9  
    1616 *  notice must appear in all copies of this file and its derivatives.
    1717 *
    18  *  sendmsg.c,v 1.2 1995/05/31 17:03:16 joel Exp
     18 *  $Id$
    1919 */
    2020
  • c/src/tests/mptests/mp09/system.h

    r80e2c29e r3235ad9  
    1212 *  notice must appear in all copies of this file and its derivatives.
    1313 *
    14  *  system.h,v 1.2 1995/05/31 17:03:17 joel Exp
     14 *  $Id$
    1515 */
    1616
  • c/src/tests/mptests/mp09/task1.c

    r80e2c29e r3235ad9  
    1717 *  notice must appear in all copies of this file and its derivatives.
    1818 *
    19  *  task1.c,v 1.2 1995/05/31 17:03:19 joel Exp
     19 *  $Id$
    2020 */
    2121
  • c/src/tests/mptests/mp10/init.c

    r80e2c29e r3235ad9  
    2626 *  notice must appear in all copies of this file and its derivatives.
    2727 *
    28  *  init.c,v 1.2 1995/05/31 17:03:33 joel Exp
     28 *  $Id$
    2929 */
    3030
  • c/src/tests/mptests/mp10/system.h

    r80e2c29e r3235ad9  
    1212 *  notice must appear in all copies of this file and its derivatives.
    1313 *
    14  *  system.h,v 1.2 1995/05/31 17:03:35 joel Exp
     14 *  $Id$
    1515 */
    1616
  • c/src/tests/mptests/mp10/task1.c

    r80e2c29e r3235ad9  
    1717 *  notice must appear in all copies of this file and its derivatives.
    1818 *
    19  *  task1.c,v 1.2 1995/05/31 17:03:37 joel Exp
     19 *  $Id$
    2020 */
    2121
  • c/src/tests/mptests/mp11/init.c

    r80e2c29e r3235ad9  
    2323 *  notice must appear in all copies of this file and its derivatives.
    2424 *
    25  *  init.c,v 1.2 1995/05/31 17:03:55 joel Exp
     25 *  $Id$
    2626 */
    2727
  • c/src/tests/mptests/mp11/system.h

    r80e2c29e r3235ad9  
    1212 *  notice must appear in all copies of this file and its derivatives.
    1313 *
    14  *  system.h,v 1.2 1995/05/31 17:03:57 joel Exp
     14 *  $Id$
    1515 */
    1616
  • c/src/tests/mptests/mp12/system.h

    r80e2c29e r3235ad9  
    1212 *  notice must appear in all copies of this file and its derivatives.
    1313 *
    14  *  system.h,v 1.2 1995/05/31 17:04:13 joel Exp
     14 *  $Id$
    1515 */
    1616
  • c/src/tests/mptests/mp13/init.c

    r80e2c29e r3235ad9  
    2020 *  notice must appear in all copies of this file and its derivatives.
    2121 *
    22  *  init.c,v 1.2 1995/05/31 17:04:29 joel Exp
     22 *  $Id$
    2323 */
    2424
  • c/src/tests/mptests/mp13/system.h

    r80e2c29e r3235ad9  
    1212 *  notice must appear in all copies of this file and its derivatives.
    1313 *
    14  *  system.h,v 1.2 1995/05/31 17:04:31 joel Exp
     14 *  $Id$
    1515 */
    1616
  • c/src/tests/mptests/mp13/task1.c

    r80e2c29e r3235ad9  
    1818 *  notice must appear in all copies of this file and its derivatives.
    1919 *
    20  *  task1.c,v 1.2 1995/05/31 17:04:33 joel Exp
     20 *  $Id$
    2121 */
    2222
  • c/src/tests/mptests/mp14/init.c

    r80e2c29e r3235ad9  
    2020 *  notice must appear in all copies of this file and its derivatives.
    2121 *
    22  *  init.c,v 1.2 1995/05/31 17:04:55 joel Exp
     22 *  $Id$
    2323 */
    2424
  • c/src/tests/mptests/mp14/msgtask1.c

    r80e2c29e r3235ad9  
    1919 *  notice must appear in all copies of this file and its derivatives.
    2020 *
    21  *  msgtask1.c,v 1.2 1995/05/31 17:04:58 joel Exp
     21 *  $Id$
    2222 */
    2323
  • c/src/tests/mptests/mp14/system.h

    r80e2c29e r3235ad9  
    1212 *  notice must appear in all copies of this file and its derivatives.
    1313 *
    14  *  system.h,v 1.2 1995/05/31 17:05:03 joel Exp
     14 *  $Id$
    1515 */
    1616
  • c/src/tests/samples/base_mp/apptask.c

    r80e2c29e r3235ad9  
    1818 *  notice must appear in all copies of this file and its derivatives.
    1919 *
    20  *  apptask.c,v 1.2 1995/05/31 17:05:14 joel Exp
     20 *  $Id$
    2121 */
    2222
  • c/src/tests/samples/base_mp/system.h

    r80e2c29e r3235ad9  
    1212 *  notice must appear in all copies of this file and its derivatives.
    1313 *
    14  *  system.h,v 1.2 1995/05/31 17:05:21 joel Exp
     14 *  $Id$
    1515 */
    1616
  • c/src/tests/samples/base_sp/apptask.c

    r80e2c29e r3235ad9  
    1717 *  notice must appear in all copies of this file and its derivatives.
    1818 *
    19  *  apptask.c,v 1.2 1995/05/31 17:05:28 joel Exp
     19 *  $Id$
    2020 */
    2121
  • c/src/tests/samples/cdtest/init.c

    r80e2c29e r3235ad9  
    1919 *  notice must appear in all copies of this file and its derivatives.
    2020 *
    21  *  init.c,v 1.2 1995/05/31 17:05:45 joel Exp
     21 *  $Id$
    2222 */
    2323
  • c/src/tests/samples/cdtest/system.h

    r80e2c29e r3235ad9  
    1212 *  notice must appear in all copies of this file and its derivatives.
    1313 *
    14  *  system.h,v 1.2 1995/05/31 17:05:49 joel Exp
     14 *  $Id$
    1515 */
    1616
  • c/src/tests/samples/hello/init.c

    r80e2c29e r3235ad9  
    1919 *  notice must appear in all copies of this file and its derivatives.
    2020 *
    21  *  init.c,v 1.2 1995/05/31 17:05:58 joel Exp
     21 *  $Id$
    2222 */
    2323
  • c/src/tests/samples/hello/system.h

    r80e2c29e r3235ad9  
    1212 *  notice must appear in all copies of this file and its derivatives.
    1313 *
    14  *  system.h,v 1.2 1995/05/31 17:06:00 joel Exp
     14 *  $Id$
    1515 */
    1616
  • c/src/tests/samples/paranoia/init.c

    r80e2c29e r3235ad9  
    1919 *  notice must appear in all copies of this file and its derivatives.
    2020 *
    21  *  init.c,v 1.2 1995/05/31 17:06:07 joel Exp
     21 *  $Id$
    2222 */
    2323
  • c/src/tests/samples/paranoia/paranoia.c

    r80e2c29e r3235ad9  
    11/*
    2  *  RTEMS RCS Id: paranoia.c,v 1.2 1995/05/31 17:06:09 joel Exp
     2 *  $Id$
    33 *
    44 *      A C version of Kahan's Floating Point Test "Paranoia"
  • c/src/tests/samples/paranoia/system.h

    r80e2c29e r3235ad9  
    1212 *  notice must appear in all copies of this file and its derivatives.
    1313 *
    14  *  system.h,v 1.2 1995/05/31 17:06:13 joel Exp
     14 *  $Id$
    1515 */
    1616
  • c/src/tests/samples/ticker/system.h

    r80e2c29e r3235ad9  
    1212 *  notice must appear in all copies of this file and its derivatives.
    1313 *
    14  *  system.h,v 1.2 1995/05/31 17:06:23 joel Exp
     14 *  $Id$
    1515 */
    1616
  • c/src/tests/sptests/sp01/system.h

    r80e2c29e r3235ad9  
    1212 *  notice must appear in all copies of this file and its derivatives.
    1313 *
    14  *  system.h,v 1.2 1995/05/31 17:06:37 joel Exp
     14 *  $Id$
    1515 */
    1616
  • c/src/tests/sptests/sp02/system.h

    r80e2c29e r3235ad9  
    1212 *  notice must appear in all copies of this file and its derivatives.
    1313 *
    14  *  system.h,v 1.2 1995/05/31 17:06:54 joel Exp
     14 *  $Id$
    1515 */
    1616
  • c/src/tests/sptests/sp03/system.h

    r80e2c29e r3235ad9  
    1212 *  notice must appear in all copies of this file and its derivatives.
    1313 *
    14  *  system.h,v 1.2 1995/05/31 17:07:10 joel Exp
     14 *  $Id$
    1515 */
    1616
  • c/src/tests/sptests/sp04/system.h

    r80e2c29e r3235ad9  
    1212 *  notice must appear in all copies of this file and its derivatives.
    1313 *
    14  *  system.h,v 1.2 1995/05/31 17:07:24 joel Exp
     14 *  $Id$
    1515 */
    1616
  • c/src/tests/sptests/sp04/task1.c

    r80e2c29e r3235ad9  
    1717 *  notice must appear in all copies of this file and its derivatives.
    1818 *
    19  *  task1.c,v 1.2 1995/05/31 17:07:26 joel Exp
     19 *  $Id$
    2020 */
    2121
  • c/src/tests/sptests/sp04/tswitch.c

    r80e2c29e r3235ad9  
    1919 *  notice must appear in all copies of this file and its derivatives.
    2020 *
    21  *  tswitch.c,v 1.2 1995/05/09 20:32:43 joel Exp
     21 *  $Id$
    2222 */
    2323
  • c/src/tests/sptests/sp05/system.h

    r80e2c29e r3235ad9  
    1212 *  notice must appear in all copies of this file and its derivatives.
    1313 *
    14  *  system.h,v 1.2 1995/05/31 17:07:40 joel Exp
     14 *  $Id$
    1515 */
    1616
  • c/src/tests/sptests/sp06/system.h

    r80e2c29e r3235ad9  
    1212 *  notice must appear in all copies of this file and its derivatives.
    1313 *
    14  *  system.h,v 1.2 1995/05/31 17:07:56 joel Exp
     14 *  $Id$
    1515 */
    1616
  • c/src/tests/sptests/sp07/system.h

    r80e2c29e r3235ad9  
    1212 *  notice must appear in all copies of this file and its derivatives.
    1313 *
    14  *  system.h,v 1.2 1995/05/31 17:08:12 joel Exp
     14 *  $Id$
    1515 */
    1616
  • c/src/tests/sptests/sp08/system.h

    r80e2c29e r3235ad9  
    1212 *  notice must appear in all copies of this file and its derivatives.
    1313 *
    14  *  system.h,v 1.2 1995/05/31 17:08:40 joel Exp
     14 *  $Id$
    1515 */
    1616
  • c/src/tests/sptests/sp09/screen05.c

    r80e2c29e r3235ad9  
    1515 *  notice must appear in all copies of this file and its derivatives.
    1616 *
    17  *  screen05.c,v 1.2 1995/05/31 17:08:59 joel Exp
     17 *  $Id$
    1818 */
    1919
  • c/src/tests/sptests/sp09/screen07.c

    r80e2c29e r3235ad9  
    1515 *  notice must appear in all copies of this file and its derivatives.
    1616 *
    17  *  screen07.c,v 1.2 1995/05/31 17:09:03 joel Exp
     17 *  $Id$
    1818 */
    1919
  • c/src/tests/sptests/sp09/screen08.c

    r80e2c29e r3235ad9  
    1515 *  notice must appear in all copies of this file and its derivatives.
    1616 *
    17  *  screen08.c,v 1.2 1995/05/31 17:09:05 joel Exp
     17 *  $Id$
    1818 */
    1919
  • c/src/tests/sptests/sp09/screen09.c

    r80e2c29e r3235ad9  
    1515 *  notice must appear in all copies of this file and its derivatives.
    1616 *
    17  *  screen09.c,v 1.2 1995/05/31 17:09:07 joel Exp
     17 *  $Id$
    1818 */
    1919
  • c/src/tests/sptests/sp09/screen13.c

    r80e2c29e r3235ad9  
    1515 *  notice must appear in all copies of this file and its derivatives.
    1616 *
    17  *  screen13.c,v 1.2 1995/05/31 17:09:14 joel Exp
     17 *  $Id$
    1818 */
    1919
  • c/src/tests/sptests/sp09/system.h

    r80e2c29e r3235ad9  
    1212 *  notice must appear in all copies of this file and its derivatives.
    1313 *
    14  *  system.h,v 1.2 1995/05/31 17:09:17 joel Exp
     14 *  $Id$
    1515 */
    1616
  • c/src/tests/sptests/sp09/task3.c

    r80e2c29e r3235ad9  
    1818 *  notice must appear in all copies of this file and its derivatives.
    1919 *
    20  *  task3.c,v 1.2 1995/05/31 17:09:22 joel Exp
     20 *  $Id$
    2121 */
    2222
  • c/src/tests/sptests/sp11/system.h

    r80e2c29e r3235ad9  
    1212 *  notice must appear in all copies of this file and its derivatives.
    1313 *
    14  *  system.h,v 1.2 1995/05/31 17:09:35 joel Exp
     14 *  $Id$
    1515 */
    1616
  • c/src/tests/sptests/sp12/system.h

    r80e2c29e r3235ad9  
    1212 *  notice must appear in all copies of this file and its derivatives.
    1313 *
    14  *  system.h,v 1.2 1995/05/31 17:09:55 joel Exp
     14 *  $Id$
    1515 */
    1616
  • c/src/tests/sptests/sp13/init.c

    r80e2c29e r3235ad9  
    2020 *  notice must appear in all copies of this file and its derivatives.
    2121 *
    22  *  init.c,v 1.2 1995/05/31 17:10:13 joel Exp
     22 *  $Id$
    2323 */
    2424
  • c/src/tests/sptests/sp13/putbuff.c

    r80e2c29e r3235ad9  
    1717 *  notice must appear in all copies of this file and its derivatives.
    1818 *
    19  *  putbuff.c,v 1.2 1995/05/31 17:10:15 joel Exp
     19 *  $Id$
    2020 */
    2121
  • c/src/tests/sptests/sp13/system.h

    r80e2c29e r3235ad9  
    1212 *  notice must appear in all copies of this file and its derivatives.
    1313 *
    14  *  system.h,v 1.2 1995/05/31 17:10:19 joel Exp
     14 *  $Id$
    1515 */
    1616
  • c/src/tests/sptests/sp13/task1.c

    r80e2c29e r3235ad9  
    1616 *  notice must appear in all copies of this file and its derivatives.
    1717 *
    18  *  task1.c,v 1.2 1995/05/31 17:10:20 joel Exp
     18 *  $Id$
    1919 */
    2020
  • c/src/tests/sptests/sp13/task2.c

    r80e2c29e r3235ad9  
    1717 *  notice must appear in all copies of this file and its derivatives.
    1818 *
    19  *  task2.c,v 1.2 1995/05/31 17:10:22 joel Exp
     19 *  $Id$
    2020 */
    2121
  • c/src/tests/sptests/sp13/task3.c

    r80e2c29e r3235ad9  
    1717 *  notice must appear in all copies of this file and its derivatives.
    1818 *
    19  *  task3.c,v 1.2 1995/05/31 17:10:24 joel Exp
     19 *  $Id$
    2020 */
    2121
  • c/src/tests/sptests/sp14/system.h

    r80e2c29e r3235ad9  
    1212 *  notice must appear in all copies of this file and its derivatives.
    1313 *
    14  *  system.h,v 1.2 1995/05/31 17:10:37 joel Exp
     14 *  $Id$
    1515 */
    1616
  • c/src/tests/sptests/sp15/system.h

    r80e2c29e r3235ad9  
    1212 *  notice must appear in all copies of this file and its derivatives.
    1313 *
    14  *  system.h,v 1.2 1995/05/31 17:10:52 joel Exp
     14 *  $Id$
    1515 */
    1616
  • c/src/tests/sptests/sp16/system.h

    r80e2c29e r3235ad9  
    1212 *  notice must appear in all copies of this file and its derivatives.
    1313 *
    14  *  system.h,v 1.2 1995/05/31 17:11:05 joel Exp
     14 *  $Id$
    1515 */
    1616
  • c/src/tests/sptests/sp17/system.h

    r80e2c29e r3235ad9  
    1212 *  notice must appear in all copies of this file and its derivatives.
    1313 *
    14  *  system.h,v 1.2 1995/05/31 17:11:26 joel Exp
     14 *  $Id$
    1515 */
    1616
  • c/src/tests/sptests/sp19/fptest.h

    r80e2c29e r3235ad9  
    2323 *  notice must appear in all copies of this file and its derivatives.
    2424 *
    25  *  fptest.h,v 1.2 1995/05/31 17:11:39 joel Exp
     25 *  $Id$
    2626 */
    2727
  • c/src/tests/sptests/sp19/inttest.h

    r80e2c29e r3235ad9  
    2424 *  notice must appear in all copies of this file and its derivatives.
    2525 *
    26  *  inttest.h,v 1.2 1995/05/31 17:11:44 joel Exp
     26 *  $Id$
    2727 */
    2828
  • c/src/tests/sptests/sp19/system.h

    r80e2c29e r3235ad9  
    1212 *  notice must appear in all copies of this file and its derivatives.
    1313 *
    14  *  system.h,v 1.2 1995/05/31 17:11:47 joel Exp
     14 *  $Id$
    1515 */
    1616
  • c/src/tests/sptests/sp20/system.h

    r80e2c29e r3235ad9  
    1212 *  notice must appear in all copies of this file and its derivatives.
    1313 *
    14  *  system.h,v 1.2 1995/05/31 17:12:02 joel Exp
     14 *  $Id$
    1515 */
    1616
  • c/src/tests/sptests/sp21/system.h

    r80e2c29e r3235ad9  
    1212 *  notice must appear in all copies of this file and its derivatives.
    1313 *
    14  *  system.h,v 1.2 1995/05/31 17:12:14 joel Exp
     14 *  $Id$
    1515 */
    1616
  • c/src/tests/sptests/sp21/task1.c

    r80e2c29e r3235ad9  
    1616 *  notice must appear in all copies of this file and its derivatives.
    1717 *
    18  *  task1.c,v 1.3 1995/05/31 17:37:05 joel Exp
     18 *  $Id$
    1919 */
    2020
  • c/src/tests/sptests/sp22/system.h

    r80e2c29e r3235ad9  
    1212 *  notice must appear in all copies of this file and its derivatives.
    1313 *
    14  *  system.h,v 1.2 1995/05/31 17:12:31 joel Exp
     14 *  $Id$
    1515 */
    1616
  • c/src/tests/sptests/sp23/system.h

    r80e2c29e r3235ad9  
    1212 *  notice must appear in all copies of this file and its derivatives.
    1313 *
    14  *  system.h,v 1.2 1995/05/31 17:12:45 joel Exp
     14 *  $Id$
    1515 */
    1616
  • c/src/tests/sptests/sp24/system.h

    r80e2c29e r3235ad9  
    1212 *  notice must appear in all copies of this file and its derivatives.
    1313 *
    14  *  system.h,v 1.2 1995/05/31 17:13:00 joel Exp
     14 *  $Id$
    1515 */
    1616
  • c/src/tests/sptests/sp25/system.h

    r80e2c29e r3235ad9  
    1212 *  notice must appear in all copies of this file and its derivatives.
    1313 *
    14  *  system.h,v 1.2 1995/05/31 17:13:11 joel Exp
     14 *  $Id$
    1515 */
    1616
  • c/src/tests/sptests/spfatal/system.h

    r80e2c29e r3235ad9  
    1212 *  notice must appear in all copies of this file and its derivatives.
    1313 *
    14  *  system.h,v 1.2 1995/05/31 17:13:28 joel Exp
     14 *  $Id$
    1515 */
    1616
  • c/src/tests/sptests/spsize/size.c

    r80e2c29e r3235ad9  
    1212 *  notice must appear in all copies of this file and its derivatives.
    1313 *
    14  *  size.c,v 1.4 1995/07/12 19:47:25 joel Exp
     14 *  $Id$
    1515 */
    1616
  • c/src/tests/support/include/tmacros.h

    r80e2c29e r3235ad9  
    1212 *  notice must appear in all copies of this file and its derivatives.
    1313 *
    14  *  tmacros.h,v 1.2 1995/05/31 17:00:10 joel Exp
     14 *  $Id$
    1515 */
    1616
  • c/src/tests/tmtests/include/timesys.h

    r80e2c29e r3235ad9  
    1212 *  notice must appear in all copies of this file and its derivatives.
    1313 *
    14  *  timesys.h,v 1.2 1995/05/31 17:13:45 joel Exp
     14 *  $Id$
    1515 */
    1616
  • c/src/tests/tmtests/tm01/system.h

    r80e2c29e r3235ad9  
    1111 *  notice must appear in all copies of this file and its derivatives.
    1212 *
    13  *  system.h,v 1.2 1995/05/31 17:14:01 joel Exp
     13 *  $Id$
    1414 */
    1515
  • c/src/tests/tmtests/tm02/system.h

    r80e2c29e r3235ad9  
    1111 *  notice must appear in all copies of this file and its derivatives.
    1212 *
    13  *  system.h,v 1.2 1995/05/31 17:14:12 joel Exp
     13 *  $Id$
    1414 */
    1515
  • c/src/tests/tmtests/tm03/system.h

    r80e2c29e r3235ad9  
    1111 *  notice must appear in all copies of this file and its derivatives.
    1212 *
    13  *  system.h,v 1.2 1995/05/31 17:14:23 joel Exp
     13 *  $Id$
    1414 */
    1515
  • c/src/tests/tmtests/tm04/system.h

    r80e2c29e r3235ad9  
    1111 *  notice must appear in all copies of this file and its derivatives.
    1212 *
    13  *  system.h,v 1.2 1995/05/31 17:14:33 joel Exp
     13 *  $Id$
    1414 */
    1515
  • c/src/tests/tmtests/tm05/system.h

    r80e2c29e r3235ad9  
    1111 *  notice must appear in all copies of this file and its derivatives.
    1212 *
    13  *  system.h,v 1.2 1995/05/31 17:14:43 joel Exp
     13 *  $Id$
    1414 */
    1515
  • c/src/tests/tmtests/tm06/system.h

    r80e2c29e r3235ad9  
    1111 *  notice must appear in all copies of this file and its derivatives.
    1212 *
    13  *  system.h,v 1.2 1995/05/31 17:14:54 joel Exp
     13 *  $Id$
    1414 */
    1515
  • c/src/tests/tmtests/tm07/system.h

    r80e2c29e r3235ad9  
    1111 *  notice must appear in all copies of this file and its derivatives.
    1212 *
    13  *  system.h,v 1.2 1995/05/31 17:15:05 joel Exp
     13 *  $Id$
    1414 */
    1515
  • c/src/tests/tmtests/tm08/system.h

    r80e2c29e r3235ad9  
    1111 *  notice must appear in all copies of this file and its derivatives.
    1212 *
    13  *  system.h,v 1.2 1995/05/31 17:15:15 joel Exp
     13 *  $Id$
    1414 */
    1515
  • c/src/tests/tmtests/tm09/system.h

    r80e2c29e r3235ad9  
    1111 *  notice must appear in all copies of this file and its derivatives.
    1212 *
    13  *  system.h,v 1.2 1995/05/31 17:15:26 joel Exp
     13 *  $Id$
    1414 */
    1515
  • c/src/tests/tmtests/tm09/task1.c

    r80e2c29e r3235ad9  
    99 *  notice must appear in all copies of this file and its derivatives.
    1010 *
    11  *  task1.c,v 1.2 1995/05/31 17:15:28 joel Exp
     11 *  $Id$
    1212 */
    1313
  • c/src/tests/tmtests/tm10/system.h

    r80e2c29e r3235ad9  
    1111 *  notice must appear in all copies of this file and its derivatives.
    1212 *
    13  *  system.h,v 1.2 1995/05/31 17:15:37 joel Exp
     13 *  $Id$
    1414 */
    1515
  • c/src/tests/tmtests/tm10/task1.c

    r80e2c29e r3235ad9  
    99 *  notice must appear in all copies of this file and its derivatives.
    1010 *
    11  *  task1.c,v 1.2 1995/05/31 17:15:39 joel Exp
     11 *  $Id$
    1212 */
    1313
  • c/src/tests/tmtests/tm11/system.h

    r80e2c29e r3235ad9  
    1111 *  notice must appear in all copies of this file and its derivatives.
    1212 *
    13  *  system.h,v 1.2 1995/05/31 17:15:48 joel Exp
     13 *  $Id$
    1414 */
    1515
  • c/src/tests/tmtests/tm11/task1.c

    r80e2c29e r3235ad9  
    99 *  notice must appear in all copies of this file and its derivatives.
    1010 *
    11  *  task1.c,v 1.2 1995/05/31 17:15:50 joel Exp
     11 *  $Id$
    1212 */
    1313
  • c/src/tests/tmtests/tm12/system.h

    r80e2c29e r3235ad9  
    1111 *  notice must appear in all copies of this file and its derivatives.
    1212 *
    13  *  system.h,v 1.2 1995/05/31 17:15:59 joel Exp
     13 *  $Id$
    1414 */
    1515
  • c/src/tests/tmtests/tm12/task1.c

    r80e2c29e r3235ad9  
    99 *  notice must appear in all copies of this file and its derivatives.
    1010 *
    11  *  task1.c,v 1.2 1995/05/31 17:16:00 joel Exp
     11 *  $Id$
    1212 */
    1313
  • c/src/tests/tmtests/tm13/system.h

    r80e2c29e r3235ad9  
    1111 *  notice must appear in all copies of this file and its derivatives.
    1212 *
    13  *  system.h,v 1.2 1995/05/31 17:16:11 joel Exp
     13 *  $Id$
    1414 */
    1515
  • c/src/tests/tmtests/tm13/task1.c

    r80e2c29e r3235ad9  
    99 *  notice must appear in all copies of this file and its derivatives.
    1010 *
    11  *  task1.c,v 1.2 1995/05/31 17:16:13 joel Exp
     11 *  $Id$
    1212 */
    1313
  • c/src/tests/tmtests/tm14/system.h

    r80e2c29e r3235ad9  
    1111 *  notice must appear in all copies of this file and its derivatives.
    1212 *
    13  *  system.h,v 1.2 1995/05/31 17:16:22 joel Exp
     13 *  $Id$
    1414 */
    1515
  • c/src/tests/tmtests/tm14/task1.c

    r80e2c29e r3235ad9  
    99 *  notice must appear in all copies of this file and its derivatives.
    1010 *
    11  *  task1.c,v 1.2 1995/05/31 17:16:24 joel Exp
     11 *  $Id$
    1212 */
    1313
  • c/src/tests/tmtests/tm15/system.h

    r80e2c29e r3235ad9  
    1111 *  notice must appear in all copies of this file and its derivatives.
    1212 *
    13  *  system.h,v 1.2 1995/05/31 17:16:33 joel Exp
     13 *  $Id$
    1414 */
    1515
  • c/src/tests/tmtests/tm16/system.h

    r80e2c29e r3235ad9  
    1111 *  notice must appear in all copies of this file and its derivatives.
    1212 *
    13  *  system.h,v 1.2 1995/05/31 17:16:45 joel Exp
     13 *  $Id$
    1414 */
    1515
  • c/src/tests/tmtests/tm17/system.h

    r80e2c29e r3235ad9  
    1111 *  notice must appear in all copies of this file and its derivatives.
    1212 *
    13  *  system.h,v 1.2 1995/05/31 17:16:57 joel Exp
     13 *  $Id$
    1414 */
    1515
  • c/src/tests/tmtests/tm18/system.h

    r80e2c29e r3235ad9  
    1111 *  notice must appear in all copies of this file and its derivatives.
    1212 *
    13  *  system.h,v 1.2 1995/05/31 17:17:15 joel Exp
     13 *  $Id$
    1414 */
    1515
  • c/src/tests/tmtests/tm19/system.h

    r80e2c29e r3235ad9  
    1111 *  notice must appear in all copies of this file and its derivatives.
    1212 *
    13  *  system.h,v 1.2 1995/05/31 17:17:35 joel Exp
     13 *  $Id$
    1414 */
    1515
  • c/src/tests/tmtests/tm20/system.h

    r80e2c29e r3235ad9  
    1111 *  notice must appear in all copies of this file and its derivatives.
    1212 *
    13  *  system.h,v 1.2 1995/05/31 17:17:56 joel Exp
     13 *  $Id$
    1414 */
    1515
  • c/src/tests/tmtests/tm20/task1.c

    r80e2c29e r3235ad9  
    99 *  notice must appear in all copies of this file and its derivatives.
    1010 *
    11  *  task1.c,v 1.2 1995/05/31 17:18:00 joel Exp
     11 *  $Id$
    1212 */
    1313
  • c/src/tests/tmtests/tm21/system.h

    r80e2c29e r3235ad9  
    1111 *  notice must appear in all copies of this file and its derivatives.
    1212 *
    13  *  system.h,v 1.2 1995/05/31 17:18:16 joel Exp
     13 *  $Id$
    1414 */
    1515
  • c/src/tests/tmtests/tm21/task1.c

    r80e2c29e r3235ad9  
    99 *  notice must appear in all copies of this file and its derivatives.
    1010 *
    11  *  task1.c,v 1.2 1995/05/31 17:18:19 joel Exp
     11 *  $Id$
    1212 */
    1313
  • c/src/tests/tmtests/tm22/system.h

    r80e2c29e r3235ad9  
    1111 *  notice must appear in all copies of this file and its derivatives.
    1212 *
    13  *  system.h,v 1.2 1995/05/31 17:18:37 joel Exp
     13 *  $Id$
    1414 */
    1515
  • c/src/tests/tmtests/tm22/task1.c

    r80e2c29e r3235ad9  
    99 *  notice must appear in all copies of this file and its derivatives.
    1010 *
    11  *  task1.c,v 1.2 1995/05/31 17:18:40 joel Exp
     11 *  $Id$
    1212 */
    1313
  • c/src/tests/tmtests/tm23/system.h

    r80e2c29e r3235ad9  
    1111 *  notice must appear in all copies of this file and its derivatives.
    1212 *
    13  *  system.h,v 1.2 1995/05/31 17:18:54 joel Exp
     13 *  $Id$
    1414 */
    1515
  • c/src/tests/tmtests/tm24/system.h

    r80e2c29e r3235ad9  
    1111 *  notice must appear in all copies of this file and its derivatives.
    1212 *
    13  *  system.h,v 1.2 1995/05/31 17:19:07 joel Exp
     13 *  $Id$
    1414 */
    1515
  • c/src/tests/tmtests/tm25/system.h

    r80e2c29e r3235ad9  
    1111 *  notice must appear in all copies of this file and its derivatives.
    1212 *
    13  *  system.h,v 1.2 1995/05/31 17:19:17 joel Exp
     13 *  $Id$
    1414 */
    1515
  • c/src/tests/tmtests/tm26/fptest.h

    r80e2c29e r3235ad9  
    2323 *  notice must appear in all copies of this file and its derivatives.
    2424 *
    25  *  fptest.h,v 1.2 1995/05/31 17:19:26 joel Exp
     25 *  $Id$
    2626 */
    2727