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

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [rtos/] [rtems/] [c/] [src/] [lib/] [libcpu/] [sh/] [sh7032/] [null/] [read.c] - Blame information for rev 507

Go to most recent revision | Details | Compare with Previous | View Log

Line No. Rev Author Line
1 30 unneback
/*  null_read
2
 *
3
 *  This routine is the null device driver read routine.
4
 *
5
 *  Derived from rtems' stub driver.
6
 *
7
 *  Author: Ralf Corsepius (corsepiu@faw.uni-ulm.de)
8
 *
9
 *  Input parameters:
10
 *    major - device major number
11
 *    minor - device minor number
12
 *    pargp - pointer to read parameter block
13
 *
14
 *  Output parameters:
15
 *    rval       - NULL_SUCCESSFUL
16
 *
17
 *  COPYRIGHT (c) 1989-1999.
18
 *  On-Line Applications Research Corporation (OAR).
19
 *
20
 *  The license and distribution terms for this file may be
21
 *  found in the file LICENSE in this distribution or at
22
 *  http://www.OARcorp.com/rtems/license.html.
23
 *
24
 *  $Id: read.c,v 1.2 2001-09-27 12:01:33 chris Exp $
25
 */
26
 
27
#include <rtems.h>
28
#include <sh/null.h>
29
 
30
rtems_device_driver null_read(
31
  rtems_device_major_number major,
32
  rtems_device_minor_number minor,
33
  void *pargp
34
)
35
{
36
  return NULL_SUCCESSFUL;
37
}

powered by: WebSVN 2.1.0

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