Yesterday I wrote: > This patch provides just the code needed to virtually map the > kernel to a fixed virtual address from whatever physical address > it happened to be loaded at (it is assumed that the bootloader > handled the issue of finding a suitably aligned piece of memory). Elilo already knows how to find memory, as long as you either use the "relocatable" keyword in elilo.conf, or the "-r" command-line option to let it know that it is OK to relocate. Using this elilo option means that the changes I provided for vmlinux.ld.S can be very slightly simplified, it isn't necessary to define BASE_KVADDR as "KERNEL_START + KERNEL_TR_PAGE_SIZE", you can just use: #define BASE_KVADDR KERNEL_START -TonyReceived on Wed Oct 16 13:14:54 2002
This archive was generated by hypermail 2.1.8 : 2005-08-02 09:20:10 EST