Typo in arch/ppc/kernel/head.S?

Benjamin Herrenschmidt benh at kernel.crashing.org
Sat Dec 17 11:43:26 EST 2005


On Fri, 2005-12-16 at 01:35 -0600, Andrei Warkentin wrote:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
> 
> 
> Hello,
> 
> I was looking at head.S under arch/ppc/kernel and it seems the  
> comment above ".globl __start" is slightly off. Under
> the PMAC section it mentions that .text/.data/.bss are loaded @ 0x0,  
> while they could be pretty much loaded anywhere but 0x0, with OF
> exception vectors being there. Am I understanding this correctly?

The comment is pre-historical :) The zImage used to put the kernel at 0
and BootX puts it there too, but the former has been changed. The kernel
can indeed be loaded pretty much anywhere.

Ben.





More information about the Linuxppc-dev mailing list