/***************************************************************************** * Copyright 2003 - 2008 Broadcom Corporation. All rights reserved. * * Unless you and Broadcom execute a separate written software license * agreement governing use of this software, this software is licensed to you * under the terms of the GNU General Public License version 2, available at * http://www.broadcom.com/licenses/GPLv2.php (the "GPL"). * * Notwithstanding the above, under no circumstances may you combine this * software in any way with any other Broadcom software provided under a * license other than the GPL, without Broadcom's express prior written * consent. *****************************************************************************/ /****************************************************************************/ /** * @file intcHw_reg.h * * @brief platform specific interrupt controller bit assignments * * @note * None */ /****************************************************************************/ #ifndef _INTCHW_REG_H #define _INTCHW_REG_H /* ---- Include Files ---------------------------------------------------- */ #include #include #include /* ---- Public Constants and Types --------------------------------------- */ #define INTCHW_NUM_IRQ_PER_INTC 32 /* Maximum number of interrupt controllers */ #define INTCHW_NUM_INTC 3 /* Defines for interrupt controllers. This simplifies and cleans up the function calls. */ #define INTCHW_INTC0 ((void *)MM_IO_BASE_INTC0) #define INTCHW_INTC1 ((void *)MM_IO_BASE_INTC1) #define INTCHW_SINTC ((void *)MM_IO_BASE_SINTC) /* INTC0 - interrupt controller 0 */ #define INTCHW_INTC0_PIF_BITNUM 31 /* Peripheral interface interrupt */ #define INTCHW_INTC0_CLCD_BITNUM 30 /* LCD Controller interrupt */ #define INTCHW_INTC0_GE_BITNUM 29 /* Graphic engine interrupt */ #define INTCHW_INTC0_APM_BITNUM 28 /* Audio process module interrupt */ #define INTCHW_INTC0_ESW_BITNUM 27 /* Ethernet switch interrupt */ #define INTCHW_INTC0_SPIH_BITNUM 26 /* SPI host interrupt */ #define INTCHW_INTC0_TIMER3_BITNUM 25 /* Timer3 interrupt */ #define INTCHW_INTC0_TIMER2_BITNUM 24 /* Timer2 interrupt */ #define INTCHW_INTC0_TIMER1_BITNUM 23 /* Timer1 interrupt */ #define INTCHW_INTC0_TIMER0_BITNUM 22 /* Timer0 interrupt */ #define INTCHW_INTC0_SDIOH1_BITNUM 21 /* SDIO1 host interrupt */ #define INTCHW_INTC0_SDIOH0_BITNUM 20 /* SDIO0 host interrupt */ #define INTCHW_INTC0_USBD_BITNUM 19 /* USB device interrupt */ #define INTCHW_INTC0_USBH1_BITNUM 18 /* USB1 host interrupt */ #define INTCHW_INTC0_USBHD2_BITNUM 17 /* USB host2/device2 interrupt */ #define INTCHW_INTC0_VPM_BITNUM 16 /* Voice process module interrupt */ #define INTCHW_INTC0_DMA1C7_BITNUM 15 /* DMA1 channel 7 interrupt */ #define INTCHW_INTC0_DMA1C6_BITNUM 14 /* DMA1 channel 6 interrupt */ #define INTCHW_INTC0_DMA1C5_BITNUM 13 /* DMA1 channel 5 interrupt */ #define INTCHW_INTC0_DMA1C4_BITNUM 12 /* DMA1 channel 4 interrupt */ #define INTCHW_INTC0_DMA1C3_BITNUM 11 /* DMA1 channel 3 interrupt */ #define INTCHW_INTC0_DMA1C2_BITNUM 10 /* DMA1 channel 2 interrupt */ #define INTCHW_INTC0_DMA1C1_BITNUM 9 /* DMA1 channel 1 interrupt */ #define INTCHW_INTC0_DMA1C0_BITNUM 8 /* DMA1 channel 0 interrupt */ #define INTCHW_INTC0_DMA0C7_BITNUM 7 /* DMA0 channel 7 interrupt */ #define INTCHW_INTC0_DMA0C6_BITNUM 6 /* DMA0 channel 6 interrupt */ #define INTCHW_INTC0_DMA0C5_BITNUM 5 /* DMA0 channel 5 interrupt */ #define INTCHW_INTC0_DMA0C4_BITNUM 4 /* DMA0 channel 4 interrupt */ #define INTCHW_INTC0_DMA0C3_BITNUM 3 /* DMA0 channel 3 interrupt */ #define INTCHW_INTC0_DMA0C2_BITNUM 2 /* DMA0 channel 2 interrupt */ #define INTCHW_INTC0_DMA0C1_BITNUM 1 /* DMA0 channel 1 interrupt */ #define INTCHW_INTC0_DMA0C0_BITNUM 0 /* DMA0 channel 0 interrupt */ #define INTCHW_INTC0_PIF (1<