linux-mips
[Top] [All Lists]

how to use TLB to prevent Linux accessing a particular memory region

To: "linux-kernel.org" <linux-kernel@vger.kernel.org>, linux-mips <linux-mips@linux-mips.org>
Subject: how to use TLB to prevent Linux accessing a particular memory region
From: veerasena reddy <veerasena_b@yahoo.co.in>
Date: Tue, 16 Oct 2007 14:36:19 +0100 (BST)
Domainkey-signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.co.in; h=X-YMail-OSG:Received:Date:From:Subject:To:MIME-Version:Content-Type:Content-Transfer-Encoding:Message-ID; b=W5LZ0qUTvjlay2asfiWZTidrn4J266Mjir6ws3WH60QXjLbPy4wV3ZI4gJ6wlGMCd8uf0OQiXXGJy+quyAlmTeGr6Jzn41Kt5e0pdI/1Z37wImdgRr9U2nlbG13+u4kOLqzduMGgeaSj6BlGEkOhkPbBhoozcgIJAcCgMj5x6zo=;
Original-recipient: rfc822;linux-mips@linux-mips.org
Sender: linux-mips-bounce@linux-mips.org
Hi,

I have a board, which has two processors ( one is MIPS
on which Linux-2.6.18 kernel runs and another is DSP
based processor) and 32MB DDR.

Out of 32MB of DDR 8MB is reserved for use by DSP
processor. But the MIPS processor downloads firmware
into this reserved memory for the DSP.

Now, is it possible to use the TLB to prevent Linux
from accessing the reserved memory after the firmware
has been downloaded?

Also we'd need to remove those TLB entries if the
firmware would ever need to be reloaded to the DSP'
memory region.

What are the APIs to be used to achieve the above?


Thanks in advance.

Regards,
Veerasena.


      5, 50, 500, 5000 - Store N number of mails in your inbox. Go to 
http://help.yahoo.com/l/in/yahoo/mail/yahoomail/tools/tools-08.html

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