On Mon, Apr 18, 2011 at 5:41 PM, Ardelean, Andrei <Andrei.Ardelean@xxxxxxx> wrote: > 1. My video processor has many h/w registers mapped in MIPS CPU physical > memory space. Do I have in Linux MIPS something like iopl() to allow me > to access h/w registers in user space? Is it anything similar available? I believe iopl() is a x86-specific hack. > 2. I studied mmap() solution but what I found unpleased is that I need > to malloc() space in user space equal to the IO memory space I want to > access which it is quite lot and it takes from system DDR RAM available > I have here. What I need is just to access a physical space which I know > that is mapped on internal registers. I usually open /dev/mem then simply mmap() the base of the physical area I'm interested in. Hope that helps! Manuel Lauss