mirror of
https://github.com/ARM-software/arm-trusted-firmware.git
synced 2025-04-17 10:04:26 +00:00

Leverage pubsub event framework to customize vendor's event for better software modularization instead of adding call entries in abstraction layer for customized platform function with wrap-up define. Signed-off-by: Leon Chen <leon.chen@mediatek.com> Change-Id: I48be2303c45f759776fa2baa1c21130c1a8f0fa3
21 lines
631 B
C
21 lines
631 B
C
/*
|
|
* Copyright (c) 2022, MediaTek Inc. All rights reserved.
|
|
*
|
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
*/
|
|
|
|
#ifndef VENDOR_PUBSUB_EVENTS_H
|
|
#define VENDOR_PUBSUB_EVENTS_H
|
|
|
|
#include <lib/el3_runtime/pubsub.h>
|
|
|
|
REGISTER_PUBSUB_EVENT(lpm_publish_event);
|
|
REGISTER_PUBSUB_EVENT(suspend_publish_event);
|
|
REGISTER_PUBSUB_EVENT(mt_cpupm_publish_pwr_on);
|
|
REGISTER_PUBSUB_EVENT(mt_cpupm_publish_pwr_off);
|
|
REGISTER_PUBSUB_EVENT(mt_cpupm_publish_afflv_pwr_on);
|
|
REGISTER_PUBSUB_EVENT(mt_cpupm_publish_afflv_pwr_off);
|
|
REGISTER_PUBSUB_EVENT(publish_check_wakeup_irq);
|
|
REGISTER_PUBSUB_EVENT(watchdog_timeout);
|
|
|
|
#endif /* VENDOR_PUBSUB_EVENTS_H */
|