Main Page   File List  

l4con.h

Go to the documentation of this file.
00001 /* $Id: l4con.h 24294 2006-01-17 17:52:42Z fm3 $ */
00011 /* (c) 2003 'Technische Universitaet Dresden'
00012  * This file is part of the con package, which is distributed under
00013  * the terms of the GNU General Public License 2. Please see the
00014  * COPYING file for details. */
00015 
00016 #ifndef _L4CON_L4CON_H
00017 #define _L4CON_L4CON_H
00018 
00019 #include <l4/sys/ipc.h>
00020 
00024 #define CON_NAMES_STR   "con"           
00025 
00026 
00027 /*****************************************************************************/
00030 /*****************************************************************************/
00032 #define CON_NOVFB       0x00   
00033 #define CON_VFB         0x01   
00035 
00036 /******************************************************************************/
00042 #define CON_CLOSED      0x00    
00043 #define CON_IN          0x01    
00044 #define CON_OUT         0x02    
00045 #define CON_INOUT       0x03    
00046 #define CON_OPENING     0x04    
00047 #define CON_CLOSING     0x08    
00048 #define CON_MASTER      0x10    
00049 
00050 
00051 /******************************************************************************/
00057 #include <l4/l4con/l4con_pslim.h>
00059 
00060 /******************************************************************************/
00066 #include <l4/l4con/l4con_ev.h>
00068 /******************************************************************************/
00074 #define GRAPH_RESMASK   0xf0    
00075 #define GRAPH_BPPMASK   0x0f    
00076 
00077 #define GRAPH_BPP_16    0x05    
00078 
00079 #define GRAPH_BPP_1     0x01    
00080 #define GRAPH_BPP_4     0x02    
00081 #define GRAPH_BPP_8     0x03    
00082 #define GRAPH_BPP_15    0x04    
00083 #define GRAPH_BPP_24    0x06    
00084 #define GRAPH_BPP_32    0x07    
00085 
00086 #define GRAPH_RES_640   0x10    
00087 
00088 #define GRAPH_RES_800   0x20    
00089 #define GRAPH_RES_1024  0x30    
00090 #define GRAPH_RES_1152  0x40    
00091 #define GRAPH_RES_1280  0x50    
00092 #define GRAPH_RES_1600  0x60    
00093 
00094 #define GRAPH_RES_768   0x70    
00095 
00096 #define L4CON_FAST_COPY         0x00000001
00097 #define L4CON_STREAM_CSCS_YV12  0x00000002
00098 #define L4CON_STREAM_CSCS_YUY2  0x00000004
00099 #define L4CON_POST_DIRTY        0x00000008
00100 #define L4CON_FAST_FILL         0x00000010
00101 
00103 
00104 /******************************************************************************/
00108 #define CON_EPROTO      0x00ff  
00109 #define CON_EUNKNOWN    0x00fe  
00110 #define CON_EFREE       0x00fd  
00111 #define CON_ETHREAD     0x00fc  
00112 #define CON_EPARAM      0x00fb  
00113 #define CON_EXPARAM     0x00fa  
00114 #define CON_EPERM       0x00f9  
00115 #define CON_ENOMEM      0x00f8  
00116 #define CON_ESCALE      0x00f7  
00117 
00118 #define CON_ENOTIMPL    0x1000  
00119 
00120 
00121 #endif /* !_L4CON_L4CON_H */

DROPS Console User Manual, part of DROPS  © 2000-2003