On Thu, 1 Jun 2000, Jeff Garzik wrote:
Can you steal code from LILO to patch the in-core kernel image with values it needs?
Right now the Linux kernel depends on a memory map read from BIOS. One solution -- which I think should belong in the official kernel -- might be to create our own memory map, and then pass the physical address of that map into the kernel image.
Some values come into the kernel now from page zero. Page zero is made inaccessible early in the boot process. Since its not used, it seems like a good place to put the PARAM variables. What I was wondering was whether we could have the initial boot code put a PARAM struct at page 0 and let linux bcopy it in to its own empty_zero_page, which is where the regular BIOS stuff is put by the code in arch/i386/boot (if my memory is correct).
It's also long past time that PARAM was made a struct :-)
On a different not: Now that I've seen how you init a keyboard, I've got no problem with leaving that code in :-)
ron
- To unsubscribe: send mail to majordomo@freiburg.linux.de with 'unsubscribe openbios' in the body of the message