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 1GFWlI-0004to-5q for garchives@archives.gentoo.org; Tue, 22 Aug 2006 13:57:48 +0000 Received: from robin.gentoo.org (localhost [127.0.0.1]) by robin.gentoo.org (8.13.7/8.13.6) with SMTP id k7MDuuYY021325; Tue, 22 Aug 2006 13:56:56 GMT Received: from cpmx2.mail.saic.com (cpmx2.mail.saic.com [139.121.17.172]) by robin.gentoo.org (8.13.7/8.13.6) with ESMTP id k7MDusTu005169 for ; Tue, 22 Aug 2006 13:56:55 GMT Received: from 0599-its-ieg02.mail.saic.com ([139.121.18.36] [139.121.18.36]) by cpmx2.mail.saic.com for gentoo-embedded@lists.gentoo.org; Tue, 22 Aug 2006 06:56:43 -0700 Received: from cp-its-exig01.mail.saic.com ([139.121.18.36]) by 0599-its-ieg02.mail.saic.com (SMSSMTP 4.0.5.66) with SMTP id M2006082207025831580 for ; Tue, 22 Aug 2006 07:02:58 -0700 Received: by cp-its-exig01.mail.saic.com with Internet Mail Service (5.5.2657.72) id ; Tue, 22 Aug 2006 06:56:43 -0700 Message-Id: From: "Morgan, Austin D." To: gentoo-embedded@lists.gentoo.org Subject: RE: [gentoo-embedded] writing device drivers howto Date: Tue, 22 Aug 2006 06:54:21 -0700 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: Internet Mail Service (5.5.2657.72) x-originalarrivaltime: 22 Aug 2006 13:56:42.0551 (UTC) FILETIME=[CC365C70:01C6C5F2] content-class: urn:content-classes:message x-mimeole: Produced By Microsoft Exchange V6.5.7226.0 Content-Type: text/plain; charset="iso-8859-1" Sender: AUSTIN.D.MORGAN@saic.com X-Archives-Salt: e71ec33c-b880-49e4-9ba2-abf557d0af12 X-Archives-Hash: 815de6905f34f2f95c6a67ee834511b8 The book Linux Device Drivers is my favorite reference for this type of question. You can purchase it from anyone who has OReilly books, or download it since it is published under Creative Commons. The newest version is 3rd ed. Austin Morgan -----Original Message----- From: gentoo-embedded+bounces-1145-AUSTIN.D.MORGAN=saic.com@gentoo.org on behalf of andreas.sumper@cnsystems.at Sent: Tue 8/22/2006 8:37 AM To: gentoo-embedded@lists.gentoo.org Subject: [gentoo-embedded] writing device drivers howto 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 -- gentoo-embedded@gentoo.org mailing list