OpenCores
URL https://opencores.org/ocsvn/openrisc_me/openrisc_me/trunk

Subversion Repositories openrisc_me

[/] [openrisc/] [trunk/] [rtos/] [rtems/] [c/] [src/] [tests/] [support/] [stubdr/] [init.c] - Blame information for rev 173

Details | Compare with Previous | View Log

Line No. Rev Author Line
1 30 unneback
/*  Stub_initialize
2
 *
3
 *  This routine is the terminal driver init routine.
4
 *
5
 *  Input parameters:
6
 *    major - device major number
7
 *    minor - device minor number
8
 *    pargp - pointer to parameter block
9
 *
10
 *  Output parameters:
11
 *    rval       - STUB_SUCCESSFUL
12
 *
13
 *  COPYRIGHT (c) 1989-1999.
14
 *  On-Line Applications Research Corporation (OAR).
15
 *
16
 *  The license and distribution terms for this file may be
17
 *  found in the file LICENSE in this distribution or at
18
 *  http://www.OARcorp.com/rtems/license.html.
19
 *
20
 *  $Id: init.c,v 1.2 2001-09-27 12:02:38 chris Exp $
21
 */
22
 
23
#include <rtems.h>
24
#include "stubdrv.h"
25
 
26
rtems_unsigned32 STUB_major;
27
 
28
rtems_device_driver Stub_initialize(
29
  rtems_device_major_number major,
30
  rtems_device_minor_number minor,
31
  void *pargp
32
)
33
{
34
  STUB_major = major;
35
  return STUB_SUCCESSFUL;
36
}

powered by: WebSVN 2.1.0

© copyright 1999-2024 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.