How to access PCI memory mapped location from user space?
From: Mark Linn (mark.linn_at_gmail.com)
Date: 09/24/05
- Next message: JosephKK: "Re: defrag on linux system"
- Previous message: Peter T. Breuer: "Re: Analogue of Windows I/O completion ports on Linux?"
- Next in thread: Ulrich Eckhardt: "Re: How to access PCI memory mapped location from user space?"
- Reply: Ulrich Eckhardt: "Re: How to access PCI memory mapped location from user space?"
- Reply: John Fusco: "Re: How to access PCI memory mapped location from user space?"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: 24 Sep 2005 14:52:41 -0700
Hi,
I am relatively new to linux user space programming. I have a PCI
device which has memory mapped register sets. The driver works fine on
an intel Pentium M. I can access the registers in the driver through
PCI BAR0. Now I am writing a user space diagnostic program for the PCI
device, I can access the PCI BAR0 value, how can I convert it into user
space virtual address so that I can read the registers from the user
space?
Your advice and help is greatly appreciated !!
thanks
Mark
- Next message: JosephKK: "Re: defrag on linux system"
- Previous message: Peter T. Breuer: "Re: Analogue of Windows I/O completion ports on Linux?"
- Next in thread: Ulrich Eckhardt: "Re: How to access PCI memory mapped location from user space?"
- Reply: Ulrich Eckhardt: "Re: How to access PCI memory mapped location from user space?"
- Reply: John Fusco: "Re: How to access PCI memory mapped location from user space?"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|