From 62ead89c20246820bbc9942183ae854fd95ad465 Mon Sep 17 00:00:00 2001 From: proski Date: Tue, 15 Jul 2008 13:27:02 +0000 Subject: [PATCH] 2008-07-15 Pavel Roskin * term/ieee1275/ofconsole.c: Disable code unused on i386. --- ChangeLog | 2 ++ term/ieee1275/ofconsole.c | 4 ++++ 2 files changed, 6 insertions(+) diff --git a/ChangeLog b/ChangeLog index a1c46af01..cf4386f34 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,5 +1,7 @@ 2008-07-15 Pavel Roskin + * term/ieee1275/ofconsole.c: Disable code unused on i386. + * kern/ieee1275/ieee1275.c (grub_ieee1275_get_integer_property): Fix comparison between signed and unsigned. diff --git a/term/ieee1275/ofconsole.c b/term/ieee1275/ofconsole.c index 5d701ca64..faa104926 100644 --- a/term/ieee1275/ofconsole.c +++ b/term/ieee1275/ofconsole.c @@ -33,8 +33,10 @@ static grub_uint8_t grub_ofconsole_height; static int grub_curr_x; static int grub_curr_y; +#ifndef __i386__ static int grub_keybuf; static int grub_buflen; +#endif struct color { @@ -142,6 +144,7 @@ grub_ofconsole_getcolor (grub_uint8_t *normal_color, grub_uint8_t *highlight_col *highlight_color = grub_ofconsole_highlight_color; } +#ifndef __i386__ static int grub_ofconsole_readkey (int *key) { @@ -226,6 +229,7 @@ grub_ofconsole_getkey (void) return key; } +#endif static grub_uint16_t grub_ofconsole_getxy (void)