Sandrine Bailleux | 3cd87d7 | 2018-10-09 11:12:55 +0200 | [diff] [blame] | 1 | /* |
2 | * Copyright (c) 2018, Arm Limited. All rights reserved. | ||||
3 | * | ||||
4 | * SPDX-License-Identifier: BSD-3-Clause | ||||
5 | */ | ||||
6 | |||||
7 | #ifndef __SGI_H__ | ||||
8 | #define __SGI_H__ | ||||
9 | |||||
10 | /* Data associated with the reception of an SGI */ | ||||
11 | typedef struct { | ||||
12 | /* Interrupt ID of the signaled interrupt */ | ||||
13 | unsigned int irq_id; | ||||
14 | } sgi_data_t; | ||||
15 | |||||
16 | /* | ||||
17 | * Send an SGI to a given core. | ||||
18 | */ | ||||
19 | void tftf_send_sgi(unsigned int sgi_id, unsigned int core_pos); | ||||
20 | |||||
21 | #endif /* __SGI_H__ */ |