diff options
author | Andrew Thoelke <andrew.thoelke@arm.com> | 2014-06-02 11:40:35 +0100 |
---|---|---|
committer | Andrew Thoelke <andrew.thoelke@arm.com> | 2014-06-16 21:30:32 +0100 |
commit | 5e910074245fa180cfbe70d3c8bceeff1eaa026e (patch) | |
tree | 8547c9ddb62604838baf4b904e1a121335fe0f20 /bl31/aarch64/bl31_entrypoint.S | |
parent | dbc64b39c9193f0b582d706bcf0d04e0a7bf4944 (diff) |
Per-cpu data cache restructuring
This patch prepares the per-cpu pointer cache for wider use by:
* renaming the structure to cpu_data and placing in new header
* providing accessors for this CPU, or other CPUs
* splitting the initialization of the TPIDR pointer from the
initialization of the cpu_data content
* moving the crash stack initialization to a crash stack function
* setting the TPIDR pointer very early during boot
Change-Id: Icef9004ff88f8eb241d48c14be3158087d7e49a3
Diffstat (limited to 'bl31/aarch64/bl31_entrypoint.S')
-rw-r--r-- | bl31/aarch64/bl31_entrypoint.S | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/bl31/aarch64/bl31_entrypoint.S b/bl31/aarch64/bl31_entrypoint.S index 3c9042b..2e7476a 100644 --- a/bl31/aarch64/bl31_entrypoint.S +++ b/bl31/aarch64/bl31_entrypoint.S @@ -131,6 +131,15 @@ func bl31_entrypoint bl zeromem16 /* --------------------------------------------- + * Initialise cpu_data and crash reporting + * --------------------------------------------- + */ + bl init_cpu_data_ptr +#if CRASH_REPORTING + bl init_crash_reporting +#endif + + /* --------------------------------------------- * Use SP_EL0 for the C runtime stack. * --------------------------------------------- */ |