1 |
The book Linux Device Drivers is my favorite reference for this type of |
2 |
question. You can purchase it from anyone who has OReilly books, or |
3 |
download it since it is published under Creative Commons. The newest |
4 |
version is 3rd ed. |
5 |
|
6 |
Austin Morgan |
7 |
|
8 |
|
9 |
-----Original Message----- |
10 |
From: gentoo-embedded+bounces-1145-AUSTIN.D.MORGAN=saic.com@g.o on |
11 |
behalf of andreas.sumper@×××××××××.at |
12 |
Sent: Tue 8/22/2006 8:37 AM |
13 |
To: gentoo-embedded@l.g.o |
14 |
Subject: [gentoo-embedded] writing device drivers howto |
15 |
|
16 |
Hi list! |
17 |
|
18 |
This is some sort of offtopic, but I guess this is the best point to ask. |
19 |
I have an embedded system running linux. I need to access some special |
20 |
registers (e.g. containing the clock cycles, ...) So I managed to write a |
21 |
very simple module, which is able to access the registers. But what makes |
22 |
me worrying now, is the way, I have to get the data into my user-space |
23 |
application. Is there some documentation, concerning writing device |
24 |
drivers and accessing them from the user space anywhere? I found some |
25 |
documentation, but either I did not understand the part about getting data |
26 |
from kernel space into user space, or it was just simply missing. |
27 |
|
28 |
Maybe anyone here can help me out! |
29 |
|
30 |
Thanks in advance and kind regards! |
31 |
|
32 |
Bye, |
33 |
Andy |
34 |
|
35 |
-- |
36 |
gentoo-embedded@g.o mailing list |