From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from lists.gentoo.org ([140.105.134.102] helo=robin.gentoo.org) by nuthatch.gentoo.org with esmtp (Exim 4.60) (envelope-from ) id 1GFWSk-0004Ke-K0 for garchives@archives.gentoo.org; Tue, 22 Aug 2006 13:38:39 +0000 Received: from robin.gentoo.org (localhost [127.0.0.1]) by robin.gentoo.org (8.13.7/8.13.6) with SMTP id k7MDbiFN020882; Tue, 22 Aug 2006 13:37:44 GMT Received: from tooltime.intern.cnsystems.at (83-64-209-250.eggenberg.xdsl-line.inode.at [83.64.209.250]) by robin.gentoo.org (8.13.7/8.13.6) with ESMTP id k7MDbg6L021186 for ; Tue, 22 Aug 2006 13:37:43 GMT To: gentoo-embedded@lists.gentoo.org Subject: [gentoo-embedded] writing device drivers howto Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-embedded@gentoo.org Reply-to: gentoo-embedded@lists.gentoo.org MIME-Version: 1.0 X-Mailer: Lotus Notes Release 6.5.4 March 27, 2005 Message-ID: From: andreas.sumper@cnsystems.at Date: Tue, 22 Aug 2006 15:37:39 +0200 X-MIMETrack: Serialize by Router on tooltime.intern.cnsystems.at/CNSystems(Release 6.5.4|March 27, 2005) at 2006.08.22 03:37:41 PM, Serialize complete at 2006.08.22 03:37:41 PM Content-Type: multipart/alternative; boundary="=_alternative 004ADC7BC12571D2_=" X-Archives-Salt: 9767fab8-ddd4-438c-b28a-fa03e868ce19 X-Archives-Hash: d54bd2dd3d79293e0bab5ebb5d2d3400 Dies ist eine mehrteilige Nachricht im MIME-Format. --=_alternative 004ADC7BC12571D2_= Content-Type: text/plain; charset="US-ASCII" Hi list! This is some sort of offtopic, but I guess this is the best point to ask. I have an embedded system running linux. I need to access some special registers (e.g. containing the clock cycles, ...) So I managed to write a very simple module, which is able to access the registers. But what makes me worrying now, is the way, I have to get the data into my user-space application. Is there some documentation, concerning writing device drivers and accessing them from the user space anywhere? I found some documentation, but either I did not understand the part about getting data from kernel space into user space, or it was just simply missing. Maybe anyone here can help me out! Thanks in advance and kind regards! Bye, Andy --=_alternative 004ADC7BC12571D2_= Content-Type: text/html; charset="US-ASCII"
Hi list!

This is some sort of offtopic, but I guess this is the best point to ask.
I have an embedded system running linux. I need to access some special registers (e.g. containing the clock cycles, ...) So I managed to write a very simple module, which is able to access the registers. But what makes me worrying now, is the way, I have to get the data into my user-space application. Is there some documentation, concerning writing device drivers and accessing them from the user space anywhere? I found some documentation, but either I did not understand the part about getting data from kernel space into user space, or it was just simply missing.

Maybe anyone here can help me out!

Thanks in advance and kind regards!

Bye,
Andy --=_alternative 004ADC7BC12571D2_=-- -- gentoo-embedded@gentoo.org mailing list