test: enable specifying options for sp_fwd_sleep command
The options parameter will package two fields:
- hint_interrupted
- mask interrupts
This feature will be needed in the subsequent patch.
Signed-off-by: Madhukar Pappireddy <madhukar.pappireddy@arm.com>
Change-Id: Ia7323fbb56f8e491a8654d83b0fb0c5ad41b8cf9
diff --git a/test/vmapi/ffa_secure_partitions/secure_interrupts.c b/test/vmapi/ffa_secure_partitions/secure_interrupts.c
index 06cb089..f3b984c 100644
--- a/test/vmapi/ffa_secure_partitions/secure_interrupts.c
+++ b/test/vmapi/ffa_secure_partitions/secure_interrupts.c
@@ -146,7 +146,8 @@
enable_trigger_trusted_wdog_timer(own_id, receiver_id, 400);
/* Send request to the SP to sleep uninterrupted. */
- res = sp_sleep_cmd_send(own_id, receiver_id, SP_SLEEP_TIME, 1);
+ res = sp_sleep_cmd_send(own_id, receiver_id, SP_SLEEP_TIME,
+ OPTIONS_MASK_INTERRUPTS);
/*
* Secure interrupt should trigger during this time, SP will handle the
@@ -213,7 +214,7 @@
* there by putting receiver SP in BLOCKED state.
*/
res = sp_fwd_sleep_cmd_send(own_id, receiver_id, companion_id,
- SP_SLEEP_TIME, false);
+ SP_SLEEP_TIME, 0);
/*
* Secure interrupt should trigger during this time, receiver SP will