osdev-device-drivers
CommunityOS device-driver patterns for bare-metal kernels
AuthorMaelwalser
Version1.0.0
Installs0
System Documentation
What problem does it solve?
Writing OS device drivers is error-prone and repetitive; this skill provides patterns and reference implementations for common subsystems (PCI enumeration, UART serial, PS/2 keyboard and mouse, system timers, and DMA) to accelerate kernel development and improve correctness.
Core Features & Use Cases
- PCI enumeration loops and BAR decoding patterns for hardware discovery.
- UART serial initialization and data transfer for early boot console.
- PS/2 keyboard and mouse handling patterns and IRQ handling.
- Timers (PIT, APIC, HPET, RTC) integration and calibration for system ticks.
- DMA usage patterns, including bus mastering and safe memory access.
- Driver-architecture template describing device state, IRQ registration, and enablement.
Quick Start
Follow these patterns to add a new OS device driver: implement PCI enumeration, initialize serial, set up PS/2 input, configure timers, and enable DMA as your kernel requires.
Dependency Matrix
Required Modules
None requiredComponents
Standard package💻 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-device-drivers Download link: https://github.com/Maelwalser/claude-config/archive/main.zip#osdev-device-drivers 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.