1 | /* ramdisk.h |
---|
2 | * |
---|
3 | * |
---|
4 | * Copyright (C) 2001 OKTET Ltd., St.-Petersburg, Russia |
---|
5 | * Author: Eugeny S. Mints <Eugeny.Mints@oktet.ru> |
---|
6 | * |
---|
7 | * |
---|
8 | * COPYRIGHT (c) 1989-2001. |
---|
9 | * On-Line Applications Research Corporation (OAR). |
---|
10 | * |
---|
11 | * The license and distribution terms for this file may be |
---|
12 | * found in the file LICENSE in this distribution or at |
---|
13 | * http://www.rtems.com/license/LICENSE. |
---|
14 | * |
---|
15 | * $Id$ |
---|
16 | */ |
---|
17 | |
---|
18 | #ifndef _RAMDISK_DRIVER_h |
---|
19 | #define _RAMDISK_DRIVER_h |
---|
20 | |
---|
21 | #ifdef __cplusplus |
---|
22 | extern "C" { |
---|
23 | #endif |
---|
24 | |
---|
25 | rtems_device_driver ramdisk_initialize(rtems_device_major_number major, |
---|
26 | rtems_device_minor_number minor, |
---|
27 | void *arg); |
---|
28 | |
---|
29 | rtems_device_driver ramdisk_open(rtems_device_major_number major, |
---|
30 | rtems_device_minor_number minor, |
---|
31 | void *arg); |
---|
32 | |
---|
33 | rtems_device_driver ramdisk_close(rtems_device_major_number major, |
---|
34 | rtems_device_minor_number minor, |
---|
35 | void *arg); |
---|
36 | |
---|
37 | rtems_device_driver ramdisk_read(rtems_device_major_number major, |
---|
38 | rtems_device_minor_number minor, |
---|
39 | void *arg); |
---|
40 | |
---|
41 | rtems_device_driver ramdisk_write(rtems_device_major_number major, |
---|
42 | rtems_device_minor_number minor, |
---|
43 | void *arg); |
---|
44 | |
---|
45 | rtems_device_driver ramdisk_control(rtems_device_major_number major, |
---|
46 | rtems_device_minor_number minor, |
---|
47 | void *arg); |
---|
48 | |
---|
49 | #ifdef __cplusplus |
---|
50 | } |
---|
51 | #endif |
---|
52 | |
---|
53 | #endif |
---|