Hi! You can use add_wired_entry(unsigned long entrylo0, unsigned long
entrylo1, unsigned long entryhi, unsigned long pagemask);
for more information you can check include/asm-mips/pgtable.h
From: "Joseph Chiu" <email@example.com>
To: "Linux-MIPS" <firstname.lastname@example.org>
Subject: wired tlb entry?
Date: Mon, 16 Jun 2003 17:36:58 -0700
Is there a (proper) way to add a page entry in the TLB it's always valid?
Specifically, accesses to memory-mapped hardware (PCMCIA) causes the
to oops under heavy interrupt loading.
It seems to me that the page entry in the TLB is getting flushed out under
the activity; and when the ioremap'd memory region is accesses, the
exception handling for the missing translation does not run.
I'm afraid my two days of googling hasn't turned up the right information.
I think I just don't know the right terminology and I hope someone can at
least point me in the right direction.
(I am running 2.4.18-mips)
Joseph Chiu, Senior Engineer, Omnilux, Inc.
email@example.com (626) 535-2819
The sun will come up tomorrow. Bet your bottom dollar that tomorrow,
things'll be back.
享用世界上最大的电子邮件系统― MSN Hotmail。 http://www.hotmail.com