qemu_sdei.c 647 B

123456789101112131415161718192021222324252627282930
  1. /*
  2. * Copyright (c) 2023, ARM Limited and Contributors. All rights reserved.
  3. *
  4. * SPDX-License-Identifier: BSD-3-Clause
  5. */
  6. /* SDEI configuration for ARM platforms */
  7. #include <bl31/ehf.h>
  8. #include <common/debug.h>
  9. #include <lib/utils_def.h>
  10. #include <services/sdei.h>
  11. #include <platform_def.h>
  12. /* Private event mappings */
  13. static sdei_ev_map_t qemu_sdei_private[] = {
  14. SDEI_DEFINE_EVENT_0(PLAT_SDEI_SGI_PRIVATE),
  15. };
  16. /* Shared event mappings */
  17. static sdei_ev_map_t qemu_sdei_shared[] = {
  18. };
  19. void plat_sdei_setup(void)
  20. {
  21. INFO("SDEI platform setup\n");
  22. }
  23. /* Export Arm SDEI events */
  24. REGISTER_SDEI_MAP(qemu_sdei_private, qemu_sdei_shared);