| To: | <linux-mips@linux-mips.org> |
|---|---|
| Subject: | How can I access h/w registers in user space? |
| From: | "Ardelean, Andrei" <Andrei.Ardelean@idt.com> |
| Date: | Mon, 18 Apr 2011 08:41:48 -0700 |
| Original-recipient: | rfc822;linux-mips@linux-mips.org |
| Sender: | linux-mips-bounce@linux-mips.org |
| Thread-index: | Acv93yESpVtD7h5CTqqtT7JP0JzO/A== |
| Thread-topic: | How can I access h/w registers in user space? |
Hi, 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? 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. Thanks, Andrei |
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| ||
| Previous by Date: | [PATCH] MIPS: Squash pci_fixup_irqs() compiler warning, Kevin Cernekee |
|---|---|
| Next by Date: | Re: How can I access h/w registers in user space?, Manuel Lauss |
| Previous by Thread: | [PATCH] MIPS: Squash pci_fixup_irqs() compiler warning, Kevin Cernekee |
| Next by Thread: | Re: How can I access h/w registers in user space?, Manuel Lauss |
| Indexes: | [Date] [Thread] [Top] [All Lists] |