cleanup(iplBS2Manager): name tick/update/abort/restart flags #857
Reference in New Issue
Block a user
Delete Branch "cleanup/iplBS2Manager-flags"
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?
Summary
Readable renames for the four bool flags at
0x0C–0x0Finipl::bs2::Manager, named from call-site usage:unk_0x0CmbTickEnabledunk_0x0DmbUpdateRequestedunk_0x0EmbAbortRequestedunk_0x0FmbRestartRequestedEvidence:
mbTickEnabled: gatesBS2Tick/ splash / exec; cleared on reserve / abort / diag boot; set again after a successful restart pathmbUpdateRequested: set instartUpdate(), consumed once inexecTickto callBS2StartUpdatembAbortRequested: set inabort(), consumed inexecTickto abort/stop the state machinembRestartRequested: set inrestart(), cleared when NAND is no longer full andBS2RestartStateMachinerunsVerification
system/iplBS2Manager.cpp(Matching)ninja all_source+build/43U/ok26116613f624061ba99c8d1a299aaa6efa85670dDo not merge — waiting on reviewer.
Reviewed and merged: rebased on main, full build ok, DOL sha1 26116613f624061ba99c8d1a299aaa6efa85670d, 0 regressions, 0 forbidden patterns.