Sughosh Ganu | 18f513d | 2018-05-16 17:22:35 +0530 | [diff] [blame] | 1 | /* |
Thomas Abraham | 12c6a5a | 2021-02-16 12:24:13 +0530 | [diff] [blame] | 2 | * Copyright (c) 2018-2021, ARM Limited and Contributors. All rights reserved. |
Sughosh Ganu | 18f513d | 2018-05-16 17:22:35 +0530 | [diff] [blame] | 3 | * |
| 4 | * SPDX-License-Identifier: BSD-3-Clause |
| 5 | */ |
| 6 | |
Antonio Nino Diaz | 5eb8837 | 2018-11-08 10:20:19 +0000 | [diff] [blame] | 7 | #ifndef SGI_RAS_H |
| 8 | #define SGI_RAS_H |
Sughosh Ganu | 18f513d | 2018-05-16 17:22:35 +0530 | [diff] [blame] | 9 | |
| 10 | /* |
| 11 | * Mapping the RAS interrupt with SDEI event number and the event |
| 12 | * id used with Standalone MM code |
| 13 | */ |
| 14 | struct sgi_ras_ev_map { |
Sughosh Ganu | 18f513d | 2018-05-16 17:22:35 +0530 | [diff] [blame] | 15 | int sdei_ev_num; /* SDEI Event number */ |
| 16 | int intr; /* Physical intr number */ |
| 17 | }; |
| 18 | |
| 19 | int sgi_ras_intr_handler_setup(void); |
| 20 | |
Antonio Nino Diaz | 5eb8837 | 2018-11-08 10:20:19 +0000 | [diff] [blame] | 21 | #endif /* SGI_RAS_H */ |