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:
parent
02bb8accd5
commit
cc6d3df39e
4 changed files with 17 additions and 4 deletions
|
@ -190,7 +190,7 @@ grub_ieee1275_instance_to_path (grub_ieee1275_ihandle_t ihandle,
|
|||
char *path, grub_size_t len,
|
||||
grub_ssize_t *actual)
|
||||
{
|
||||
struct instance_to_package_args
|
||||
struct instance_to_path_args
|
||||
{
|
||||
struct grub_ieee1275_common_hdr common;
|
||||
grub_ieee1275_ihandle_t ihandle;
|
||||
|
|
|
@ -116,7 +116,6 @@ void
|
|||
grub_machine_init (void)
|
||||
{
|
||||
char args[256];
|
||||
grub_ieee1275_phandle_t chosen;
|
||||
int actual;
|
||||
extern char _start;
|
||||
|
||||
|
@ -137,8 +136,7 @@ grub_machine_init (void)
|
|||
grub_ofdisk_init ();
|
||||
|
||||
/* Process commandline. */
|
||||
grub_ieee1275_finddevice ("/chosen", &chosen);
|
||||
if (grub_ieee1275_get_property (chosen, "bootargs", &args,
|
||||
if (grub_ieee1275_get_property (grub_ieee1275_chosen, "bootargs", &args,
|
||||
sizeof args, &actual) == 0
|
||||
&& actual > 1)
|
||||
{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue