* Typo in arch/ppc/kernel/head.S?
@ 2005-12-16 7:35 Andrei Warkentin
2005-12-17 0:43 ` Benjamin Herrenschmidt
0 siblings, 1 reply; 2+ messages in thread
From: Andrei Warkentin @ 2005-12-16 7:35 UTC (permalink / raw)
To: linuxppc-dev
-----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-----
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: Typo in arch/ppc/kernel/head.S?
2005-12-16 7:35 Typo in arch/ppc/kernel/head.S? Andrei Warkentin
@ 2005-12-17 0:43 ` Benjamin Herrenschmidt
0 siblings, 0 replies; 2+ messages in thread
From: Benjamin Herrenschmidt @ 2005-12-17 0:43 UTC (permalink / raw)
To: Andrei Warkentin; +Cc: linuxppc-dev
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.
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2005-12-17 0:48 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-12-16 7:35 Typo in arch/ppc/kernel/head.S? Andrei Warkentin
2005-12-17 0:43 ` Benjamin Herrenschmidt
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).