ia64/xen-unstable

changeset 267:893aee1b628b

bitkeeper revision 1.113 (3e68d06887kwW9F4hBSAjMtikQ2LqQ)

kernel.c:
VGA text mode 3 has 25 rows, not 24 :-)
author kaf24@labyrinth.cl.cam.ac.uk
date Fri Mar 07 17:01:28 2003 +0000 (2003-03-07)
parents 8e200807a8b2
children 6501c2dbec48
files xen/common/kernel.c
line diff
     1.1 --- a/xen/common/kernel.c	Fri Mar 07 16:50:35 2003 +0000
     1.2 +++ b/xen/common/kernel.c	Fri Mar 07 17:01:28 2003 +0000
     1.3 @@ -16,12 +16,6 @@
     1.4  #include <linux/if_ether.h>
     1.5  #include <asm/domain_page.h>
     1.6  
     1.7 -/* VGA text definitions. */
     1.8 -#define COLUMNS	    80
     1.9 -#define LINES	    24
    1.10 -#define ATTRIBUTE    7
    1.11 -#define VIDEO	    __va(0xB8000)
    1.12 -
    1.13  static int xpos, ypos;
    1.14  static volatile unsigned char *video;
    1.15  
    1.16 @@ -245,6 +239,12 @@ void putchar_serial(unsigned char c)
    1.17  }
    1.18  
    1.19  
    1.20 +/* VGA text (mode 3) definitions. */
    1.21 +#define COLUMNS	    80
    1.22 +#define LINES	    25
    1.23 +#define ATTRIBUTE    7
    1.24 +#define VIDEO	    __va(0xB8000)
    1.25 +
    1.26  /* This is actually code from vgaHWRestore in an old version of XFree86 :-) */
    1.27  void init_vga(void)
    1.28  {