source:
rtems/c/src/lib/libbsp/sh/simsh4/include/ramdisk.h
@
c682b89
Last change on this file since c682b89 was cd67dca, checked in by Joel Sherrill <joel.sherrill@…>, on 10/11/01 at 21:04:35 | |
---|---|
|
|
File size: 1.6 KB |
Rev | Line | |
---|---|---|
[cd67dca] | 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.OARcorp.com/rtems/license.html. | |
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 | ||
26 | rtems_device_driver ramdisk_initialize(rtems_device_major_number major, | |
27 | rtems_device_minor_number minor, | |
28 | void *arg); | |
29 | ||
30 | rtems_device_driver ramdisk_open(rtems_device_major_number major, | |
31 | rtems_device_minor_number minor, | |
32 | void *arg); | |
33 | ||
34 | rtems_device_driver ramdisk_close(rtems_device_major_number major, | |
35 | rtems_device_minor_number minor, | |
36 | void *arg); | |
37 | ||
38 | rtems_device_driver ramdisk_read(rtems_device_major_number major, | |
39 | rtems_device_minor_number minor, | |
40 | void *arg); | |
41 | ||
42 | rtems_device_driver ramdisk_write(rtems_device_major_number major, | |
43 | rtems_device_minor_number minor, | |
44 | void *arg); | |
45 | ||
46 | rtems_device_driver ramdisk_control(rtems_device_major_number major, | |
47 | rtems_device_minor_number minor, | |
48 | void *arg); | |
49 | ||
50 | #ifdef __cplusplus | |
51 | } | |
52 | #endif | |
53 | ||
54 | #endif | |
55 | /* end of include file */ |
Note: See TracBrowser
for help on using the repository browser.