summaryrefslogtreecommitdiffstats
path: root/lib/el3_runtime/cpu_data_array.c
diff options
context:
space:
mode:
Diffstat (limited to 'lib/el3_runtime/cpu_data_array.c')
-rw-r--r--lib/el3_runtime/cpu_data_array.c13
1 files changed, 13 insertions, 0 deletions
diff --git a/lib/el3_runtime/cpu_data_array.c b/lib/el3_runtime/cpu_data_array.c
new file mode 100644
index 0000000..13d464c
--- /dev/null
+++ b/lib/el3_runtime/cpu_data_array.c
@@ -0,0 +1,13 @@
+/*
+ * Copyright (c) 2014-2016, ARM Limited and Contributors. All rights reserved.
+ *
+ * SPDX-License-Identifier: BSD-3-Clause
+ */
+
+#include <platform_def.h>
+
+#include <lib/cassert.h>
+#include <lib/el3_runtime/cpu_data.h>
+
+/* The per_cpu_ptr_cache_t space allocation */
+cpu_data_t percpu_data[PLATFORM_CORE_COUNT];