Book a Demo!
CoCalc Logo Icon
StoreFeaturesDocsShareSupportNewsAboutPoliciesSign UpSign In
awilliam
GitHub Repository: awilliam/linux-vfio
Path: blob/master/arch/arm/mach-bcmring/include/csp/intcHw.h
10820 views
1
/*****************************************************************************
2
* Copyright 2003 - 2008 Broadcom Corporation. All rights reserved.
3
*
4
* Unless you and Broadcom execute a separate written software license
5
* agreement governing use of this software, this software is licensed to you
6
* under the terms of the GNU General Public License version 2, available at
7
* http://www.broadcom.com/licenses/GPLv2.php (the "GPL").
8
*
9
* Notwithstanding the above, under no circumstances may you combine this
10
* software in any way with any other Broadcom software provided under a
11
* license other than the GPL, without Broadcom's express prior written
12
* consent.
13
*****************************************************************************/
14
15
16
/****************************************************************************/
17
/**
18
* @file intcHw.h
19
*
20
* @brief generic interrupt controller API
21
*
22
* @note
23
* None
24
*/
25
/****************************************************************************/
26
27
#ifndef _INTCHW_H
28
#define _INTCHW_H
29
30
/* ---- Include Files ---------------------------------------------------- */
31
#include <mach/csp/intcHw_reg.h>
32
33
/* ---- Public Constants and Types --------------------------------------- */
34
/* ---- Public Variable Externs ------------------------------------------ */
35
/* ---- Public Function Prototypes --------------------------------------- */
36
static inline void intcHw_irq_disable(void *basep, uint32_t mask);
37
static inline void intcHw_irq_enable(void *basep, uint32_t mask);
38
39
#endif /* _INTCHW_H */
40
41
42