Back to home page

LXR

 
 

    


File indexing completed on 2025-05-11 08:24:01

0001 /*  ipl.h
0002  *
0003  *  IPL console driver
0004  *  Copyright (C) 2001 OKTET Ltd., St.-Petersburg, Russia
0005  *  Author: Victor V. Vengerov <vvv@oktet.ru>
0006  *
0007  *  Based on work:
0008  *  Author: Ralf Corsepius (corsepiu@faw.uni-ulm.de)
0009  *
0010  *  COPYRIGHT (c) 1989-1998.
0011  *  On-Line Applications Research Corporation (OAR).
0012  *
0013  *  The license and distribution terms for this file may be
0014  *  found in the file LICENSE in this distribution or at
0015  *  http://www.rtems.org/license/LICENSE.
0016  */
0017 
0018 #ifndef __IPL_DRIVER_h
0019 #define __IPL_DRIVER_h
0020 
0021 #ifdef __cplusplus
0022 extern "C" {
0023 #endif
0024 
0025 #define IPL_DRIVER_TABLE_ENTRY \
0026   { ipl_console_initialize, ipl_console_open, ipl_console_close, \
0027     ipl_console_read, ipl_console_write, ipl_console_control }
0028 
0029 
0030 #define NULL_SUCCESSFUL RTEMS_SUCCESSFUL
0031 
0032 rtems_device_driver ipl_console_initialize(
0033   rtems_device_major_number,
0034   rtems_device_minor_number,
0035   void *
0036 );
0037 
0038 rtems_device_driver ipl_console_open(
0039   rtems_device_major_number,
0040   rtems_device_minor_number,
0041   void *
0042 );
0043 
0044 rtems_device_driver ipl_console_close(
0045   rtems_device_major_number,
0046   rtems_device_minor_number,
0047   void *
0048 );
0049 
0050 rtems_device_driver ipl_console_read(
0051   rtems_device_major_number,
0052   rtems_device_minor_number,
0053   void *
0054 );
0055 
0056 rtems_device_driver ipl_console_write(
0057   rtems_device_major_number,
0058   rtems_device_minor_number,
0059   void *
0060 );
0061 
0062 rtems_device_driver ipl_console_control(
0063   rtems_device_major_number,
0064   rtems_device_minor_number,
0065   void *
0066 );
0067 
0068 #ifdef __cplusplus
0069 }
0070 #endif
0071 
0072 #endif
0073 /* end of include file */