1 |
Daniel Drake wrote: |
2 |
> Nicolas Sebrecht wrote: |
3 |
>> Does someone knows a good general (and free) documentation where to |
4 |
>> start ? |
5 |
> |
6 |
> For working with the internals, specifically driver-side stuff and the |
7 |
> mechanisms you need to write drivers, this book is really good (and |
8 |
> free): |
9 |
> http://lwn.net/Kernel/LDD3/ |
10 |
> |
11 |
> I'm also fond of this book which complements LDD3 nicely (it talks |
12 |
> about the scheduler, memory management, and a lot of other non-driver |
13 |
> stuff which LDD3 purposefully omits): |
14 |
> http://rlove.org/ |
15 |
> It's not free though. |
16 |
> |
17 |
> Daniel |
18 |
> |
19 |
|
20 |
After reading/skimming "essentials" and "kernel drivers", my favourite |
21 |
way is to use Code::Blocks, make an empty project and then recursively |
22 |
import all the kernel sources into it. |
23 |
It is big pile of source and import takes a few minutes, but being able |
24 |
to browse, search and jump effotlessly through the tree more than makes |
25 |
it wortwhile. |
26 |
|
27 |
Caveat: C::B will crash during the import phase if during that time |
28 |
there is other program that significantly loads CPUs or if user |
29 |
generates gtk events by clicking on the program window. |
30 |
I suspect the cause for this in wxGTK, but haven't been able to pinpoint |
31 |
it. It's good enough for me at this time... |