mirror of
https://xff.cz/git/u-boot/
synced 2025-09-03 09:42:22 +02:00
ARM: PSCI: Add helper functions to access per-CPU target PC storage
Now that we have a data section, add helper functions to save and fetch per-CPU target PC. Signed-off-by: Chen-Yu Tsai <wens@csie.org> Signed-off-by: Hans de Goede <hdegoede@redhat.com>
This commit is contained in:
committed by
Hans de Goede
parent
a5aa7ff33a
commit
45c334e6b2
@@ -54,6 +54,10 @@
|
||||
#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);
|
||||
|
Reference in New Issue
Block a user