RTEMS
6.1-rc6
Loading...
Searching...
No Matches
bsps
i386
pc386
include
rtems
ps2_drv.h
Go to the documentation of this file.
1
9
#ifndef __paux_drv__
10
#define __paux_drv__
11
/***************************************************************************
12
*
13
* Copyright (c) 1999 ConnectTel, Inc. All Rights Reserved.
14
*
15
* MODULE DESCRIPTION: Prototype routines for the paux driver.
16
*
17
* by: Rosimildo da Silva:
18
* rdasilva@connecttel.com
19
* http://www.connecttel.com
20
*
21
****************************************************************************/
22
23
/* functions */
24
#ifdef __cplusplus
25
extern
"C"
{
26
#endif
27
28
/* paux prototype entry points */
29
rtems_device_driver
paux_initialize(
30
rtems_device_major_number
,
31
rtems_device_minor_number
,
32
void
*
33
);
34
35
rtems_device_driver
paux_open(
36
rtems_device_major_number
,
37
rtems_device_minor_number
,
38
void
*
39
);
40
41
rtems_device_driver
paux_control(
42
rtems_device_major_number
,
43
rtems_device_minor_number
,
44
void
*
45
);
46
47
rtems_device_driver
paux_close(
48
rtems_device_major_number
,
49
rtems_device_minor_number
,
50
void
*
51
);
52
53
rtems_device_driver
paux_read(
54
rtems_device_major_number
,
55
rtems_device_minor_number
,
56
void
*
57
);
58
59
rtems_device_driver
paux_write(
60
rtems_device_major_number
,
61
rtems_device_minor_number
,
62
void
*
63
);
64
65
rtems_device_driver
paux_control(
66
rtems_device_major_number
,
67
rtems_device_minor_number
,
68
void
*
69
);
70
71
#define PAUX_DRIVER_TABLE_ENTRY \
72
{ paux_initialize, paux_open, paux_close, \
73
paux_read, paux_write, paux_control }
74
75
#ifdef __cplusplus
76
}
77
#endif
78
79
#endif
/* __paux_drv__ */
rtems_device_major_number
uint32_t rtems_device_major_number
This integer type represents the major number of devices.
Definition:
io.h:103
rtems_device_minor_number
uint32_t rtems_device_minor_number
This integer type represents the minor number of devices.
Definition:
io.h:115
rtems_status_code
rtems_status_code
This enumeration provides status codes for directives of the Classic API.
Definition:
status.h:85
Generated by
1.9.6