Hi bug-grub, Is there any way, when in a Multiboot kernel, to determine the load address and length of the loaded kernel code? The Multiboot spec says the former is "anywhere the loader sees fit", and the latter is obviously kernel-specific. I have a feeling this may be possible via the ELF symbol table (using _start) but I don't know the ELF format well enough to get from the section header (which is provided) to the symbol table. Is there an easier way? I'm looking to make sure that memory is not allocated from the middle of the kernel.
-- Josh P.S. I know Grub tends to load at 1 MB, but this is obviously not guaranteed by the spec. _______________________________________________ Bug-grub mailing list [EMAIL PROTECTED] http://mail.gnu.org/mailman/listinfo/bug-grub