From c8ccf8ac0a1ff08e2494588a235462e56eb7b36a Mon Sep 17 00:00:00 2001 From: "David W. Hendricks" Date: Mon, 24 May 2004 17:14:21 +0000 Subject: [PATCH] Definition fixed by Ollie git-svn-id: svn://svn.coreboot.org/coreboot/trunk@1566 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1 --- src/console/font-8x16.c | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/src/console/font-8x16.c b/src/console/font-8x16.c index 682a01e8c4..9404ffe809 100644 --- a/src/console/font-8x16.c +++ b/src/console/font-8x16.c @@ -5,8 +5,15 @@ /* */ /**********************************************/ +#define CHAR_256 0 -static unsigned char vga_font[cmapsz] BTDATA = { +#if CHAR_256==1 +#define cmapsz (16*256) +#else +#define cmapsz (16*96) +#endif + +static unsigned char vga_font[cmapsz] = { #if CHAR_256==1 /* 0 0x00 '^@' */ 0x00, /* 00000000 */