Subject: Re: Mapping uncached memory to user space
To: None <port-mips@netbsd.org>
From: Saravana Prasad <saravanaprasads@yahoo.co.in>
List: port-mips
Date: 12/14/2007 22:42:13
Hi,=0A=0A    Never mind. After reading the pmap code little bit more, it lo=
oks like what I wanted is provided by default for unmanaged memory space.=
=0A=0ARegards,=0ASaravana=0A=0A----- Original Message ----=0AFrom: Saravana=
 Prasad <saravanaprasads@yahoo.co.in>=0ATo: port-mips@netbsd.org=0ASent: Th=
ursday, 13 December, 2007 8:03:05 PM=0ASubject: Mapping uncached memory to =
user space=0A=0AHi,=0A=0A  I need a mechanism to map a register space of a=
=0Adevice to user process which controls the device in=0Aquestion.=0A=0A   =
 I was thinking about writing a simple device=0Adriver to map the required =
space to the process using=0Ammap system call.=0A=0A    One question I have=
 in this regard is, how to make=0Athe resultant memory access from user pro=
cess=0Aun-cached. If I'm not wrong, the PTE used for mapping=0Ashould carry=
 this information. How this can be=0Aaccomplished? Any pointers will be hel=
pful. The=0Aprocessor in question is MIPS 24Kc (mips32 compliant).=0A=0AReg=
ards,=0ASaravana=0A=0A=0A=0A      5, 50, 500, 5000 - Store N number of mail=
s in your inbox. Go to http://help.yahoo.com/l/in/yahoo/mail/yahoomail/tool=
s/tools-08.html=0A=0A=0A      Why delete messages? Unlimited storage is jus=
t a click away. Go to http://help.yahoo.com/l/in/yahoo/mail/yahoomail/tools=
/tools-08.html