blob: 56dc79c850cf72015fd8b633fd9a54ceb6455453 [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
8#include <platform_def.h>
9
10#include <bl31/ehf.h>
11
12/*
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);