source: rtems/c/src/tests/support/stubdr/cntrl.c @ 7c22114b

4.104.114.84.95
Last change on this file since 7c22114b was ac7d5ef0, checked in by Joel Sherrill <joel.sherrill@…>, on 05/11/95 at 17:39:37

Initial revision

  • Property mode set to 100644
File size: 987 bytes
Line 
1/*  Stub_control
2 *
3 *  This routine is the terminal driver control routine.
4 *
5 *  Input parameters:
6 *    major - device major number
7 *    minor - device minor number
8 *    pargp - pointer to cntrl parameter block
9 *    tid   - calling task's id
10 *    rval  - address of the return value
11 *
12 *  Output parameters:
13 *    rval       - STUB_SUCCESSFUL
14 *
15 *  COPYRIGHT (c) 1989, 1990, 1991, 1992, 1993, 1994.
16 *  On-Line Applications Research Corporation (OAR).
17 *  All rights assigned to U.S. Government, 1994.
18 *
19 *  This material may be reproduced by or for the U.S. Government pursuant
20 *  to the copyright license under the clause at DFARS 252.227-7013.  This
21 *  notice must appear in all copies of this file and its derivatives.
22 *
23 *  $Id$
24 */
25
26#include <rtems.h>
27#include "stubdrv.h"
28
29rtems_device_driver Stub_control(
30  rtems_device_major_number major,
31  rtems_device_minor_number minor,
32  void *pargp,
33  rtems_id tid,
34  rtems_unsigned32 *rval
35)
36{
37  *rval = STUB_SUCCESSFUL;
38}
Note: See TracBrowser for help on using the repository browser.