blob: 72c3375e7755f173971bc830060d3147a201e960 (
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
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
|
/*
* Copyright (C) 2016 Freescale Semiconductor, Inc.
* Copyright 2017-2019 NXP
*
* SPDX-License-Identifier: BSD-3-Clause
*/
/*!
* Header file for the IRQ RPC implementation.
*
* @addtogroup IRQ_SVC
* @{
*/
#ifndef SC_IRQ_RPC_H
#define SC_IRQ_RPC_H
/* Includes */
/* Defines */
/*!
* @name Defines for RPC IRQ function calls
*/
/*@{*/
#define IRQ_FUNC_UNKNOWN 0 /* Unknown function */
#define IRQ_FUNC_ENABLE 1U /* Index for sc_irq_enable() RPC call */
#define IRQ_FUNC_STATUS 2U /* Index for sc_irq_status() RPC call */
/*@}*/
/* Types */
/* Functions */
/*!
* This function dispatches an incoming IRQ RPC request.
*
* @param[in] caller_pt caller partition
* @param[in] mu MU message came from
* @param[in] msg pointer to RPC message
*/
void irq_dispatch(sc_rm_pt_t caller_pt, sc_rsrc_t mu, sc_rpc_msg_t *msg);
#endif /* SC_IRQ_RPC_H */
/**@}*/
|