vgacon.c (353816f43d1fb340ff2d9a911dd5d0799c09f6a5) vgacon.c (025dfdafe77f20b3890981a394774baab7b9c827)
1/*
2 * linux/drivers/video/vgacon.c -- Low level VGA based console driver
3 *
4 * Created 28 Sep 1997 by Geert Uytterhoeven
5 *
6 * Rewritten by Martin Mares <mj@ucw.cz>, July 1998
7 *
8 * This file is based on the old console.c, vga.c and vesa_blank.c drivers.

--- 1318 unchanged lines hidden (view full) ---

1327 * set bootup console parameters without messing up generic
1328 * console initialization routines.
1329 */
1330 vga_bootup_console = 1;
1331 c->vc_x = screen_info.orig_x;
1332 c->vc_y = screen_info.orig_y;
1333 }
1334
1/*
2 * linux/drivers/video/vgacon.c -- Low level VGA based console driver
3 *
4 * Created 28 Sep 1997 by Geert Uytterhoeven
5 *
6 * Rewritten by Martin Mares <mj@ucw.cz>, July 1998
7 *
8 * This file is based on the old console.c, vga.c and vesa_blank.c drivers.

--- 1318 unchanged lines hidden (view full) ---

1327 * set bootup console parameters without messing up generic
1328 * console initialization routines.
1329 */
1330 vga_bootup_console = 1;
1331 c->vc_x = screen_info.orig_x;
1332 c->vc_y = screen_info.orig_y;
1333 }
1334
1335 /* We can't copy in more then the size of the video buffer,
1335 /* We can't copy in more than the size of the video buffer,
1336 * or we'll be copying in VGA BIOS */
1337
1338 if (!vga_is_gfx)
1339 scr_memcpyw((u16 *) c->vc_screenbuf, (u16 *) c->vc_origin,
1340 c->vc_screenbuf_size > vga_vram_size ? vga_vram_size : c->vc_screenbuf_size);
1341}
1342
1343static int vgacon_scroll(struct vc_data *c, int t, int b, int dir,

--- 85 unchanged lines hidden ---
1336 * or we'll be copying in VGA BIOS */
1337
1338 if (!vga_is_gfx)
1339 scr_memcpyw((u16 *) c->vc_screenbuf, (u16 *) c->vc_origin,
1340 c->vc_screenbuf_size > vga_vram_size ? vga_vram_size : c->vc_screenbuf_size);
1341}
1342
1343static int vgacon_scroll(struct vc_data *c, int t, int b, int dir,

--- 85 unchanged lines hidden ---