From: krinkin.m.u@gmail.com (Mike Krinkin)
To: kernelnewbies@lists.kernelnewbies.org
Subject: 回复:Re: some question about arch/x86/kernel/head_64.S
Date: Wed, 30 Dec 2015 15:25:22 +0300 [thread overview]
Message-ID: <20151230122522.GA23107@kmu-tp-x230> (raw)
In-Reply-To: <6BCA542E-9EF7-475B-AEFD-67CAE35344DF@gmail.com>
On Wed, Dec 30, 2015 at 08:04:19PM +0800, hitmoon wrote:
> Thank you mike!
> so ?after the first instruction ?rbp contains the offset of actually loaded
> address, which equals the physical address.
yes, comment above says that at that point "someone has loaded an identity
mapped page table", so it should be equal to the physical address.
> $_text - __START_KERNEL_map contains the expected physical address .
> Right ?
yes, as far as i can tell.
next prev parent reply other threads:[~2015-12-30 12:25 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-12-30 10:45 some question about arch/x86/kernel/head_64.S xiaoqiang zhao
[not found] ` <20151230113540.GA21821@kmu-tp-x230>
2015-12-30 12:04 ` 回复:Re: " hitmoon
2015-12-30 12:25 ` Mike Krinkin [this message]
2015-12-30 21:12 ` 回复:Re: " hitmoon
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=20151230122522.GA23107@kmu-tp-x230 \
--to=krinkin.m.u@gmail.com \
--cc=kernelnewbies@lists.kernelnewbies.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;
as well as URLs for NNTP newsgroup(s).