refactor: cpu_on helper
Decouple the cpu_on helper from enabling a corresponding vCPU.
Extract the vCPU enabling logic and add explicitly within the PVM PSCI
cpu on handler and SPMC's psci resume where cpu_on is called.
Signed-off-by: Olivier Deprez <olivier.deprez@arm.com>
Change-Id: I6a044a94853adf35f1008b5fe6e5fb9c7c0c3ca2
diff --git a/inc/hf/cpu.h b/inc/hf/cpu.h
index 74d61c1..305f2f8 100644
--- a/inc/hf/cpu.h
+++ b/inc/hf/cpu.h
@@ -33,7 +33,7 @@
size_t cpu_index(struct cpu *c);
struct cpu *cpu_find_index(size_t index);
-bool cpu_on(struct cpu *c, ipaddr_t entry, uintreg_t arg);
+bool cpu_on(struct cpu *c);
void cpu_off(struct cpu *c);
struct cpu *cpu_find(cpu_id_t id);
uint8_t *cpu_get_buffer(struct cpu *c);