mirror of
https://github.com/ARM-software/arm-trusted-firmware.git
synced 2025-04-09 06:13:54 +00:00

Align entire TF-A to use Arm in copyright header. Change-Id: Ief9992169efdab61d0da6bd8c5180de7a4bc2244 Signed-off-by: Govindraj Raja <govindraj.raja@arm.com>
43 lines
1.2 KiB
C
43 lines
1.2 KiB
C
/*
|
|
* Copyright (c) 2017, Arm Limited and Contributors. All rights reserved.
|
|
*
|
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
*/
|
|
|
|
#include <lib/el3_runtime/pubsub.h>
|
|
|
|
/*
|
|
* This file defines a list of pubsub events, declared using
|
|
* REGISTER_PUBSUB_EVENT() macro.
|
|
*/
|
|
|
|
/*
|
|
* Event published after a CPU has been powered up and finished its
|
|
* initialization.
|
|
*/
|
|
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
|
|
* after the secure context is restored/saved via
|
|
* cm_el1_sysregs_context_{restore,save}() API.
|
|
*/
|
|
REGISTER_PUBSUB_EVENT(cm_entering_secure_world);
|
|
REGISTER_PUBSUB_EVENT(cm_exited_secure_world);
|
|
|
|
/*
|
|
* These events are published by the AArch64 context management framework
|
|
* after the normal context is restored/saved via
|
|
* cm_el1_sysregs_context_{restore,save}() API.
|
|
*/
|
|
REGISTER_PUBSUB_EVENT(cm_entering_normal_world);
|
|
REGISTER_PUBSUB_EVENT(cm_exited_normal_world);
|
|
#endif /* __aarch64__ */
|