mirror of
https://github.com/ARM-software/arm-trusted-firmware.git
synced 2025-04-26 06:50:10 +00:00

Add sdei support for i.MX8MM, this is to let jailhouse Hypervisor could use SDEI to do hypervisor management, after physical IRQ has been disabled routing. Signed-off-by: Peng Fan <peng.fan@nxp.com> Change-Id: I5fd697fee22df151e13d0f1335e8ac8a7bae6189
22 lines
499 B
C
22 lines
499 B
C
/*
|
|
* Copyright 2020 NXP
|
|
*
|
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
*/
|
|
|
|
#include <bl31/ehf.h>
|
|
|
|
#include <platform_def.h>
|
|
|
|
ehf_pri_desc_t imx_exceptions[] = {
|
|
#if SDEI_SUPPORT
|
|
/* Critical priority SDEI */
|
|
EHF_PRI_DESC(PLAT_PRI_BITS, PLAT_SDEI_CRITICAL_PRI),
|
|
|
|
/* Normal priority SDEI */
|
|
EHF_PRI_DESC(PLAT_PRI_BITS, PLAT_SDEI_NORMAL_PRI),
|
|
#endif
|
|
};
|
|
|
|
/* Plug in ARM exceptions to Exception Handling Framework. */
|
|
EHF_REGISTER_PRIORITIES(imx_exceptions, ARRAY_SIZE(imx_exceptions), PLAT_PRI_BITS);
|