From: ebiederm@xmission.com (Eric W. Biederman)
To: amey d inamdar <iamey@rediffmail.com>
Cc: linux-mm@kvack.org
Subject: Re: -__PAGE_OFFSET
Date: 20 Sep 2001 02:54:10 -0600 [thread overview]
Message-ID: <m1wv2udyz1.fsf@frodo.biederman.org> (raw)
In-Reply-To: <20010920065444.10415.qmail@mailweb13.rediffmail.com>
"amey d inamdar" <iamey@rediffmail.com> writes:
> Hello everybody,
> While running through source of 2.4 kernel, in head.S, I found the
> line
> 86 : movl $pg0-__PAGE_OFFSET,%edi
>
> I am not getting, at this point there is no virtual address & $pg0
> itself contains physical address of first page table, then why to
> subtract 3GB from the physical address?
The linker doesn't know the page tables haven't been setup yet.
Look at the addresses in System.map.
> Thanx in anticipation.
Welcome.
Eric
--
To unsubscribe, send a message with 'unsubscribe linux-mm' in
the body to majordomo@kvack.org. For more info on Linux MM,
see: http://www.linux-mm.org/
prev parent reply other threads:[~2001-09-20 8:54 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2001-09-20 6:54 -__PAGE_OFFSET amey d inamdar
2001-09-20 8:54 ` Eric W. Biederman [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=m1wv2udyz1.fsf@frodo.biederman.org \
--to=ebiederm@xmission.com \
--cc=iamey@rediffmail.com \
--cc=linux-mm@kvack.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