xref: /rk3399_ARM-atf/plat/arm/board/neoverse_rd/common/include/nrd_sdei.h (revision 27b0440a8f9b2c12ba11a97dc5c630e49ee2828a)
14ced5956SRohit Mathew /*
24ced5956SRohit Mathew  * Copyright (c) 2021-2024, Arm Limited and Contributors. All rights reserved.
34ced5956SRohit Mathew  *
44ced5956SRohit Mathew  * SPDX-License-Identifier: BSD-3-Clause
54ced5956SRohit Mathew  */
64ced5956SRohit Mathew 
74ced5956SRohit Mathew #ifndef NRD_SDEI_H
84ced5956SRohit Mathew #define NRD_SDEI_H
94ced5956SRohit Mathew 
104ced5956SRohit Mathew #if SDEI_SUPPORT
114ced5956SRohit Mathew 
124ced5956SRohit Mathew /* ARM SDEI dynamic shared event numbers */
13*75414f71SRohit Mathew #define NRD_SDEI_DS_EVENT_0		U(804)
14*75414f71SRohit Mathew #define NRD_SDEI_DS_EVENT_1		U(805)
154ced5956SRohit Mathew 
164ced5956SRohit Mathew #define PLAT_ARM_PRIVATE_SDEI_EVENTS					      \
174ced5956SRohit Mathew 		SDEI_DEFINE_EVENT_0(ARM_SDEI_SGI),			      \
18*75414f71SRohit Mathew 		SDEI_EXPLICIT_EVENT(NRD_SDEI_DS_EVENT_0, SDEI_MAPF_CRITICAL), \
19*75414f71SRohit Mathew 		SDEI_EXPLICIT_EVENT(NRD_SDEI_DS_EVENT_1, SDEI_MAPF_CRITICAL),
204ced5956SRohit Mathew 
214ced5956SRohit Mathew #define PLAT_ARM_SHARED_SDEI_EVENTS
224ced5956SRohit Mathew 
234ced5956SRohit Mathew #endif /* SDEI_SUPPORT */
244ced5956SRohit Mathew 
254ced5956SRohit Mathew #endif /* NRD_SDEI_H */
26