On Wed, 2002-03-20 at 03:54, Yoshinori K. Okuji wrote:
> At 08 Mar 2002 16:50:57 -0500,
> Jeremy Katz wrote:
> > The attached patch lets GRUB parse a Linux kernel command line for mem=
> > to use as the upper memory location for an initrd as opposed to the
> > maximum detected memory amount per the Linux/I386 boot protocol.
> 
> Is it really necessary to use simple_strtoul? I know safe_parse_maxint
> doesn't do the same thing, because it understands the prefix `0x' and
> the return value is signed, but I suspect that the difference is
> negligible. What do you think?

There'd have to be a different version to handle unsigned longs, though,
as you have to be able to handle a memory size of unsigned long
(although people don't generally do mem=4294967296, it's perfectly valid
to do so)

Jeremy

_______________________________________________
Bug-grub mailing list
[EMAIL PROTECTED]
http://mail.gnu.org/mailman/listinfo/bug-grub

Reply via email to