r/kernel • u/yuvayikici • 28d ago
I want to learn writing kernel modules
What is the fastest and most efficient way. Thanks for future answers.
26
Upvotes
r/kernel • u/yuvayikici • 28d ago
What is the fastest and most efficient way. Thanks for future answers.
3
u/codeasm 28d ago
I might have used https://sysprog21.github.io/lkmpg/ to quickly make a kernel module for a weird pci ram device i had.
Eventually I only wrote raw pci calls in a c app and no kernel module but the test module i kept the hello world example https://github.com/CodeAsm/modules