login
Header Space

 
 

pci mem

September 9, 2008 - 10:05am

pci device memory by definition has no hardcodeable address. it may have worked by chance (because hardware and setup code never changed) but this simplistic approach is not supported in linux. you can get a base address from the kernel and add your constant offsets, of course, this way you only have to split your absolute addresses into base address and offset. this book http://lwn.net/Kernel/LDD3/ may be what you need, or have a real look at the UIO interface.

Reply

The content of this field is kept private and will not be shown publicly.
  • Allowed HTML tags: <a> <em> <strong> <cite> <code> <ul> <ol> <li> <dl> <dt> <dd> <b> <quote> <pre> <hr> <br> <p> <img> <blockquote> <font> <tt> <table> <tr> <i>
  • Lines and paragraphs break automatically.
  • Web page addresses and e-mail addresses turn into links automatically.

More information about formatting options

speck-geostationary