From: "Siva Prasad" <sprasad@bivio.net>
To: <linuxppc-dev@ozlabs.org>, <linuxppc-embedded@ozlabs.org>
Subject: ramdisk - how does the initial programs execute
Date: Thu, 19 Apr 2007 14:58:09 -0700 [thread overview]
Message-ID: <D83235F0F3C86D4D889D8B9A0DA8C6D762C64B@corpexc01.corp.networkrobots.com> (raw)
Hi,
I am interested in knowing how the initial programs like "/init" works
when using the ramdisk (or any other file system for that matter).
Especially, when it starts do execve for an init program, I am more
interested in how the bss_start and bss_end is identified, and more
importantly how __clear_user with addresses in range of 0x0FFXXXXX work,
even when all the memory is mapped at 0xC0000000. Shouldn't __clear_user
throw an exception, as there is no BAT that can identify the effective
address it is trying to clear?
* How does stwu instruction (of __clear_user) successfully stores 0x0
into that address.
* Since it is a user level program, how come its address falls into
0x0FFXXXXX?. Should it be loaded dynamically at any address that is
given by kernel (> 0xC0000000)?
Thanks
Siva
reply other threads:[~2007-04-19 21:58 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
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=D83235F0F3C86D4D889D8B9A0DA8C6D762C64B@corpexc01.corp.networkrobots.com \
--to=sprasad@bivio.net \
--cc=linuxppc-dev@ozlabs.org \
--cc=linuxppc-embedded@ozlabs.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