Home | History | Annotate | Download | only in el3_runtime
      1 /*
      2  * Copyright (c) 2017, ARM Limited and Contributors. All rights reserved.
      3  *
      4  * SPDX-License-Identifier: BSD-3-Clause
      5  */
      6 
      7 #include <pubsub.h>
      8 
      9 /*
     10  * This file defines a list of pubsub events, declared using
     11  * REGISTER_PUBSUB_EVENT() macro.
     12  */
     13 
     14 /*
     15  * Event published after a CPU has been powered up and finished its
     16  * initialization.
     17  */
     18 REGISTER_PUBSUB_EVENT(psci_cpu_on_finish);
     19 
     20 #ifdef AARCH64
     21 /*
     22  * These events are published by the AArch64 context management framework
     23  * after the secure context is restored/saved via
     24  * cm_el1_sysregs_context_{restore,save}() API.
     25  */
     26 REGISTER_PUBSUB_EVENT(cm_entering_secure_world);
     27 REGISTER_PUBSUB_EVENT(cm_exited_secure_world);
     28 
     29 /*
     30  * These events are published by the AArch64 context management framework
     31  * after the normal context is restored/saved via
     32  * cm_el1_sysregs_context_{restore,save}() API.
     33  */
     34 REGISTER_PUBSUB_EVENT(cm_entering_normal_world);
     35 REGISTER_PUBSUB_EVENT(cm_exited_normal_world);
     36 #endif /* AARCH64 */
     37