Skip to content

cleanup(linux-app): localize CLI state in BSA and SBSA apps#371

Merged
prashymh merged 1 commit into
ARM-software:mainfrom
prashymh:main
Apr 26, 2026
Merged

cleanup(linux-app): localize CLI state in BSA and SBSA apps#371
prashymh merged 1 commit into
ARM-software:mainfrom
prashymh:main

Conversation

@prashymh

Copy link
Copy Markdown
Contributor

Remove Linux app CLI state leakage from the BSA and SBSA driver-interface layers by passing print and rule-selection inputs explicitly instead of reading them through app globals. This keeps the userspace CLI state local to the app entry files, reduces cross-file coupling, and tightens the PCBSA app main state where it was clearly local, without changing driver behavior.

  • pass BSA and SBSA print, skip-DP-NIC-MS, and rule-selection inputs explicitly into the driver-interface helpers
  • remove BSA and SBSA driver-interface dependence on app-level extern globals
  • localize BSA and SBSA CLI state in the app main files
  • keep legacy cross-file skip-list and software-view globals unchanged where other Linux app objects still rely on them
  • tighten obvious file-local state in pcbsa_app_main.c without changing the PCBSA driver interface

Change-Id: Icc39be47a775015e8e5d16f461875ee42b9cd269

Remove Linux app CLI state leakage from the BSA and SBSA driver-interface
layers by passing print and rule-selection inputs explicitly instead of
reading them through app globals. This keeps the userspace CLI state local
to the app entry files, reduces cross-file coupling, and tightens the
PCBSA app main state where it was clearly local, without changing driver
behavior.

- pass BSA and SBSA print, skip-DP-NIC-MS, and rule-selection inputs
  explicitly into the driver-interface helpers
- remove BSA and SBSA driver-interface dependence on app-level extern
  globals
- localize BSA and SBSA CLI state in the app main files
- keep legacy cross-file skip-list and software-view globals unchanged
  where other Linux app objects still rely on them
- tighten obvious file-local state in pcbsa_app_main.c without changing
  the PCBSA driver interface

Change-Id: Icc39be47a775015e8e5d16f461875ee42b9cd269
@prashymh prashymh merged commit 2320408 into ARM-software:main Apr 26, 2026
27 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant