blob: 18c3749c323d2a5760d4c4f4bca6b687db96243b [file] [log] [blame]
Jan Kiszkae1407fc2020-07-14 22:36:59 +02001/*
Michal Simek2a47faa2023-04-14 08:43:51 +02002 * Copyright (c) 2017-2019, Arm Limited and Contributors. All rights reserved.
Jan Kiszkae1407fc2020-07-14 22:36:59 +02003 * Copyright (c) Siemens AG, 2020-2021
4 *
5 * SPDX-License-Identifier: BSD-3-Clause
6 */
7
Jan Kiszkae1407fc2020-07-14 22:36:59 +02008#include <bl31/ehf.h>
9
Prasad Kummari536e1102023-06-22 10:50:02 +053010#include <platform_def.h>
11
Jan Kiszkae1407fc2020-07-14 22:36:59 +020012/*
13 * Enumeration of priority levels on ARM platforms.
14 */
15ehf_pri_desc_t zynqmp_exceptions[] = {
16 /* Critical priority SDEI */
17 EHF_PRI_DESC(PLAT_PRI_BITS, PLAT_SDEI_CRITICAL_PRI),
18
19 /* Normal priority SDEI */
20 EHF_PRI_DESC(PLAT_PRI_BITS, PLAT_SDEI_NORMAL_PRI),
21};
22
23/* Plug in ARM exceptions to Exception Handling Framework. */
24EHF_REGISTER_PRIORITIES(zynqmp_exceptions, ARRAY_SIZE(zynqmp_exceptions), PLAT_PRI_BITS);