2008-07-15 Pavel Roskin <proski@gnu.org>
* term/ieee1275/ofconsole.c: Disable code unused on i386.
This commit is contained in:
parent
c4cd51d7a4
commit
62ead89c20
2 changed files with 6 additions and 0 deletions
|
@ -1,5 +1,7 @@
|
||||||
2008-07-15 Pavel Roskin <proski@gnu.org>
|
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):
|
* kern/ieee1275/ieee1275.c (grub_ieee1275_get_integer_property):
|
||||||
Fix comparison between signed and unsigned.
|
Fix comparison between signed and unsigned.
|
||||||
|
|
||||||
|
|
|
@ -33,8 +33,10 @@ static grub_uint8_t grub_ofconsole_height;
|
||||||
static int grub_curr_x;
|
static int grub_curr_x;
|
||||||
static int grub_curr_y;
|
static int grub_curr_y;
|
||||||
|
|
||||||
|
#ifndef __i386__
|
||||||
static int grub_keybuf;
|
static int grub_keybuf;
|
||||||
static int grub_buflen;
|
static int grub_buflen;
|
||||||
|
#endif
|
||||||
|
|
||||||
struct color
|
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;
|
*highlight_color = grub_ofconsole_highlight_color;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
#ifndef __i386__
|
||||||
static int
|
static int
|
||||||
grub_ofconsole_readkey (int *key)
|
grub_ofconsole_readkey (int *key)
|
||||||
{
|
{
|
||||||
|
@ -226,6 +229,7 @@ grub_ofconsole_getkey (void)
|
||||||
|
|
||||||
return key;
|
return key;
|
||||||
}
|
}
|
||||||
|
#endif
|
||||||
|
|
||||||
static grub_uint16_t
|
static grub_uint16_t
|
||||||
grub_ofconsole_getxy (void)
|
grub_ofconsole_getxy (void)
|
||||||
|
|
Loading…
Reference in a new issue