public inbox for linux-ia64@vger.kernel.org
 help / color / mirror / Atom feed
* [Linux-ia64] arch/ia64/boot/bootloader.c
@ 2000-08-10  3:12 Alan Au
  2000-08-10  4:12 ` David Mosberger
  0 siblings, 1 reply; 2+ messages in thread
From: Alan Au @ 2000-08-10  3:12 UTC (permalink / raw)
  To: linux-ia64

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




^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2000-08-10  4:12 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2000-08-10  3:12 [Linux-ia64] arch/ia64/boot/bootloader.c Alan Au
2000-08-10  4:12 ` David Mosberger

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox