Skip to content
Snippets Groups Projects
Commit cbeeb2ae authored by Chen-Yu Tsai's avatar Chen-Yu Tsai Committed by Hans de Goede
Browse files

ARM: PSCI: export common PSCI function declarations for C code


Some common PSCI functions are written in assembly, but it should be
possible to use them from C code.

Add function declarations for C code to consume.

Signed-off-by: default avatarChen-Yu Tsai <wens@csie.org>
Acked-by: default avatarMarc Zyngier <marc.zyngier@arm.com>
Signed-off-by: default avatarHans de Goede <hdegoede@redhat.com>
parent 778dc5f4
No related branches found
No related tags found
No related merge requests found
......@@ -48,6 +48,13 @@
#define ARM_PSCI_0_2_FN_SYSTEM_RESET ARM_PSCI_0_2_FN(9)
#ifndef __ASSEMBLY__
#include <asm/types.h>
void psci_cpu_entry(void);
u32 psci_get_cpu_id(void);
u32 psci_get_cpu_stack_top(int cpu);
void psci_cpu_off_common(void);
int psci_update_dt(void *fdt);
void psci_board_init(void);
#endif /* ! __ASSEMBLY__ */
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment