2005-10-01 Hollis Blanchard <hollis@penguinppc.org>

* kern/ieee1275/ieee1275.c (grub_ieee1275_instance_to_path): Rename
	`instance_to_package_args' to `instance_to_path_args'.

	* kern/powerpc/ieee1275/init.c (grub_machine_init): Use
	`grub_ieee1275_chosen'.

	* term/ieee1275/ofconsole.c (grub_ofconsole_init): Call
	`grub_ieee1275_interpret'.
This commit is contained in:
hollisb 2006-10-01 06:45:53 +00:00
parent 02bb8accd5
commit cc6d3df39e
4 changed files with 17 additions and 4 deletions

View file

@ -311,6 +311,10 @@ grub_ofconsole_init (void)
grub_ssize_t actual;
int col;
/* The latest PowerMacs don't actually initialize the screen for us, so we
* use this trick to re-open the output device. */
grub_ieee1275_interpret ("output-device output", 0);
if (grub_ieee1275_get_property (grub_ieee1275_chosen, "stdout", data,
sizeof data, &actual)
|| actual != sizeof data)