|
Functions |
static void | do_switch (int i_new, int i_old) |
static void | fast_memcpy (l4_uint8_t *dst, l4_uint8_t *src, l4_size_t size) |
static void | fast_memcpy_mmx2_32 (l4_uint8_t *dst, l4_uint8_t *src, l4_size_t size) |
static int | get_free_vc (void) |
| Find first available (non-opened) vc in list.
|
static int | redraw_vc (void) |
| send con_event redraw.
|
static int | background_vc (void) |
| send con_event background.
|
void | request_vc (int nr) |
| Announce that we want to switch to another console.
|
void | request_vc_delta (int delta) |
| Announce that we want to switch to another console.
|
static void | switch_vc (void) |
| Switch to other console (want_vc != fg_vc).
|
long | con_if_openqry_component (CORBA_Object _dice_corba_obj, unsigned long sbuf1_size, unsigned long sbuf2_size, unsigned long sbuf3_size, unsigned char priority, l4_threadid_t *vcid, short vfbmode, CORBA_Server_Environment *_dice_corba_env) |
| Query for new (not opened) virtual console.
|
long | con_if_screenshot_component (CORBA_Object _dice_corba_obj, short vc_nr, l4dm_dataspace_t *ds, l4_uint32_t *xres, l4_uint32_t *yres, l4_uint32_t *bpp, CORBA_Server_Environment *_dice_corba_env) |
long | con_if_close_all_component (CORBA_Object _dice_corba_obj, const l4_threadid_t *client, CORBA_Server_Environment *_dice_corba_env) |
| Close all virtual consoles of a client.
|
static void | test_periodic (void) |
void | switch_vc_on_timer (l4_msgdope_t result, CORBA_Server_Environment *env) |
static void | server_loop (void) |
static void | check_fast_memcpy (void) |
static void | check_cpuload (void) |
int | console_puts (const char *s) |
static void | my_LOG_outstring (const char *s) |
| asm (".globl jiffies") |
int | main (int argc, const char *argv[]) |
| Main function.
|
Variables |
char | LOG_tag [9] = "con" |
l4_ssize_t | l4libc_heapsize = CONFIG_MALLOC_MAX_SIZE |
int | noaccel |
int | nolog |
int | pan |
int | use_fastmemcpy = 1 |
int | cpu_load |
int | cpu_load_history |
int | vbemode |
struct l4con_vc * | vc [MAX_NR_L4CONS] |
int | fg_vc = -1 |
int | want_vc = 0 |
int | update_id |
l4lock_t | want_vc_lock = L4LOCK_UNLOCKED |
l4_threadid_t | ev_partner_l4id = L4_NIL_ID |
l4_threadid_t | vc_partner_l4id = L4_NIL_ID |
l4_uint8_t | vc_mode = CON_CLOSED |