43#ifndef __SERIAL_MOUSE_h__
44#define __SERIAL_MOUSE_h__
62#define SERIAL_MOUSE_DEVICE_PS2 "/dev/psaux"
67#define SERIAL_MOUSE_DRIVER_TABLE_ENTRY \
68 { serial_mouse_initialize, serial_mouse_open, serial_mouse_close, \
69 serial_mouse_read, serial_mouse_write, serial_mouse_control }
This header file defines the IO Manager API.
uint32_t rtems_device_major_number
This integer type represents the major number of devices.
Definition: io.h:103
uint32_t rtems_device_minor_number
This integer type represents the minor number of devices.
Definition: io.h:115
rtems_status_code
This enumeration provides status codes for directives of the Classic API.
Definition: status.h:85
rtems_device_driver serial_mouse_close(rtems_device_major_number major, rtems_device_minor_number minor, void *arg)
Close device driver entry point for the serial mouse driver.
Definition: serial_mouse.c:151
rtems_device_driver serial_mouse_write(rtems_device_major_number major, rtems_device_minor_number minor, void *arg)
Write device driver entry point for the serial mouse driver.
Definition: serial_mouse.c:172
rtems_device_driver serial_mouse_control(rtems_device_major_number major, rtems_device_minor_number minor, void *arg)
IO Control device driver entry point for the serial mouse driver.
Definition: serial_mouse.c:182
bool bsp_get_serial_mouse_device(const char **name, const char **type)
Obtain serial mouse configuration information.
Definition: serial_mouse_config.c:48
rtems_device_driver serial_mouse_read(rtems_device_major_number major, rtems_device_minor_number minor, void *arg)
Read device driver entry point for the serial mouse driver.
Definition: serial_mouse.c:162
rtems_device_driver serial_mouse_initialize(rtems_device_major_number major, rtems_device_minor_number minor, void *arg)
The initialization of the serial mouse driver.
Definition: serial_mouse.c:78
rtems_device_driver serial_mouse_open(rtems_device_major_number major, rtems_device_minor_number minor, void *arg)
Open device driver entry point for the serial mouse driver.
Definition: serial_mouse.c:99