blob: f380122bb36b28c59cbe8448b8c906cd0464416e [file] [log] [blame]
Thomas Abraham09641592021-02-16 12:23:56 +05301/*
2 * Copyright (c) 2021, ARM Limited and Contributors. All rights reserved.
3 *
4 * SPDX-License-Identifier: BSD-3-Clause
5 */
6
7#ifndef SGI_SDEI_H
8#define SGI_SDEI_H
9
10#if SDEI_SUPPORT
11
12/* ARM SDEI dynamic shared event numbers */
13#define SGI_SDEI_DS_EVENT_0 U(804)
14#define SGI_SDEI_DS_EVENT_1 U(805)
15
16#define PLAT_ARM_PRIVATE_SDEI_EVENTS \
17 SDEI_DEFINE_EVENT_0(ARM_SDEI_SGI), \
18 SDEI_EXPLICIT_EVENT(SGI_SDEI_DS_EVENT_0, SDEI_MAPF_CRITICAL), \
19 SDEI_EXPLICIT_EVENT(SGI_SDEI_DS_EVENT_1, SDEI_MAPF_CRITICAL),
20
21#define PLAT_ARM_SHARED_SDEI_EVENTS
22
23#endif /* SDEI_SUPPORT */
24
25#endif /* SGI_SDEI_H */