Main Page   File List  

l4con.h File Reference

console protocol definitions. More...

Go to the source code of this file.

Defines

Query names for this
#define CON_NAMES_STR   "con"
 names string
Param macros for virtual framebuffer use
#define CON_NOVFB   0x00
#define CON_VFB   0x01
Param macros for smode/gmode
Virtual console modes

#define CON_CLOSED   0x00
 console closed
#define CON_IN   0x01
 console in INPUT mode
#define CON_OUT   0x02
 console in OUTPUT mode
#define CON_INOUT   0x03
 0x01 & 0x02 INOUT mode
#define CON_OPENING   0x04
 requested but not opened
#define CON_CLOSING   0x08
 close requested but not closed
#define CON_MASTER   0x10
 console is master
Param macros for graph_smode/gmode
virtual console graphics modes

#define GRAPH_RESMASK   0xf0
 resolution of the frame buffer
#define GRAPH_BPPMASK   0x0f
 bit per pixel value
#define GRAPH_BPP_16   0x05
 16 bpp graphics
#define GRAPH_BPP_1   0x01
 1 bpp graphics
#define GRAPH_BPP_4   0x02
 4 bpp graphics
#define GRAPH_BPP_8   0x03
 8 bpp graphics
#define GRAPH_BPP_15   0x04
 15 bpp graphics
#define GRAPH_BPP_24   0x06
 24 bpp graphics
#define GRAPH_BPP_32   0x07
 24 bpp word aligned
#define GRAPH_RES_640   0x10
 640 x 480 pixel
#define GRAPH_RES_800   0x20
 800 x 600 pixel
#define GRAPH_RES_1024   0x30
 1024 x 768 pixel
#define GRAPH_RES_1152   0x40
 1152 x 864 pixel
#define GRAPH_RES_1280   0x50
 1280 x 1024 pixel
#define GRAPH_RES_1600   0x60
 1600 x 1200 pixel
#define GRAPH_RES_768   0x70
 768 x 576 pixel - TV
#define L4CON_FAST_COPY   0x00000001
#define L4CON_STREAM_CSCS_YV12   0x00000002
#define L4CON_STREAM_CSCS_YUY2   0x00000004
#define L4CON_POST_DIRTY   0x00000008
#define L4CON_FAST_FILL   0x00000010
Error code macros
#define CON_EPROTO   0x00ff
 wrong protocol type
#define CON_EUNKNOWN   0x00fe
 unknown command
#define CON_EFREE   0x00fd
 no free console
#define CON_ETHREAD   0x00fc
 no thread (con_msg_t) declared
#define CON_EPARAM   0x00fb
 error in param (con_cmd_t)
#define CON_EXPARAM   0x00fa
 error in xparam
#define CON_EPERM   0x00f9
 operation not permitted (in current mode)
#define CON_ENOMEM   0x00f8
 not enough memory available
#define CON_ESCALE   0x00f7
 cscs.scale == 0
#define CON_ENOTIMPL   0x1000
 function not implemented yet


Detailed Description

console protocol definitions.

Date:
2001
Author:
Christian Helmuth <ch12@os.inf.tu-dresden.de>
These macros are used as parameters for the IDL functions.

Definition in file l4con.h.


Define Documentation

#define CON_NOVFB   0x00

dont use vfb

Definition at line 32 of file l4con.h.

#define CON_VFB   0x01

use vfb

Definition at line 33 of file l4con.h.


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