summaryrefslogtreecommitdiff
path: root/include/lib
diff options
context:
space:
mode:
authorDimitris Papastamos <dimitris.papastamos@arm.com>2017-11-28 15:16:00 +0000
committerDimitris Papastamos <dimitris.papastamos@arm.com>2018-01-11 10:33:41 +0000
commit7593252cee8745bbf1b05deb2f4a5f742d36c412 (patch)
tree3f3bb0f8d2cd3546e2cbce7dec2a59fcfd93d18a /include/lib
parent08e06be81946de2701429e72840bb76ee3f9a48e (diff)
Add PubSub events for CPU powerdown/powerup
The suspend hook is published at the start of a CPU powerdown operation. The resume hook is published at the end of a CPU powerup operation. Change-Id: I50c05e2dde0d33834095ac41b4fcea4c161bb434 Signed-off-by: Dimitris Papastamos <dimitris.papastamos@arm.com>
Diffstat (limited to 'include/lib')
-rw-r--r--include/lib/el3_runtime/pubsub_events.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/include/lib/el3_runtime/pubsub_events.h b/include/lib/el3_runtime/pubsub_events.h
index 9cfedb4d..64b3f630 100644
--- a/include/lib/el3_runtime/pubsub_events.h
+++ b/include/lib/el3_runtime/pubsub_events.h
@@ -17,6 +17,13 @@
*/
REGISTER_PUBSUB_EVENT(psci_cpu_on_finish);
+/*
+ * These events are published before/after a CPU has been powered down/up
+ * via the PSCI CPU SUSPEND API.
+ */
+REGISTER_PUBSUB_EVENT(psci_suspend_pwrdown_start);
+REGISTER_PUBSUB_EVENT(psci_suspend_pwrdown_finish);
+
#ifdef AARCH64
/*
* These events are published by the AArch64 context management framework