]> rtime.felk.cvut.cz Git - l4.git/blob - l4/pkg/l4con/server/src/vc.h
update
[l4.git] / l4 / pkg / l4con / server / src / vc.h
1 /**
2  * \file        con/server/src/vc.h
3  * \brief       internals of `con' submodule, thread specific vc stuff
4  *
5  * \date        2001
6  * \author      Christian Helmuth <ch12@os.inf.tu-dresden.de>
7  *              Frank Mehnert <fm3@os.inf.tu-dresden.de> */
8 /*
9  * (c) 2008-2009 Author(s)
10  *     economic rights: Technische Universität Dresden (Germany)
11  *
12  * This file is part of TUD:OS and distributed under the terms of the
13  * GNU General Public License 2.
14  * Please see the COPYING-GPL-2 file for details.
15  */
16
17 /* (c) 2003 'Technische Universitaet Dresden'
18  * This file is part of the con package, which is distributed under
19  * the terms of the GNU General Public License 2. Please see the
20  * COPYING file for details. */
21
22 #ifndef _VC_H
23 #define _VC_H
24
25 #include <l4/re/c/util/video/goos_fb.h>
26
27 #include "l4con.h"
28 #include "con_hw/init.h"
29
30 void vc_init(void);
31 void vc_map_env_fb(void);
32 void vc_get_env_fb(void);
33 void vc_loop(struct l4con_vc *this_vc);
34 void vc_show_id(struct l4con_vc *this_vc);
35 void vc_show_dmphys_poolsize(struct l4con_vc *this_vc);
36 void vc_show_cpu_load(struct l4con_vc *this_vc);
37 void vc_show_timer_ticks(struct l4con_vc *this_vc);
38 void vc_show_drops_cscs_logo(void);
39 void vc_clear(struct l4con_vc *this_vc);
40 void vc_show_fresh_console_logo(struct l4con_vc *this_vc);
41 int  vc_close(struct l4con_vc *this_vc);
42
43 void vc_brightness_contrast(int diff_brightness, int diff_contrast);
44
45 extern pslim_copy_fn fg_do_copy;
46 extern pslim_copy_fn bg_do_copy;
47 extern pslim_fill_fn fg_do_fill;
48 extern pslim_fill_fn bg_do_fill;
49 extern pslim_sync_fn fg_do_sync;
50 extern pslim_sync_fn bg_do_sync;
51 extern pslim_drty_fn fg_do_drty;
52
53 extern con_accel_t hw_accel;
54 extern l4_umword_t status_area;
55
56 extern l4re_util_video_goos_fb_t goosfb;
57 extern l4re_video_view_info_t fb_info;
58
59 #endif /* !_VC_H */