RTEMS CPU Kit with SuperCore  4.11.3
Functions
mw_uid.c File Reference

MicroWindows UIDThis module implements the input devices interface used by MicroWindows in an embedded system environment. More...

#include <stdio.h>
#include <fcntl.h>
#include <sys/ioctl.h>
#include <errno.h>
#include <rtems.h>
#include <rtems/mw_uid.h>
#include <rtems/seterr.h>
Include dependency graph for mw_uid.c:

Functions

int uid_open_queue (const char *q_name, int flags, size_t max_msgs)
 This method creates the message queue that holds events from the input devices. More...
 
int uid_close_queue (void)
 This method closes the message queue and deletes it. More...
 
int uid_read_message (struct MW_UID_MESSAGE *m, unsigned long timeout)
 This method reads a message from the queue. More...
 
int uid_send_message (struct MW_UID_MESSAGE *m)
 This methods writes a message to the queue. More...
 
int uid_register_device (int fd, const char *q_name)
 This method registers the device associated with fd to to insert data to the queue.
 
int uid_unregister_device (int fd)
 
int uid_set_kbd_mode (int fd, int mode, int *old_mode)
 

Detailed Description

MicroWindows UID

This module implements the input devices interface used by MicroWindows in an embedded system environment.

It uses the RTEMS message queue as the repository for the messages posted by the devices registered.