Main Page   File List  

Console Server Interface

Generic console interface (open/close console). More...

Functions

long con::if::openqry ([in] unsigned long sbuf1_size,[in] unsigned long sbuf2_size,[in] unsigned long sbuf3_size,[in] byte priority,[out] l4_threadid_t *vcid,[in] short vfbmode)
 Get and assign first available vc.
long con::if::screenshot ([in] short vc_nr,[out] l4dm_dataspace_t *ds,[out] l4_uint32_t *xres,[out] l4_uint32_t *yres,[out] l4_uint32_t *bpp)
 Take screenshot of a virtual console.
long con::if::close_all ([in] l4_threadid_t client)
 Close all vc's of an application.

Detailed Description

Generic console interface (open/close console).


Function Documentation

long con::if::openqry ( [in] unsigned long  sbuf1_size,
[in] unsigned long  sbuf2_size,
[in] unsigned long  sbuf3_size,
[in] byte  priority,
[out] l4_threadid_t *  vcid,
[in] short  vfbmode 
) [inherited]

Get and assign first available vc.

Parameters:
sbuf1_size size of string receive buffer
sbuf2_size,sbuf3_size size of string receive buffer, only sed for pslim_cscs() where the three components are written into separate buffers.
priority priority of belonging vc thread L4THREAD_DEFAULT_PRIO for default prio
vfbmode Is it a virtual frame buffer?
Return values:
vcid thread id of virtual console thread
Returns:
0 on success, negative error codes otherwise

long con::if::screenshot ( [in] short  vc_nr,
[out] l4dm_dataspace_t *  ds,
[out] l4_uint32_t *  xres,
[out] l4_uint32_t *  yres,
[out] l4_uint32_t *  bpp 
) [inherited]

Take screenshot of a virtual console.

Parameters:
vc_nr Number of console, 0 for current foreground console
Return values:
ds DS which contains the fb data
xres Picture width
yres Picture height
bpp Bits per pixel
Returns:
0 on success, negative error code otherwise

long con::if::close_all ( [in] l4_threadid_t  client  )  [inherited]

Close all vc's of an application.

Parameters:
client task id of client to close vcs
Returns:
0 on success, negative error codes otherwise


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