blob: e69a6844c84e22fccc2509a0030106c7e240ffa4 [file] [log] [blame]
Sughosh Ganu18f513d2018-05-16 17:22:35 +05301/*
Thomas Abraham12c6a5a2021-02-16 12:24:13 +05302 * Copyright (c) 2018-2021, ARM Limited and Contributors. All rights reserved.
Sughosh Ganu18f513d2018-05-16 17:22:35 +05303 *
4 * SPDX-License-Identifier: BSD-3-Clause
5 */
6
Antonio Nino Diaz5eb88372018-11-08 10:20:19 +00007#ifndef SGI_RAS_H
8#define SGI_RAS_H
Sughosh Ganu18f513d2018-05-16 17:22:35 +05309
10/*
11 * Mapping the RAS interrupt with SDEI event number and the event
12 * id used with Standalone MM code
13 */
14struct sgi_ras_ev_map {
Sughosh Ganu18f513d2018-05-16 17:22:35 +053015 int sdei_ev_num; /* SDEI Event number */
16 int intr; /* Physical intr number */
17};
18
19int sgi_ras_intr_handler_setup(void);
20
Antonio Nino Diaz5eb88372018-11-08 10:20:19 +000021#endif /* SGI_RAS_H */