On Sat, Apr 19, 2008 at 04:09:15PM -0600, Julian Salazar wrote:
> Attached is the patch. Since I'm not completely familiar with GRUB2's
> internals, there might be a more efficient way of implementing this.
> 
> Thoughts/improvements?

Thanks for the patch.  It'd be interesting if it was done portably.  The
coreboot (aka LinuxBIOS) target also uses this code, and the memory map is
obtained differently there (see kern/i386/linuxbios/init.c).

At least, it could be #ifdef'ed, although it'd be nice to have something
more ellegant (e.g. an isolated, generic function to probe for memory map
arch-dependantly that arch-independant code can use).

-- 
Robert Millan

<GPLv2> I know my rights; I want my phone call!
<DRM> What use is a phone call… if you are unable to speak?
(as seen on /.)


_______________________________________________
Grub-devel mailing list
Grub-devel@gnu.org
http://lists.gnu.org/mailman/listinfo/grub-devel

Reply via email to