summaryrefslogtreecommitdiff
path: root/common/psci/psci_common.c
diff options
context:
space:
mode:
authorAchin Gupta <achin.gupta@arm.com>2013-12-05 14:21:04 +0000
committerDan Handley <dan.handley@arm.com>2014-01-20 18:45:04 +0000
commita59caa4cbd03c394e7a5bf098ddd9db457b35aae (patch)
treea6ee2402c1c446a352974b8ff68a67a611187344 /common/psci/psci_common.c
parent03cb8fbb5d769affd508c97a5327544e487eb1a9 (diff)
psci: replace secure context with suspend context
The secure context saved and restored across a cpu_suspend operation can be more than just the state of the secure system registers e.g. we also need to save the affinity level till which the cpu is being powered down. This patch creates a suspend_context data structure which includes the system register context. This will allow other bits to be saved and restored as well in subsequent patches. Change-Id: I1c1f7d25497388b54b7d6ee4fab77e8c6a9992c4
Diffstat (limited to 'common/psci/psci_common.c')
-rw-r--r--common/psci/psci_common.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/common/psci/psci_common.c b/common/psci/psci_common.c
index 969d33c9..705c5d71 100644
--- a/common/psci/psci_common.c
+++ b/common/psci/psci_common.c
@@ -41,10 +41,10 @@
/*******************************************************************************
* Arrays that contains information needs to resume a cpu's execution when woken
* out of suspend or off states. 'psci_ns_einfo_idx' keeps track of the next
- * free index in the 'psci_ns_entry_info' & 'psci_secure_context' arrays. Each
+ * free index in the 'psci_ns_entry_info' & 'psci_suspend_context' arrays. Each
* cpu is allocated a single entry in each array during startup.
******************************************************************************/
-secure_context psci_secure_context[PSCI_NUM_AFFS];
+suspend_context psci_suspend_context[PSCI_NUM_AFFS];
ns_entry_info psci_ns_entry_info[PSCI_NUM_AFFS];
unsigned int psci_ns_einfo_idx;