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

2 messages, 2 authors, 2005-12-17 · open the first message on its own page

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

From: Andrei Warkentin <hidden>
Date: 2005-12-16 07:35:59

-----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?

Thanks and have a good day.
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.4 (Darwin)

iD8DBQFDom5cY/rXIPQviuERAslLAJ47nV8Qo+UlzulU0VxuBdIdqEX4bQCeKB/e
ix1RS2t/M0tbqrO/3qZqDEA=
=RlQu
-----END PGP SIGNATURE-----

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

From: Benjamin Herrenschmidt <benh@kernel.crashing.org>
Date: 2005-12-17 00:48:07

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.
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help