Remove MAX_IRQ
MAX_IRQ was used on several platforms. Remote it. This is a layer of indirection which adds no value.
This commit is contained in:
parent
403f5dace7
commit
2a0d682ff2
2 changed files with 2 additions and 4 deletions
|
|
@ -19,7 +19,6 @@
|
|||
#define BASIC_IRQ_OFFSET 32
|
||||
#define NORMAL_IRQ_OFFSET (BASIC_IRQ_OFFSET + 32)
|
||||
|
||||
#define MAX_IRQ (32 + 32 + 64 -1)
|
||||
enum IRQConstants {
|
||||
INTERRUPT_CORE_CNTPSIRQ = 0,
|
||||
INTERRUPT_CORE_CNTPNSIRQ = 1,
|
||||
|
|
@ -72,7 +71,7 @@ enum IRQConstants {
|
|||
INTERRUPT_IRQ_SPI = (NORMAL_IRQ_OFFSET + 54),
|
||||
INTERRUPT_IRQ_PCM = (NORMAL_IRQ_OFFSET + 55),
|
||||
INTERRUPT_IRQ_UART = (NORMAL_IRQ_OFFSET + 57),
|
||||
maxIRQ = MAX_IRQ
|
||||
maxIRQ = (32 + 32 + 64 - 1)
|
||||
} platform_interrupt_t;
|
||||
|
||||
#define KERNEL_TIMER_IRQ INTERRUPT_CORE_CNTVIRQ
|
||||
|
|
|
|||
|
|
@ -23,7 +23,6 @@
|
|||
#include <machine/io.h>
|
||||
#include <plat_mode/machine.h>
|
||||
|
||||
#define MAX_IRQ (187)
|
||||
enum IRQConstants {
|
||||
// INTERRUPT_RESERVED = 0,
|
||||
// INTERRUPT_RESERVED = 1,
|
||||
|
|
@ -222,7 +221,7 @@ enum IRQConstants {
|
|||
INTERRUPT_APU_REGERROR = 185,
|
||||
INTERRUPT_CCI = 186,
|
||||
INTERRUPT_SMMU = 187,
|
||||
maxIRQ = MAX_IRQ
|
||||
maxIRQ = 187
|
||||
} platform_interrupt_t;
|
||||
|
||||
#define KERNEL_TIMER_IRQ INTERRUPT_CORE_VIRT_TIMER
|
||||
|
|
|
|||
Loading…
Reference in a new issue