SchOS/kernel/core
Repository files (latest commit first)
Filename Latest commit message Latest commit date
Nexoniarz b15fb2fdaa i2c-hid on a stack of its own; PSOGM powers off after three minutes
The touchpad driver crashed the ASUS TUF A15 at boot. Its thread runs the
firmware's AML -- _DSM, _PS0, _CRS -- through uACPI at -O0, on an 8 KB
kernel stack, and kernel stacks are one array: running off the end lands
in the next thread's stack, and the machine dies a moment later in some
other code. The thread now runs on a 64 KB stack of its own, through
SCFF's call_on_stack().

And a crashed laptop sat with its fans up until somebody held the power
button, since the other processors keep running. On an ordinary boot the
PSOGM now says it will power off, and does, after three minutes: SLP_TYP
from \_S5, read at boot, written straight to PM1 control with no AML, which
could sleep or wait on a lock a dead processor holds. A verbose boot keeps
the screen up for ever.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01S1giNvrHTrPMPw7V6x1kQ4
2026-10-25 00:21:39 +02:00
..
console.c X gets a VT: keyboard, terminal switching, and a way out 2026-10-24 21:45:50 +02:00
dma.c include: one folder per subsystem, and includes that name it 2026-10-23 15:05:12 +02:00
kalloc.c include: one folder per subsystem, and includes that name it 2026-10-23 15:05:12 +02:00
klog.c include: one folder per subsystem, and includes that name it 2026-10-23 15:05:12 +02:00
kmem.c include: one folder per subsystem, and includes that name it 2026-10-23 15:05:12 +02:00
ksym.c include: one folder per subsystem, and includes that name it 2026-10-23 15:05:12 +02:00
main.c kernel: laptop touchpads over I2C-HID 2026-10-24 21:54:33 +02:00
panic.c i2c-hid on a stack of its own; PSOGM powers off after three minutes 2026-10-25 00:21:39 +02:00
qr.c include: one folder per subsystem, and includes that name it 2026-10-23 15:05:12 +02:00
sbuf.c include: one folder per subsystem, and includes that name it 2026-10-23 15:05:12 +02:00
sleeplock.c include: one folder per subsystem, and includes that name it 2026-10-23 15:05:12 +02:00
spinlock.c include: one folder per subsystem, and includes that name it 2026-10-23 15:05:12 +02:00
string.c include: one folder per subsystem, and includes that name it 2026-10-23 15:05:12 +02:00
time.c include: one folder per subsystem, and includes that name it 2026-10-23 15:05:12 +02:00
uaccess.c include: one folder per subsystem, and includes that name it 2026-10-23 15:05:12 +02:00