osdev-interrupts
CommunityRobust x86 interrupt & exception handling
AuthorMaelwalser
Version1.0.0
Installs0
System Documentation
What problem does it solve?
Provides a concise, practical reference and patterns for implementing interrupt controllers, ISR stubs, IRQ remapping, and CPU exception handling in bare-metal x86 and x86-64 kernels so developers avoid common pitfalls that cause double or triple faults and unpredictable behavior.
Core Features & Use Cases
- PIC 8259 remapping and masking patterns to move hardware IRQs away from CPU exception vectors.
- Local APIC and IO-APIC setup, MMIO mapping guidance, EOI and timer configuration, and inter-processor interrupt (IPI) details.
- ISR stub conventions that normalize error-code handling and full CPU register save/restore, plus exception diagnostics for page faults and double faults.
- Use case: implement a kernel's IDT and handlers to reliably handle timer, keyboard, and page fault events on both uniprocessor and SMP systems.
Quick Start
Use the osdev-interrupts skill to outline the steps and code patterns to remap the PIC to vectors 0x20-0x2F, enable the local APIC with a spurious vector, and create uniform ISR stubs for exceptions and hardware IRQs.
Dependency Matrix
Required Modules
None requiredComponents
references
💻 Claude Code Installation
Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.
Please help me install this Skill: Name: osdev-interrupts Download link: https://github.com/Maelwalser/claude-config/archive/main.zip#osdev-interrupts Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
Agent Skills Search Helper
Install a tiny helper to your Agent, search and equip skill from 471,000+ vetted skills library on demand.