SchOS/kernel/dev
Repository files (latest commit first)
Filename Latest commit message Latest commit date
Nexoniarz 438e7af141 Keyboard lights, TLB shootdowns, battery in sysfs, /proc/pid/maps
Caps, Num and Scroll Lock now light their LEDs on PS/2 and USB keyboards,
share one state between keyboards, and stop toggling on key repeat. X sets
them through evdev writes while it holds the keyboard.

Unmapping memory in a process with threads on other CPUs now flushes their
TLBs with an IPI. Without it a freed page stayed reachable through stale
translations, which corrupted Epiphany's heap on SMP.

ACPI batteries and AC adapters appear under /sys/class/power_supply.
/proc/<pid>/maps lists file mappings, and a process killed by a fault
names the file and offset it died in. r8169 gets a 256-entry RX ring.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01S1giNvrHTrPMPw7V6x1kQ4
2026-10-25 13:43:27 +01:00
..
audio.c Sound through ALSA, a 2D game, and a stack walk that cannot panic 2026-10-25 05:39:16 +01:00
bio.c include: one folder per subsystem, and includes that name it 2026-10-23 15:05:12 +02:00
blkdev.c include: one folder per subsystem, and includes that name it 2026-10-23 15:05:12 +02:00
cdev.c Pseudo-terminals, and what tmux and htop needed around them 2026-10-25 02:11:10 +01:00
dbg.c include: one folder per subsystem, and includes that name it 2026-10-23 15:05:12 +02:00
device.c include: one folder per subsystem, and includes that name it 2026-10-23 15:05:12 +02:00
disk.c include: one folder per subsystem, and includes that name it 2026-10-23 15:05:12 +02:00
dmi.c boot: driver chatter goes to the log; the console clears its margins 2026-10-25 01:53:46 +02:00
fb.c Sound through ALSA, a 2D game, and a stack walk that cannot panic 2026-10-25 05:39:16 +01:00
gfx.c display: confirm a resolution change, and size the console font to the screen 2026-10-24 23:11:22 +02:00
ide.c include: one folder per subsystem, and includes that name it 2026-10-23 15:05:12 +02:00
input.c Keyboard lights, TLB shootdowns, battery in sysfs, /proc/pid/maps 2026-10-25 13:43:27 +01:00
irq.c irq: turn a PS/2 line over when its device waits and nothing comes 2026-10-24 11:10:29 +02:00
kbd.c Keyboard lights, TLB shootdowns, battery in sysfs, /proc/pid/maps 2026-10-25 13:43:27 +01:00
keymap.c Job control, function keys, and real sleeps 2026-10-25 02:37:45 +01:00
mouse.c irq: turn a PS/2 line over when its device waits and nothing comes 2026-10-24 11:10:29 +02:00
netuser.c include: one folder per subsystem, and includes that name it 2026-10-23 15:05:12 +02:00
pci.c include: one folder per subsystem, and includes that name it 2026-10-23 15:05:12 +02:00
pciuser.c Threads 2026-10-25 03:03:50 +01:00
procfs.c Pseudo-terminals, and what tmux and htop needed around them 2026-10-25 02:11:10 +01:00
pty.c Job control, function keys, and real sleeps 2026-10-25 02:37:45 +01:00
ramdisk.c boot: driver chatter goes to the log; the console clears its margins 2026-10-25 01:53:46 +02:00
text.c include: one folder per subsystem, and includes that name it 2026-10-23 15:05:12 +02:00
ttf.c include: one folder per subsystem, and includes that name it 2026-10-23 15:05:12 +02:00
uart.c include: one folder per subsystem, and includes that name it 2026-10-23 15:05:12 +02:00
vt.c Pseudo-terminals, and what tmux and htop needed around them 2026-10-25 02:11:10 +01:00