imx_ehf.c 499 B

12345678910111213141516171819202122
  1. /*
  2. * Copyright 2020 NXP
  3. *
  4. * SPDX-License-Identifier: BSD-3-Clause
  5. */
  6. #include <bl31/ehf.h>
  7. #include <platform_def.h>
  8. ehf_pri_desc_t imx_exceptions[] = {
  9. #if SDEI_SUPPORT
  10. /* Critical priority SDEI */
  11. EHF_PRI_DESC(PLAT_PRI_BITS, PLAT_SDEI_CRITICAL_PRI),
  12. /* Normal priority SDEI */
  13. EHF_PRI_DESC(PLAT_PRI_BITS, PLAT_SDEI_NORMAL_PRI),
  14. #endif
  15. };
  16. /* Plug in ARM exceptions to Exception Handling Framework. */
  17. EHF_REGISTER_PRIORITIES(imx_exceptions, ARRAY_SIZE(imx_exceptions), PLAT_PRI_BITS);