2008-07-15 Pavel Roskin <proski@gnu.org>

* term/ieee1275/ofconsole.c: Disable code unused on i386.
This commit is contained in:
proski 2008-07-15 13:27:02 +00:00
parent c4cd51d7a4
commit 62ead89c20
2 changed files with 6 additions and 0 deletions

View file

@ -1,5 +1,7 @@
2008-07-15 Pavel Roskin <proski@gnu.org>
* term/ieee1275/ofconsole.c: Disable code unused on i386.
* kern/ieee1275/ieee1275.c (grub_ieee1275_get_integer_property):
Fix comparison between signed and unsigned.

View file

@ -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)