blob: fbf1ed04b3daca690f0899e3b09272d57e927599 [file] [log] [blame]
Jan Kiszkae1407fc2020-07-14 22:36:59 +02001/*
2 * Copyright (c) 2017-2019, ARM Limited and Contributors. All rights reserved.
3 * 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);