From: Pete Popov <ppopov@mvista.com>
To: Richard Hodges <rh@matriplex.com>
Cc: linux-mips <linux-mips@oss.sgi.com>
Subject: Re: Arguments for kernel_entry?
Date: 05 Nov 2001 17:21:17 -0800 [thread overview]
Message-ID: <1005009677.27128.300.camel@zeus> (raw)
In-Reply-To: <Pine.BSF.4.10.10111051659510.600-100000@mail.matriplex.com>
On Mon, 2001-11-05 at 17:09, Richard Hodges wrote:
> Would anyone be able to provide information on the arguments
> to kernel_entry (in head.S)?
>
> The first two look pretty straightforward, argument count and
> string vectors. I assume that argument zero is actually the
> first argument, and not "vmlinux"?
>
> What are the third (ulong) and fourth (int *) arguments? I have
> read head.S and searched for days trying to find this info :-(
>
> I thought PMON would be a decent reference, but run_target() only
> seems to set $4 and $5, before calling _go().
That's boot code specific. MIPS Tech's yamon passes:
0: number of arguments
1: pointer to first arg
2: pointer to environment variables
3: pointer to prom routines you can call
Pete
next prev parent reply other threads:[~2001-11-06 1:21 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2001-11-06 1:09 Arguments for kernel_entry? Richard Hodges
2001-11-06 1:21 ` Pete Popov [this message]
2001-11-06 1:44 ` Richard Hodges
2001-11-06 2:07 ` Pete Popov
2001-11-06 21:58 ` _MIPS_SIM and others not defined by specs file warning Wayne Gowcher
2001-11-06 21:58 ` Wayne Gowcher
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=1005009677.27128.300.camel@zeus \
--to=ppopov@mvista.com \
--cc=linux-mips@oss.sgi.com \
--cc=rh@matriplex.com \
/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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.