Performa 5200

Geert Uytterhoeven Geert.Uytterhoeven at
Thu Aug 26 18:01:21 EST 1999

On Wed, 25 Aug 1999, Benjamin Herrenschmidt wrote:
> BootX will load the kernel in the first contiguous region in memory it
> can find, but that means that we have to copy the exception vectors to 0,
> adjust them so they call correctly the kernel routines in the real base
> of the kernel (which will not be 0 on some machines), and we'll have
> virt_to_phys and co be non-constant. I read an interesting suggestion
> some time ago of reserving a register during kernel compile with gcc and
> using this register to store the real base of the kernel. Modules will
> not be compatible, but that's not a real issue for now.
> I don't know how the APUS code works, but I heard it is similar.

The latest APUS patches use a fixup section and code to adjust KERNELBASE after
boot up.



Geert Uytterhoeven                     Geert.Uytterhoeven at
Wavelets, Linux/{m68k~Amiga,PPC~CHRP}
Department of Computer Science -- Katholieke Universiteit Leuven -- Belgium

[[ This message was sent via the linuxppc-dev mailing list.  Replies are ]]
[[ not  forced  back  to the list, so be sure to Cc linuxppc-dev if your ]]
[[ reply is of general interest. Please check ]]
[[ and for useful information before posting.   ]]

More information about the Linuxppc-dev mailing list