LWN.net Logo

Who needs /dev/kmem?

Who needs /dev/kmem?

Posted Nov 8, 2010 10:49 UTC (Mon) by jum (guest, #71087)
In reply to: Who needs /dev/kmem? by mobiphil
Parent article: Who needs /dev/kmem?

I've made use of /dev/kmem on UNIX systems in test programs to access external device address regions on boards developed by our hardware department. Thus I don't have to rely on same basic capacities of the board the device driver has to check.

I wanted to use that feature on Linux for some self made evaluation boards with PCIe connection before I start writing a device driver. However it seems that I cannot access device address regions that way with /dev/kmem.

In brief: I've never used /dev/kmem to r/w main memory on any OS.


(Log in to post comments)

Copyright © 2013, Eklektix, Inc.
Comments and public postings are copyrighted by their creators.
Linux is a registered trademark of Linus Torvalds