4.104.114.84.95
Line | |
---|
1 | /* Stub_open |
---|
2 | * |
---|
3 | * This routine is the terminal driver open routine. |
---|
4 | * |
---|
5 | * Input parameters: |
---|
6 | * major - device major number |
---|
7 | * minor - device minor number |
---|
8 | * pargb - pointer to open 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 | |
---|
29 | rtems_device_driver Stub_open( |
---|
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.