On Jul 14, 2005, at 4:55 AM, Marco Gerards wrote:
I will note that one related file is still left:
kern/powerpc/ieee1275/openfw.c. That file contains some
PowerPC-specific code, such as grub_map, grub_reboot, and
grub_halt. However, it also contains code that I think will be
generally useful, such as device tree path parsing and
grub_devalias_iterate. I will leave it to others to determine how to
split that up.
Why won't those functions work on the usparc? I hope Vincent can test
those commands.
grub_map is necessarily processor-specific; it includes MMU permission
bits. I also don't know if it's a method of the cpu node found via
/chosen/mmu.
"reboot" and "halt" commands are not specified by IEEE1275, so vary by
implementation. For example, although "reset-all" works on both Mac and
pSeries, "shut-down" doesn't work on pSeries. The odds of OpenBoot
diverging here are pretty good.
-Hollis
_______________________________________________
Grub-devel mailing list
Grub-devel@gnu.org
http://lists.gnu.org/mailman/listinfo/grub-devel