Skip to content

refactor(baremetal): isolate runtime init and platform run defaults#370

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

refactor(baremetal): isolate runtime init and platform run defaults#370
prashymh merged 1 commit into
ARM-software:mainfrom
prashymh:main

Conversation

@prashymh

Copy link
Copy Markdown
Contributor

Move baremetal runtime-init helpers out of shared VAL headers and hide platform run-request defaults behind a baremetal accessor. This keeps VAL-facing headers focused on shared runtime APIs, removes baremetal default externs from common headers, and aligns run-request default ownership more closely with the execution-policy model without changing runtime behavior.

  • add acs_runtime_init.h and rename acs_common.c to acs_runtime_init.c
  • move baremetal-only init helper declarations out of val/include/acs_common.h
  • remove baremetal run-request default externs from apps/baremetal/acs.h
  • add pal_run_request.h for baremetal platform default access
  • make each target own static run-request default arrays in platform_cfg_fvp.c
  • expose target defaults through acs_get_platform_run_request_defaults()
  • update baremetal runtime init to seed run-request state from platform defaults
  • keep helper-only list checks local to the baremetal runtime-init unit

Change-Id: I7aa53bdf394d6d17159bdfd41112d55baa707b20

Move baremetal runtime-init helpers out of shared VAL headers and hide
platform run-request defaults behind a baremetal accessor. This keeps
VAL-facing headers focused on shared runtime APIs, removes baremetal
default externs from common headers, and aligns run-request default
ownership more closely with the execution-policy model without changing
runtime behavior.

- add acs_runtime_init.h and rename acs_common.c to acs_runtime_init.c
- move baremetal-only init helper declarations out of val/include/acs_common.h
- remove baremetal run-request default externs from apps/baremetal/acs.h
- add pal_run_request.h for baremetal platform default access
- make each target own static run-request default arrays in platform_cfg_fvp.c
- expose target defaults through acs_get_platform_run_request_defaults()
- update baremetal runtime init to seed run-request state from platform defaults
- keep helper-only list checks local to the baremetal runtime-init unit

Change-Id: I7aa53bdf394d6d17159bdfd41112d55baa707b20
@prashymh prashymh merged commit dab6e10 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