danos/system/devices
Daniel Samson e6d0bb7ef0
The flip: ACPI enumeration leaves the kernel (M20.3)
The kernel no longer folds AML Device objects into the device tree — the
ring-3 acpi service is the sole builder of _HID device nodes. The kernel
keeps building the namespace only for the \_S5 sleep type, and still
seeds the static tables (MADT, HPET, MCFG, FADT) and the acpi-tables node.

The device manager matches ps2-bus from the service's _HID reports
(PNP0303 / PNP0F13, singleton-deduped) instead of boot-snapshot nodes;
its dead boot-snapshot ps2 arm is gone. The service registers every
device before reporting any, so a driver the manager spawns on the first
report already sees the full set — no keyboard-before-mouse race. The
acpi-ps2 scenario proves the whole chain: report -> spawn -> ps2-bus
finds the controller and attaches its keyboard, entirely in ring 3. The
ioport test moved to the acpi-tables I/O window, since the kernel-built
PS/2 node it used to scan for no longer exists. The retired
device-building functions in acpi.zig are dead but retained (a botched
mechanical deletion is worse mid-migration than a follow-up sweep, which
is flagged as a task). Suite 58/58.
2026-07-13 03:32:15 +01:00
..
aml The AML interpreter runs in ring 3: the acpi service parses (M20.1) 2026-07-13 03:07:11 +01:00
acpi-ids.zig Name ACPI hardware IDs instead of magic _HID strings 2026-07-11 23:23:16 +01:00
acpi.zig The flip: ACPI enumeration leaves the kernel (M20.3) 2026-07-13 03:32:15 +01:00
device-abi.zig The AML interpreter runs in ring 3: the acpi service parses (M20.1) 2026-07-13 03:07:11 +01:00
device-model.zig zig fmt 2026-07-12 16:04:58 +01:00
device-tree.zig Re-organize the source tree as a monorepo mirroring the FHS 2026-07-10 12:55:56 +01:00
pci-class.zig Decode PCI class codes in device discovery 2026-07-10 21:35:20 +01:00
platform.zig The AML interpreter runs in ring 3: the acpi service parses (M20.1) 2026-07-13 03:07:11 +01:00
power.zig Re-organize the source tree as a monorepo mirroring the FHS 2026-07-10 12:55:56 +01:00
usb-abi.zig WIP: USB 2026-07-12 22:24:47 +01:00
usb-ids.zig WIP: USB 2026-07-12 22:24:47 +01:00