ARM: PSCI: Add helper functions to access per-CPU target PC storage
[platform/kernel/u-boot.git] / arch / arm / include / asm / psci.h
index dab5769..a0da023 100644 (file)
 #ifndef __ASSEMBLY__
 #include <asm/types.h>
 
+/* These 2 helper functions assume cpu < CONFIG_ARMV7_PSCI_NR_CPUS */
+u32 psci_get_target_pc(int cpu);
+void psci_save_target_pc(int cpu, u32 pc);
+
 void psci_cpu_entry(void);
 u32 psci_get_cpu_id(void);
 u32 psci_get_cpu_stack_top(int cpu);