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

2007-10-19 Thread Jim Brooks
> 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? Well, even if y

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

2007-10-16 Thread linux-os (Dick Johnson)
On Tue, 16 Oct 2007, veerasena reddy wrote: > 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

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

2007-10-16 Thread J. Scott Kasten
Really, it sounds more like you want a custom driver that "owns" that region of memory so it's marked as used and this driver is the gate keeper. I wonder if the console frame buffer driver for the mips ip32 arch might be a good example for you as it swallows a several meg chunk of memory fo