summaryrefslogtreecommitdiffstats
path: root/plat/qemu/common/qemu_sdei.c
blob: 820567eeb037759b4c9546bc46cab1629a105a61 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
/*
 * Copyright (c) 2023, ARM Limited and Contributors. All rights reserved.
 *
 * SPDX-License-Identifier: BSD-3-Clause
 */

/* SDEI configuration for ARM platforms */

#include <bl31/ehf.h>
#include <common/debug.h>
#include <lib/utils_def.h>
#include <services/sdei.h>
#include <platform_def.h>

/* Private event mappings */
static sdei_ev_map_t qemu_sdei_private[] = {
	SDEI_DEFINE_EVENT_0(PLAT_SDEI_SGI_PRIVATE),
};

/* Shared event mappings */
static sdei_ev_map_t qemu_sdei_shared[] = {
};

void plat_sdei_setup(void)
{
	INFO("SDEI platform setup\n");
}

/* Export Arm SDEI events */
REGISTER_SDEI_MAP(qemu_sdei_private, qemu_sdei_shared);