Changeset b06e68ef in rtems for c/src/tests/support


Ignore:
Timestamp:
Aug 17, 1995, 7:51:51 PM (26 years ago)
Author:
Joel Sherrill <joel.sherrill@…>
Branches:
4.10, 4.11, 4.8, 4.9, 5, master
Children:
95fbca1
Parents:
3b438fa
Message:

Numerous miscellaneous features incorporated from Tony Bennett
(tbennett@…) including the following major additions:

+ variable length messages
+ named devices
+ debug monitor
+ association tables/variables

Location:
c/src/tests/support/stubdr
Files:
7 edited

Legend:

Unmodified
Added
Removed
  • c/src/tests/support/stubdr/close.c

    r3b438fa rb06e68ef  
    77 *    minor - device minor number
    88 *    pargb - pointer to close parameter block
    9  *    tid   - calling task's id
    10  *    rval  - address of the return value
    119 *
    1210 *  Output parameters:
     
    3028  rtems_device_major_number major,
    3129  rtems_device_minor_number minor,
    32   void *pargp,
    33   rtems_id tid,
    34   rtems_unsigned32 *rval
     30  void *pargp
    3531)
    3632{
    37   *rval = STUB_SUCCESSFUL;
     33  return STUB_SUCCESSFUL;
    3834}
  • c/src/tests/support/stubdr/cntrl.c

    r3b438fa rb06e68ef  
    77 *    minor - device minor number
    88 *    pargp - pointer to cntrl parameter block
    9  *    tid   - calling task's id
    10  *    rval  - address of the return value
    119 *
    1210 *  Output parameters:
     
    3028  rtems_device_major_number major,
    3129  rtems_device_minor_number minor,
    32   void *pargp,
    33   rtems_id tid,
    34   rtems_unsigned32 *rval
     30  void *pargp
    3531)
    3632{
    37   *rval = STUB_SUCCESSFUL;
     33  return STUB_SUCCESSFUL;
    3834}
  • c/src/tests/support/stubdr/init.c

    r3b438fa rb06e68ef  
    77 *    minor - device minor number
    88 *    pargp - pointer to parameter block
    9  *    tid   - calling task's id
    10  *    rval  - pointer to return value
    119 *
    1210 *  Output parameters:
     
    3230  rtems_device_major_number major,
    3331  rtems_device_minor_number minor,
    34   void *pargp,
    35   rtems_id tid,
    36   rtems_unsigned32 *rval
     32  void *pargp
    3733)
    3834{
    3935  STUB_major = major;
    40   *rval = STUB_SUCCESSFUL;
     36  return STUB_SUCCESSFUL;
    4137}
  • c/src/tests/support/stubdr/open.c

    r3b438fa rb06e68ef  
    77 *    minor - device minor number
    88 *    pargb - pointer to open parameter block
    9  *    tid   - calling task's id
    10  *    rval  - address of the return value
    119 *
    1210 *  Output parameters:
     
    3028  rtems_device_major_number major,
    3129  rtems_device_minor_number minor,
    32   void *pargp,
    33   rtems_id tid,
    34   rtems_unsigned32 *rval
     30  void *pargp
    3531)
    3632{
    37   *rval = STUB_SUCCESSFUL;
     33  return STUB_SUCCESSFUL;
    3834}
  • c/src/tests/support/stubdr/read.c

    r3b438fa rb06e68ef  
    77 *    minor - device minor number
    88 *    pargp - pointer to read parameter block
    9  *    tid   - calling task's id
    10  *    rval  - address of the return value
    119 *
    1210 *  Output parameters:
     
    3028  rtems_device_major_number major,
    3129  rtems_device_minor_number minor,
    32   void *pargp,
    33   rtems_id tid,
    34   rtems_unsigned32 *rval
     30  void *pargp
    3531)
    3632{
    37   *rval = STUB_SUCCESSFUL;
     33  return STUB_SUCCESSFUL;
    3834}
  • c/src/tests/support/stubdr/stubdrv.h

    r3b438fa rb06e68ef  
    2929  rtems_device_major_number,
    3030  rtems_device_minor_number,
    31   void *,
    32   rtems_id,
    33   rtems_unsigned32 *
     31  void *
    3432);
    3533
     
    3735  rtems_device_major_number,
    3836  rtems_device_minor_number,
    39   void *,
    40   rtems_id,
    41   rtems_unsigned32 *
     37  void *
    4238);
    4339
     
    4541  rtems_device_major_number,
    4642  rtems_device_minor_number,
    47   void *,
    48   rtems_id,
    49   rtems_unsigned32 *
     43  void *
    5044);
    5145
     
    5347  rtems_device_major_number,
    5448  rtems_device_minor_number,
    55   void *,
    56   rtems_id,
    57   rtems_unsigned32 *
     49  void *
    5850);
    5951
     
    6153  rtems_device_major_number,
    6254  rtems_device_minor_number,
    63   void *,
    64   rtems_id,
    65   rtems_unsigned32 *
     55  void *
    6656);
    6757
     
    6959  rtems_device_major_number,
    7060  rtems_device_minor_number,
    71   void *,
    72   rtems_id,
    73   rtems_unsigned32 *
     61  void *
    7462);
    7563
  • c/src/tests/support/stubdr/write.c

    r3b438fa rb06e68ef  
    77 *    minor - device minor number
    88 *    pargp - pointer to write parameter block
    9  *    tid   - calling task's id
    10  *    rval  - address of the return value
    119 *
    1210 *  Output parameters:
     
    3028  rtems_device_major_number major,
    3129  rtems_device_minor_number minor,
    32   void *pargp,
    33   rtems_id tid,
    34   rtems_unsigned32 *rval
     30  void *pargp
    3531)
    3632{
    37   *rval = STUB_SUCCESSFUL;
     33  return STUB_SUCCESSFUL;
    3834}
Note: See TracChangeset for help on using the changeset viewer.