2005-08-30 Hollis Blanchard <hollis@penguinppc.org>
* term/ieee1275/ofconsole.c (grub_ofconsole_getcharwidth): New function. (grub_ofconsole_term): Specify grub_ofconsole_getcharwidth as getcharwidth.
This commit is contained in:
parent
67f44c8687
commit
003789c77c
2 changed files with 14 additions and 0 deletions
|
@ -1,3 +1,10 @@
|
||||||
|
2005-08-30 Hollis Blanchard <hollis@penguinppc.org>
|
||||||
|
|
||||||
|
* term/ieee1275/ofconsole.c (grub_ofconsole_getcharwidth): New
|
||||||
|
function.
|
||||||
|
(grub_ofconsole_term): Specify grub_ofconsole_getcharwidth as
|
||||||
|
getcharwidth.
|
||||||
|
|
||||||
2005-08-28 Marco Gerards <metgerards@student.han.nl>
|
2005-08-28 Marco Gerards <metgerards@student.han.nl>
|
||||||
|
|
||||||
* include/grub/normal.h (enum grub_completion_type): Added
|
* include/grub/normal.h (enum grub_completion_type): Added
|
||||||
|
|
|
@ -83,6 +83,12 @@ grub_ofconsole_putchar (grub_uint32_t c)
|
||||||
grub_ieee1275_write (stdout_ihandle, &chr, 1, 0);
|
grub_ieee1275_write (stdout_ihandle, &chr, 1, 0);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
static grub_ssize_t
|
||||||
|
grub_ofconsole_getcharwidth (grub_uint32_t c)
|
||||||
|
{
|
||||||
|
return 1;
|
||||||
|
}
|
||||||
|
|
||||||
static void
|
static void
|
||||||
grub_ofconsole_setcolorstate (grub_term_color_state state)
|
grub_ofconsole_setcolorstate (grub_term_color_state state)
|
||||||
{
|
{
|
||||||
|
@ -337,6 +343,7 @@ static struct grub_term grub_ofconsole_term =
|
||||||
.init = grub_ofconsole_init,
|
.init = grub_ofconsole_init,
|
||||||
.fini = grub_ofconsole_fini,
|
.fini = grub_ofconsole_fini,
|
||||||
.putchar = grub_ofconsole_putchar,
|
.putchar = grub_ofconsole_putchar,
|
||||||
|
.getcharwidth = grub_ofconsole_getcharwidth,
|
||||||
.checkkey = grub_ofconsole_checkkey,
|
.checkkey = grub_ofconsole_checkkey,
|
||||||
.getkey = grub_ofconsole_getkey,
|
.getkey = grub_ofconsole_getkey,
|
||||||
.getxy = grub_ofconsole_getxy,
|
.getxy = grub_ofconsole_getxy,
|
||||||
|
|
Loading…
Reference in a new issue