linux-mips
[Top] [All Lists]

RE: CP0 EntryLo

To: Gilad Rom <gilad@romat.com>
Subject: RE: CP0 EntryLo
From: "Maciej W. Rozycki" <macro@linux-mips.org>
Date: Tue, 30 Nov 2004 16:37:40 +0000 (GMT)
Cc: "'Dominic Sweetman'" <dom@mips.com>, linux-mips@linux-mips.org
In-reply-to: <20041130162659.BA5FAEB2A9@mail.romat.com>
Original-recipient: rfc822;linux-mips@linux-mips.org
References: <20041130162659.BA5FAEB2A9@mail.romat.com>
Sender: linux-mips-bounce@linux-mips.org
On Tue, 30 Nov 2004, Gilad Rom wrote:

> So, what I need to do, if I understand correctly, is to create a fixed
> mapping
> >From a virtual address to a physical address on the tlb, and use this
> Virtual address to change the values of EntryLo to 0xD in order to 
> Access the device on the address range I mapped Chip-select 1 to?
> 
> (Excuse my poor phrasing, I've been googling all day...)
> 
> Any idea on how I might accomplish that from a driver?
> I've found a function called add_wired_entry(...), is this
> What I should be using?

 ioremap()

  Maciej

<Prev in Thread] Current Thread [Next in Thread>