SchOS/include/arch
Repository files (latest commit first)
Filename Latest commit message Latest commit date
Nexoniarz 5ea03c4cf5 i2c-hid: the touchpad crash was a printf format, not the driver
The PSOGM on the ASUS TUF A15 was a page fault in cprintf, from probe(),
in the touchpad driver's own success message. cprintf had no field widths:
"%04x" printed literally and consumed no argument, so the "%s" after it
was handed the product ID as a string pointer. "%lx" misprinted the same
way -- "0x4275838976x" for 0xFEDC2000 -- on the line before.

The driver's formats are fixed, and cprintf now steps over flags and
widths and takes l/ll/z as 64-bit, so a directive it does not render can
no longer shift every argument after it. Until now any %ld or %lu printed
the number followed by a stray letter.

The touchpad on/off entry in the boot menu has served its purpose and is
gone; the verbose step trace stays.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01S1giNvrHTrPMPw7V6x1kQ4
2026-10-25 00:28:23 +02:00
..
asm.h include: one folder per subsystem, and includes that name it 2026-10-23 15:05:12 +02:00
ioperm.h include: one folder per subsystem, and includes that name it 2026-10-23 15:05:12 +02:00
memlayout.h ldls: the top-2 GB window Linux modules link against 2026-10-24 22:12:40 +02:00
mmu.h include: one folder per subsystem, and includes that name it 2026-10-23 15:05:12 +02:00
mp.h include: one folder per subsystem, and includes that name it 2026-10-23 15:05:12 +02:00
schboot.h i2c-hid: the touchpad crash was a printf format, not the driver 2026-10-25 00:28:23 +02:00
traps.h include: one folder per subsystem, and includes that name it 2026-10-23 15:05:12 +02:00
vmap.h include: one folder per subsystem, and includes that name it 2026-10-23 15:05:12 +02:00
x86.h include: one folder per subsystem, and includes that name it 2026-10-23 15:05:12 +02:00