From: Jon Masters <jonmasters@gmail.com>
To: Tom Rini <trini@kernel.crashing.org>
Cc: "Dave B. Sharp" <daveb_sharp@yahoo.ca>,
kernelnewbies@nl.linux.org, linux-kernel@vger.kernel.org
Subject: Re: ppc boot entry point
Date: Mon, 3 Oct 2005 20:40:17 +0100 [thread overview]
Message-ID: <35fb2e590510031240t27147ea9w8437be0c29341c2d@mail.gmail.com> (raw)
In-Reply-To: <20051003172241.GB6735@smtp.west.cox.net>
On 10/3/05, Tom Rini <trini@kernel.crashing.org> wrote:
> On Mon, Oct 03, 2005 at 11:35:27AM -0400, Dave B. Sharp wrote:
>
> > Hey there,
> > Can anyone tell me how to find te entry point (i.e.
> > address) into the kernel, when control is passed from
> > the boot loader?
> > Where are the arguements such as the boot parameters.
> > I am compiling for a generic ppc kernel at this point.
> This is PowerPC specific stuff.
Yes, it is. In addition to your comments, Tom, it's worth looking in
the corresponding head.S, head_4xx.S or whatever files to see that the
kernel is called much like a regular function with arguments in
registers r3 upwards. You'll find most of what you want to know by
going through from early_init onwards.
Jon.
prev parent reply other threads:[~2005-10-03 19:40 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2005-10-03 15:35 Dave B. Sharp
2005-10-03 16:46 ` linux-os (Dick Johnson)
2005-10-03 17:22 ` Tom Rini
2005-10-03 19:40 ` Jon Masters [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=35fb2e590510031240t27147ea9w8437be0c29341c2d@mail.gmail.com \
--to=jonmasters@gmail.com \
--cc=daveb_sharp@yahoo.ca \
--cc=jonathan@jonmasters.org \
--cc=kernelnewbies@nl.linux.org \
--cc=linux-kernel@vger.kernel.org \
--cc=trini@kernel.crashing.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®