xref: /kvm-unit-tests/lib/arm/asm/psci.h (revision 201b9e8bdc84c6436dd53b45d93a60c681b92719)
1 #ifndef _ASMARM_PSCI_H_
2 #define _ASMARM_PSCI_H_
3 #include <libcflat.h>
4 #include <linux/psci.h>
5 
6 #include <asm/arm-smccc.h>
7 
8 extern smccc_invoke_fn psci_invoke_fn;
9 
10 extern int psci_invoke(unsigned int function_id, unsigned long arg0,
11 		       unsigned long arg1, unsigned long arg2);
12 extern void psci_set_conduit(void);
13 extern int psci_cpu_on(unsigned long cpuid, unsigned long entry_point);
14 extern void psci_system_reset(void);
15 extern int cpu_psci_cpu_boot(unsigned int cpu);
16 extern void cpu_psci_cpu_die(void);
17 extern void psci_system_off(void);
18 
19 #endif /* _ASMARM_PSCI_H_ */
20