Skip to content
Commit d4c0484e authored by Leandro Belli's avatar Leandro Belli 👾
Browse files

mod/apcontext: Refactor context handling and add unit tests



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's avatarLeandro Belli <leandro.belli@arm.com>
parent c914b3f0
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment