From: Alan Au <alanau@cse.unsw.EDU.AU>
To: linux-ia64@vger.kernel.org
Subject: [Linux-ia64] arch/ia64/boot/bootloader.c
Date: Thu, 10 Aug 2000 03:12:48 +0000 [thread overview]
Message-ID: <marc-linux-ia64-105590678205302@msgid-missing> (raw)
Can someone please tell me what the first itr mapping (the 1M page in
region 0) is for? Thanks.
/*
* Install a translation register that identity maps the
* kernel's 256MB page.
*/
ia64_clear_ic(flags);
ia64_set_rr( 0, (0x1000 << 8) | (_PAGE_SIZE_1M << 2));
ia64_set_rr(PAGE_OFFSET, (ia64_rid(0, PAGE_OFFSET) << 8) |
(_PAGE_SIZE_256M << 2));
ia64_srlz_d();
ia64_itr(0x3, 0, 1024*1024,
pte_val(mk_pte_phys(1024*1024,
__pgprot(__DIRTY_BITS|_PAGE_PL_0|_PAGE_AR_RWX))),
_PAGE_SIZE_1M);
ia64_itr(0x3, 1, PAGE_OFFSET,
pte_val(mk_pte_phys(0,
__pgprot(__DIRTY_BITS|_PAGE_PL_0|_PAGE_AR_RWX))),
_PAGE_SIZE_256M);
Alan
__________
alanau@cse.unsw.edu.au
School of Computer Science and Engineering
University of New South Wales
next reply other threads:[~2000-08-10 3:12 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2000-08-10 3:12 Alan Au [this message]
2000-08-10 4:12 ` [Linux-ia64] arch/ia64/boot/bootloader.c David Mosberger
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=marc-linux-ia64-105590678205302@msgid-missing \
--to=alanau@cse.unsw.edu.au \
--cc=linux-ia64@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