Skip to content

A deep dive into the interrupt handling mechanisms within the Linux kernel. Explore how different devices, from keyboards to Ethernet ports, trigger and process interrupts. Complete with hands-on examples and real-world use cases.

License

Notifications You must be signed in to change notification settings

ANSANJAY/InterruptHandlinginKernel

Repository files navigation

Interrupt Handling in the Linux Kernel ⚡🐧

Welcome to a comprehensive guide focusing on interrupt handling in the Linux kernel. Delve into detailed notes, real-world examples, and hands-on programming tasks!

Table of Contents 📑

  1. Introduction to Interrupt Handling
  2. Probing /proc/interrupts
  3. Watching Interrupts in Real-time
  4. PCI Interrupts
  5. Writing Interrupt Handlers
  6. Keyboard and Mouse Interrupts
  7. Ethernet Interrupts
  8. Keylogger Drivers
  9. Sysfs based Keylogger

Introduction to Interrupt Handling 🌟

Explore the foundational principles of interrupts within the Linux kernel in 12_InterruptHandling/notes.md.

Probing /proc/interrupts 📊

Get insights into how to probe and understand the /proc/interrupts file in 13_proc_interrupts/notes.md.

Watching Interrupts in Real-time 🛠

See how interrupts happen in real-time and their significance in 14_WatchInterrupts/notes.md.

PCI Interrupts 🔍

Delve deep into PCI interrupts and their handling in 15_PCIInterrupts/notes.md.

Writing Interrupt Handlers 🖊

Learn the craft of creating effective interrupt handlers in 16_InterruptHandllers/notes.md.

Keyboard and Mouse Interrupts ⌨🖱

Discover how keyboard and mouse events are turned into interrupts, processed, and acted upon. Dive into the examples provided in 17_KeyboardInterrupt and 18_keyboardHandler.

Ethernet Interrupts 🌐

Grasp the inner workings of how ethernet interfaces generate and handle interrupts in the example in 19_EthernetInterrupt.

Keylogger Drivers 🔐

Unearth the secrets of keyloggers and how they operate at a kernel level. Begin your journey in 21_keylogger_driver.

Sysfs based Keylogger 📁

Master the art of creating a sysfs-based keylogger with the hands-on example in 22_sysfs_keylogger.

Contributions 💪

We appreciate your contributions! Whether it's improving documentation, adding examples, or providing feedback, every bit helps!

License 📄

This repository is licensed under the MIT License. Refer to the LICENSE file for more details.

About

A deep dive into the interrupt handling mechanisms within the Linux kernel. Explore how different devices, from keyboards to Ethernet ports, trigger and process interrupts. Complete with hands-on examples and real-world use cases.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published