Files
trail-mate/platform/linux/common/include
Trail Mate Dev ef88a4ca63 fix: keep capture GPIO handles inside locked transport storage
Replace Linux HAL's separately allocated map nodes with bounded owned
storage while preserving its count/find/index/iteration/clear interface.
BUSY polling now reads handles retained by the transport object's memory
lock instead of depending on the capture worker's allocator arena.

Revert broad anonymous-map admission, which exceeded the device's existing
48-MiB admission budget. Keep main-heap/runtime/stack admission bounded.
Verify an owner allocated on the main thread and initialized on a worker
has locked handle storage, plus lookup, replacement, capacity and reuse.

Validation: focused capture-memory/handle regression passed; clang-format
14 and staged diff checks passed. GitNexus reports Linux HAL class impact
as medium (six direct dependencies); its broad pinMode graph is critical,
so that function implementation and its callers remain unchanged.
2026-11-02 09:53:11 +08:00
..