Skip to content

mod/apcontext: Refactor context handling and add unit tests

Leandro Belli requested to merge lb/fix_apcontext into main

Refactors the AP context module to store the configuration pointer directly in the module context (ctx.config). This simplifies access throughout the module and avoids repeated calls to fwk_module_get_data().

Also adds a safeguard to prevent wait_on_notifications from being decremented below zero.

Includes unit tests for init, start, and notification handling.

Signed-off-by: Leandro Belli leandro.belli@arm.com

Merge request reports

Loading