fix(fa): preserve the USB disk receiver and match FAAttach #1029
Reference in New Issue
Block a user
Delete Branch "agent/bittle/fa-attach-receiver-review"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Exact reconstruction and real receiver fix
FAAttach's local USB-media declaration omitted FADisk*. The original wrapper tail-branches to an implementation that consumes r3 as the disk, but the prior compiled caller reused r3 for the global partition-table base. Explicitly pass disk and forward it through the wrapper. Also represent the attach request as the NULL-terminated FADrvTbl pointer array consumed by pf2_attach, rather than a pointer/count record.
Independent parent verification
No hardware execution claim. No metadata, compiler, storage padding, new assembly or linking-flag change. Deeper pfstub adapter declarations are outside this focused correction and are not claimed globally type-consistent.
Base:
bf8ebfa353Tested tree:
569c222fa3DOL SHA1: 26116613f624061ba99c8d1a299aaa6efa85670d
No merge performed or requested by this author.
Reviewed and merged: rebased on main, full build ok, DOL sha1 26116613f624061ba99c8d1a299aaa6efa85670d, 0 regressions, 0 forbidden patterns.