grub_ieee1275_exit ();
}
+#ifndef __i386__
/* Translate an OF filesystem path (separated by backslashes), into a GRUB
path (separated by forward slashes). */
static void
backslash = grub_strchr (filepath, '\\');
}
}
+#endif
void (*grub_ieee1275_net_config) (const char *dev, char **device, char **path,
char *bootpath);
+#ifdef __i386__
+void
+grub_machine_get_bootlocation (char **device __attribute__ ((unused)),
+ char **path __attribute__ ((unused)))
+{
+ grub_env_set ("prefix", "(sd,1)/");
+}
+#else
void
grub_machine_get_bootlocation (char **device, char **path)
{
}
grub_free (bootpath);
}
+#endif
/* Claim some available memory in the first /memory node. */
#ifdef __sparc__