diff options
Diffstat (limited to 'src/arch/arm64/c_entry.c')
-rw-r--r-- | src/arch/arm64/c_entry.c | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/src/arch/arm64/c_entry.c b/src/arch/arm64/c_entry.c index f08a5853f4..3e9d44e4af 100644 --- a/src/arch/arm64/c_entry.c +++ b/src/arch/arm64/c_entry.c @@ -20,6 +20,14 @@ #include <arch/stages.h> #include <arch/cpu.h> + +/* + * This variable holds entry point for CPUs starting up. Before the other + * CPUs are brought up this value will change to provide the secondary + * code path. + */ +void (*c_entry)(void) = &arm64_init; + void __attribute__((weak)) arm64_soc_init(void) { /* Default weak implementation does nothing. */ |