Skip to contentSkip to conversation

new ELF64 patch

PATCH Ruslan Nikolaev 3 participants 4 messages Jul 17, 2005 – Jul 18, 2005

lore
Share & tools
lore
#0 lore raw

Hi!

I sent new patch for mutiboot:
http://lists.gnu.org/archive/html/grub-devel/2005-07/msg00130.html

Is it correct now?

By the way... I have seen that grub2 has a 4Gb limit when detecting memory size and mmap. I think that is not good for both x86 and x86_64. i686 for example can use 64 Gb of RAM. As for x86_64 it is 2^52 bytes. I can try to fix this... But I also need an answer about ELF64 multiboot.

Best regards, Ruslan.

Signature · 3 lines
___________________________________________________________
Sign-up for Ads Free at Mail.com
http://promo.mail.com/adsfreejump.htm
#1 lore raw
Quoted 4 lines · Ruslan Nikolaev

I have seen that grub2 has a 4Gb limit when detecting memory size and mmap. I think that is not good for both x86 and x86_64. i686 for example can use 64 Gb of RAM. As for x86_64 it is 2^52 bytes. I can try to fix this... But I also need an answer about ELF64 multiboot.

Best regards, Ruslan.

Ruslan,

I can see this would be a problem for the final running kernel. However, is 4GB sufficient for kernel loading & kernel memory discovery?

I am interested in situations were 4GB would not be sufficient.
Say, having grub2 being utilized for full device discovery for a minimalistic kernel... Or, having grub2 be the minimalistic kernel...

Forgive me, I am still learning the Weirding Ways ;)

Regards,
Joel

#2 lore raw
Quoted 2 lines · Joel Buckley

I can see this would be a problem for the final running kernel. However, is 4GB sufficient for kernel loading & kernel memory discovery?

You are absolutely right. The idea behind is that GRUB itself does not require much memory, while passing correct information to an OS image. Since using 64 GB on i386 needs utilization of segment registers, it's overkill for GRUB.

Okuji