diff options
author | Ralf Corsepius <ralf.corsepius@rtems.org> | 2004-04-16 12:06:28 +0000 |
---|---|---|
committer | Ralf Corsepius <ralf.corsepius@rtems.org> | 2004-04-16 12:06:28 +0000 |
commit | aed742c9a09fc443418ba4ef8f31892ef00df984 (patch) | |
tree | e9d0138d2456e7ec94be79b66f1f06181d308743 /cpukit/libmisc/mw-fb/mw_uid.h | |
parent | Remove stray white spaces. (diff) | |
download | rtems-aed742c9a09fc443418ba4ef8f31892ef00df984.tar.bz2 |
Remove stray white spaces.
Diffstat (limited to 'cpukit/libmisc/mw-fb/mw_uid.h')
-rw-r--r-- | cpukit/libmisc/mw-fb/mw_uid.h | 35 |
1 files changed, 26 insertions, 9 deletions
diff --git a/cpukit/libmisc/mw-fb/mw_uid.h b/cpukit/libmisc/mw-fb/mw_uid.h index 459c3a057c..2bfc258057 100644 --- a/cpukit/libmisc/mw-fb/mw_uid.h +++ b/cpukit/libmisc/mw-fb/mw_uid.h @@ -3,14 +3,31 @@ // $Header$ // // Copyright (c) 2000 - Rosimildo da Silva -// -// MODULE DESCRIPTION: +// +// MODULE DESCRIPTION: // This module defines the interface for input devices used by MicroWindows // in an embedded system environment. // // MODIFICATION/HISTORY: // // $Log$ +// Revision 1.1 2000/08/30 08:21:24 joel +// 2000-08-26 Rosimildo da Silva <rdasilva@connecttel.com> +// +// * Added generic Micro FrameBuffer interface for MicroWindows. +// This interface allows MicroWindows to under RTEMS. A sample +// driver has been developed for the pc386 BSP. See +// pc386/fb_vga.c as a sample. +// * Added Uniform Input Device interface for MicroWindows. +// See PC386 bsp for sample drivers for mouse and keyboard (console). +// * mw-bf: New directory. +// * Makefile.am, configure.in, wrapup/Makefile.am: Account for mw-fb. +// * mw-fb/Makefile.am: New file. +// * mw-fb/mw_fb.c: New file. +// * mw-fb/mw_fb.h: New file. +// * mw-fb/mw_uid.c: New file. +// * mw-fb/mw_uid.h: New file. +// // ///////////////////////////////////////////////////////////////////////////// */ @@ -21,13 +38,13 @@ extern "C" { #endif -/* 0x41XX -- IOCLT functions for the Micro Input Devices commands */ +/* 0x41XX -- IOCLT functions for the Micro Input Devices commands */ #define MW_UID_REGISTER_DEVICE 0x4100 #define MW_UID_UNREGISTER_DEVICE 0x4101 /* devices supported by MicroWindows */ -enum MW_INPUT_DEVICE_TYPE +enum MW_INPUT_DEVICE_TYPE { MV_UID_INVALID = 0, MV_UID_REL_POS = 1, /* mouse */ @@ -53,7 +70,7 @@ enum MW_INPUT_DEVICE_TYPE /* keyboard modes -- default ASCII */ #define MV_KEY_MODE_ASCII 0x01 -/* +/* * This mode one event is sent when a key is pressed, * and another one is send when a key is released. */ @@ -68,7 +85,7 @@ enum MW_INPUT_DEVICE_TYPE #define MV_KDSKBMODE 0x4B45 /* sets current keyboard mode */ /* - * Message generated by input devices controlled by MicroWindows. + * Message generated by input devices controlled by MicroWindows. */ struct MW_UID_MESSAGE { @@ -102,7 +119,7 @@ struct MW_UID_MESSAGE /* * API for creating/closing/accessing the message queue used by the micro - * input device interface. All functions in this interface returns a + * input device interface. All functions in this interface returns a * zero ( 0 ) on success. One exception for that is the "read" routine * that returns the number of bytes read. Negaive numbers indicate errors * @@ -117,8 +134,8 @@ extern int uid_open_queue( const char *q_name, int flags, size_t max_msgs ); /* closes message queue */ extern int uid_close_queue( void ); -/* - * reads a message from the queue. It waits up to the specified +/* + * reads a message from the queue. It waits up to the specified * timeout in mili-seconds. */ extern int uid_read_message( struct MW_UID_MESSAGE *m, unsigned long timeout ); |