sgi_ras.h 483 Bytes
Newer Older
1
2
3
4
5
6
/*
 * Copyright (c) 2018, ARM Limited and Contributors. All rights reserved.
 *
 * SPDX-License-Identifier: BSD-3-Clause
 */

7
8
#ifndef SGI_RAS_H
#define SGI_RAS_H
9
10
11
12
13
14
15
16
17
18
19
20
21

/*
 * Mapping the RAS interrupt with SDEI event number and the event
 * id used with Standalone MM code
 */
struct sgi_ras_ev_map {
	int ras_ev_num;		/* RAS Event number */
	int sdei_ev_num;	/* SDEI Event number */
	int intr;		/* Physical intr number */
};

int sgi_ras_intr_handler_setup(void);

22
#endif /* SGI_RAS_H */