A practical introduction to Linux Device Drivers

Loadable kernel modules and statically linked modules

Comparison between statically linked modules and loadable kernel modules

  • They are linked to the kernel images
  • They are loaded as part of the kernel during boot time, so there is no need to access them via some root file system
  • For implementing any changes to statically linked modules, one needs to edit, recompile the kernel and afterwards reboot to load the new Linux Kernel
  • They utilize by convention the suffix .ko which stands for “kernel object”
  • The Loadable Kernel Modules consist of files in the file system with the extension .ko …


Set up the environment

  • operating system information (macOS)


Set up the necessary environment

On the Development machine (host)

  • operating system (Windows OS)


Set up the environment

  • operating system information (Windows OS)


Set up the necessary environment

  • operating system information (Windows OS)


Set up the necessary environment

  • operating system information (Windows OS)


Set up the necessary environment

  • Operating System information


Introduction


I used this environment for these demonstrations

Operating System information


George Calin

10+ years of experience in a blend of mentoring, programming, business intelligence, people and logistics management :: https://www.linkedin.com/in/cgeorge1978/

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store