patch-2.1.109 linux/drivers/char/console_macros.h

Next file: linux/drivers/char/fbmem.c
Previous file: linux/drivers/char/console.c
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v2.1.108/linux/drivers/char/console_macros.h linux/drivers/char/console_macros.h
@@ -1,7 +1,10 @@
 #define cons_num	(vc_cons[currcons].d->vc_num)
 #define sw		(vc_cons[currcons].d->vc_sw)
+#define screenbuf	(vc_cons[currcons].d->vc_screenbuf)
 #define screenbuf_size	(vc_cons[currcons].d->vc_screenbuf_size)
 #define origin		(vc_cons[currcons].d->vc_origin)
+#define scr_top		(vc_cons[currcons].d->vc_scr_top)
+#define visible_origin  (vc_cons[currcons].d->vc_visible_origin)
 #define scr_end		(vc_cons[currcons].d->vc_scr_end)
 #define pos		(vc_cons[currcons].d->vc_pos)
 #define top		(vc_cons[currcons].d->vc_top)
@@ -35,7 +38,6 @@
 #define decim		(vc_cons[currcons].d->vc_decim)
 #define deccolm		(vc_cons[currcons].d->vc_deccolm)
 #define need_wrap	(vc_cons[currcons].d->vc_need_wrap)
-#define has_scrolled	(vc_cons[currcons].d->vc_has_scrolled)
 #define kmalloced	(vc_cons[currcons].d->vc_kmalloced)
 #define report_mouse	(vc_cons[currcons].d->vc_report_mouse)
 #define color		(vc_cons[currcons].d->vc_color)

FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen, slshen@lbl.gov