From: Alex Kuleshov <kuleshovmail@gmail.com>
To: linux-kernel@vger.kernel.org
Subject: [x86_64] Question about early page tables initialization
Date: Tue, 03 Feb 2015 18:25:32 +0600 [thread overview]
Message-ID: <87egq7dvwj.fsf@gmail.com> (raw)
Hello All,
I have a question about page tables initialization in the
arch/x86/boot/compressed/head_64.S
After we clear memory for page tables, there is code which
build PML4:
leal pgtable + 0(%ebx), %edi
leal 0x1007(%edi), %eax
movl %eax, 0(%edi)
Why there is offset 0x1007 instead just 0x7? 0x1007 is
4k + 7bit (PML4E) flags as i understand correctly. But
why we skip first 4k here?
Thank you.
next reply other threads:[~2015-02-03 12:25 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-02-03 12:25 Alex Kuleshov [this message]
2015-02-03 12:42 ` [x86_64] Question about early page tables initialization Oren Twaig
2015-02-03 13:00 ` Alexander Kuleshov
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=87egq7dvwj.fsf@gmail.com \
--to=kuleshovmail@gmail.com \
--cc=linux-kernel@vger.kernel.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