zynqmp_ehf.c 639 B

123456789101112131415161718192021222324
  1. /*
  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. #include <bl31/ehf.h>
  8. #include <platform_def.h>
  9. /*
  10. * Enumeration of priority levels on ARM platforms.
  11. */
  12. ehf_pri_desc_t zynqmp_exceptions[] = {
  13. /* Critical priority SDEI */
  14. EHF_PRI_DESC(PLAT_PRI_BITS, PLAT_SDEI_CRITICAL_PRI),
  15. /* Normal priority SDEI */
  16. EHF_PRI_DESC(PLAT_PRI_BITS, PLAT_SDEI_NORMAL_PRI),
  17. };
  18. /* Plug in ARM exceptions to Exception Handling Framework. */
  19. EHF_REGISTER_PRIORITIES(zynqmp_exceptions, ARRAY_SIZE(zynqmp_exceptions), PLAT_PRI_BITS);