2004-09-14 Hollis Blanchard <hollis@penguinppc.org>
* kern/powerpc/ieee1275/init.c (abort): Trap into Open Firmware. * term/powerpc/ieee1275/ofconsole.c (grub_ofconsole_gotoxy): Use `y + 1' instead of `y - 1'. * conf/powerpc-ieee1275.rmk (grubof_LDFLAGS): Add `-N' and `-S'.
This commit is contained in:
parent
062b24c22c
commit
da75ac7157
5 changed files with 15 additions and 3 deletions
|
@ -1,3 +1,12 @@
|
|||
2004-09-14 Hollis Blanchard <hollis@penguinppc.org>
|
||||
|
||||
* kern/powerpc/ieee1275/init.c (abort): Trap into Open Firmware.
|
||||
|
||||
* term/powerpc/ieee1275/ofconsole.c (grub_ofconsole_gotoxy): Use
|
||||
`y + 1' instead of `y - 1'.
|
||||
|
||||
* conf/powerpc-ieee1275.rmk (grubof_LDFLAGS): Add `-N' and `-S'.
|
||||
|
||||
2004-09-14 Yoshinori K. Okuji <okuji@enbug.org>
|
||||
|
||||
From Hollis Blanchard <hollis@penguinppc.org>:
|
||||
|
|
|
@ -618,7 +618,7 @@ grubof-commands_boot.d: commands/boot.c
|
|||
grubof_HEADERS = grub/powerpc/ieee1275/ieee1275.h
|
||||
grubof_CFLAGS = $(COMMON_CFLAGS)
|
||||
grubof_ASFLAGS = $(COMMON_ASFLAGS)
|
||||
grubof_LDFLAGS = -nostdlib -static-libgcc -lgcc -Wl,-Ttext,0x200000,-Bstatic
|
||||
grubof_LDFLAGS = -nostdlib -static-libgcc -lgcc -Wl,-N,-S,-Ttext,0x200000,-Bstatic
|
||||
|
||||
# For genmoddep.
|
||||
genmoddep_SOURCES = util/genmoddep.c
|
||||
|
|
|
@ -46,7 +46,7 @@ grubof_SOURCES = boot/powerpc/ieee1275/cmain.c boot/powerpc/ieee1275/ieee1275.c
|
|||
grubof_HEADERS = grub/powerpc/ieee1275/ieee1275.h
|
||||
grubof_CFLAGS = $(COMMON_CFLAGS)
|
||||
grubof_ASFLAGS = $(COMMON_ASFLAGS)
|
||||
grubof_LDFLAGS = -nostdlib -static-libgcc -lgcc -Wl,-Ttext,0x200000,-Bstatic
|
||||
grubof_LDFLAGS = -nostdlib -static-libgcc -lgcc -Wl,-N,-S,-Ttext,0x200000,-Bstatic
|
||||
|
||||
# For genmoddep.
|
||||
genmoddep_SOURCES = util/genmoddep.c
|
||||
|
|
|
@ -40,6 +40,9 @@ grub_addr_t grub_total_module_size = 0;
|
|||
void
|
||||
abort (void)
|
||||
{
|
||||
/* Trap to Open Firmware. */
|
||||
asm ("trap");
|
||||
|
||||
for (;;);
|
||||
}
|
||||
|
||||
|
|
|
@ -214,7 +214,7 @@ grub_ofconsole_gotoxy (grub_uint8_t x, grub_uint8_t y)
|
|||
grub_curr_x = x;
|
||||
grub_curr_y = y;
|
||||
|
||||
grub_sprintf (s, "\e[%d;%dH", y - 1, x + 1);
|
||||
grub_sprintf (s, "\e[%d;%dH", y + 1, x + 1);
|
||||
grub_ofconsole_writeesc (s);
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue