Re:Linux Kernel Module Programming Guide
by XzAeRosho on Monday August 23, 2021 @09:10PM
(#28284048)
Expanding on this reply, you can think of Kernel Modules as Windows drivers. Most of the time they are meant to be used as an interface on which you can communicate from the OS with an underlying device more easily .
[ Parent
| on HN ]
Re:Linux Kernel Module Programming Guide
by SilverRed on Monday August 23, 2021 @09:16PM
(#28284072)
And usually they are paired with a user space tool for even easier interaction. Ideally the driver should expose literally every function and possible action and then the userspace tool has the job of simplifying that down and not supporting very unusual or complicated setups.
You could think of the userspace side as the gui you get with gpu drivers which interacts with a separate kernel space side