fix(fa): align attach adapter pointer contracts #1031
Reference in New Issue
Block a user
Delete Branch "agent/bittle/fa-adapter-contract-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?
Follow-up to #1029: make FAAttach's local declaration and the pfstub_attach definition agree on FADrvTbl** drives and const void* NAND data.
Original r3/r4 are stored unchanged in PF_STUB_MESSAGE.object/data. The first is the NULL-terminated drive-pointer array; the second is an optional NAND parameter block whose word at +0x50 is forwarded as size, not an integer mode. PF_STUB_MESSAGE already declares both fields const void*; no header changes are needed.
Parent verification:
Only three declaration/assignment lines change. Deeper PFVOL/notification declarations retain existing opaque/integer representations; this does not claim global type consistency. No percentage gain or linking-configuration change.
Base:
cc94a7530cTested tree:
cc1107a71aDOL 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.