grub-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: common ieee1275 code


From: Hollis Blanchard
Subject: Re: common ieee1275 code
Date: Thu, 14 Jul 2005 09:23:49 -0500

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





reply via email to

[Prev in Thread] Current Thread [Next in Thread]