/[grub]/grub2/kern/powerpc/ieee1275/init.c
ViewVC logotype

Diff of /grub2/kern/powerpc/ieee1275/init.c

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.18 by hollisb, Tue May 17 02:25:19 2005 UTC revision 1.19 by hollisb, Tue Jun 21 02:33:51 2005 UTC
# Line 68  grub_set_prefix (void) Line 68  grub_set_prefix (void)
68    char bootpath[64]; /* XXX check length */    char bootpath[64]; /* XXX check length */
69    char *filename;    char *filename;
70    char *prefix;    char *prefix;
   grub_ieee1275_phandle_t chosen;  
71    
72    grub_ieee1275_finddevice ("/chosen", &chosen);    if (grub_ieee1275_get_property (grub_ieee1275_chosen, "bootpath", &bootpath,
   if (grub_ieee1275_get_property (chosen, "bootpath", &bootpath,  
73                                    sizeof (bootpath), 0))                                    sizeof (bootpath), 0))
74      {      {
75        /* Should never happen.  */        /* Should never happen.  */

Legend:
Removed from v.1.18  
changed lines
  Added in v.1.19

savannah-hackers-public@gnu.org
ViewVC Help
Powered by ViewVC 1.1.26