refactor: moved api_interrupt_clear_decrement to vcpu
Moved the function api_interrupt_clear_decrement to
the vcpu module, and simplified its signature, thus
creating vcpu_interrupt_clear_decrement.
Signed-off-by: J-Alves <joao.alves@arm.com>
Change-Id: I757ee632e8dc478921d8f3945fbf3be8292fa137
diff --git a/inc/hf/vcpu.h b/inc/hf/vcpu.h
index a7c74f3..91dd30f 100644
--- a/inc/hf/vcpu.h
+++ b/inc/hf/vcpu.h
@@ -396,6 +396,9 @@
vcpu2_locked.vcpu->call_chain.next_node = NULL;
}
+void vcpu_interrupt_clear_decrement(struct vcpu_locked vcpu_locked,
+ uint32_t intid);
+
void vcpu_set_running(struct vcpu_locked target_locked, struct ffa_value *args);
void vcpu_save_interrupt_priority(struct vcpu_locked vcpu_locked,
uint8_t priority);