1 /*
2  * Arm SCP/MCP Software
3  * Copyright (c) 2015-2021, Arm Limited and Contributors. All rights reserved.
4  *
5  * SPDX-License-Identifier: BSD-3-Clause
6  *
7  * Description:
8  *     Interrupt management internal resources.
9  */
10 
11 #ifndef INTERNAL_FWK_INTERRUPT_H
12 #define INTERNAL_FWK_INTERRUPT_H
13 
14 /*!
15  * \addtogroup GroupLibFramework Framework
16  * \{
17  */
18 
19 /*!
20  * \defgroup GroupInterrupt Interrupt Management
21  * \{
22  */
23 
24 /*!
25  * \brief Set the fault interrupt service routine. This is used internally by
26  *      the framework for test purposes.
27  *
28  * \param isr Pointer to the fault interrupt service routine function.
29  *
30  * \retval ::FWK_SUCCESS Operation succeeded.
31  * \retval ::FWK_E_PARAM One or more parameters were invalid.
32  * \retval ::FWK_E_INIT The component has not been initialized.
33  */
34 int fwk_interrupt_set_isr_fault(void (*isr)(void));
35 
36 /*!
37  * \}
38  */
39 
40 /*!
41  * \}
42  */
43 
44 #endif /* INTERNAL_FWK_INTERRUPT_H */
45