Skip to content
systemcoding.dev
Topic

Kernels

Linux kernel modules and drivers, system calls, schedulers, bootloaders and UEFI, and writing a hobby operating system from the first instruction.

Flat illustration of user space above the system call boundary, the kernel and the hardware, with the Linux, C and Intel logos.
Kernels

Handle Keyboard Input With a PS/2 Driver

Write a PS/2 keyboard driver for a hobby kernel: the 8042 ports, scancode set 1, make and break codes, the 0xE0 prefix, shift and caps lock, and a ring buffer.

9 min read
Flat illustration of user space above the system call boundary, the kernel and the hardware, with the Linux, Rust and FreeBSD logos.
Kernels

Ship Out-of-Tree Kernel Modules With DKMS

Package an out-of-tree kernel module with DKMS: write dkms.conf, add, build and install, rebuild on kernel upgrades automatically and sign for Secure Boot.

6 min read

Get new posts by email

We send one email when a new post is published. No spam.

Unsubscribe in one click. No spam, ever.