danos/system/devices
Daniel Samson 2ab0d129a2
Decode ACPI _HID names in device discovery
The flat analog of pci-class for acpi_device nodes. ACPI has no class/subclass/prog-IF
taxonomy — a device's identity is its _HID string itself (PNP0303 *is* "PS/2
keyboard") — so this is a plain id -> name registry, not a hierarchical decoder.

New system/devices/acpi-ids.zig (module `acpi-ids`): the common standard PnP/ACPI
hardware IDs; vendor-specific ids (QEMU0002, etc.) have no registry name and print the
raw HID. Shared reference data like pci-class. The dump now names each _HID:

    KBD_ [acpi_device] hid=PNP0303 (PS/2 Keyboard)
    COM1 [acpi_device] hid=PNP0501 (16550A-compatible Serial Port)
    RTC_ [acpi_device] hid=PNP0B00 (Real-Time Clock (RTC))
    LNKA [acpi_device] hid=PNP0C0F (PCI Interrupt Link Device)
    FWCF [acpi_device] hid=QEMU0002          (vendor-specific: raw HID)

Host test covers known ids and the unknown/empty fallthrough. Suite 41/41 plus host
tests.
2026-07-10 21:44:44 +01:00
..
aml Post-reorg cleanup: POSIX layer, and naming fixes 2026-07-10 13:33:06 +01:00
acpi-ids.zig Decode ACPI _HID names in device discovery 2026-07-10 21:44:44 +01:00
acpi.zig M16: IOMMU detection (DMAR parsing) 2026-07-10 20:07:01 +01:00
device-abi.zig Split the `system` contract into boot-handoff / abi / device-abi 2026-07-10 18:08:51 +01:00
device-model.zig Decode ACPI _HID names in device discovery 2026-07-10 21:44:44 +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 Split the `system` contract into boot-handoff / abi / device-abi 2026-07-10 18:08:51 +01:00
power.zig Re-organize the source tree as a monorepo mirroring the FHS 2026-07-10 12:55:56 +01:00