Remove N_INTERRUPTS constant

The N_INTERRUPTS constant is never used. maxIRQ tracks this value.
This commit is contained in:
Anna Lyons 2018-12-10 14:29:03 +11:00
parent e5bb674594
commit 403f5dace7
16 changed files with 0 additions and 34 deletions

View file

@ -13,8 +13,6 @@
#include <arch/machine/gic_pl390.h>
#define N_INTERRUPTS 122
enum IRQConstants {
SGI_0 = 0,
SGI_1 = 1,

View file

@ -11,8 +11,6 @@
#ifndef __PLAT_MACHINE_H
#define __PLAT_MACHINE_H
#define N_INTERRUPTS 128
enum IRQConstants {
DMTIMER0_IRQ = 66,
SYS_INT_3PGSWRXINT0 = 41,

View file

@ -13,8 +13,6 @@
#include <arch/machine/gic_pl390.h>
#define N_INTERRUPTS (maxIRQ + 1)
enum IRQConstants {
// INTERRUPT_RESERVED = 0,
// INTERRUPT_RESERVED = 1,

View file

@ -16,8 +16,6 @@
#include <plat_mode/machine.h>
#include <machine/io.h>
#define N_INTERRUPTS 96
#define BASIC_IRQ_OFFSET 32
#define NORMAL_IRQ_OFFSET (BASIC_IRQ_OFFSET + 32)

View file

@ -11,8 +11,6 @@
#ifndef __PLAT_MACHINE_H
#define __PLAT_MACHINE_H
#define N_INTERRUPTS 160
enum IRQConstants {
// INTERRUPT_RESERVED = 0,
// INTERRUPT_RESERVED = 1,

View file

@ -13,8 +13,6 @@
#include <config.h>
#define N_INTERRUPTS 160
enum IRQConstants {
// INTERRUPT_RESERVED = 0,
// INTERRUPT_RESERVED = 1,

View file

@ -13,8 +13,6 @@
#include <plat_mode/machine.h>
#define N_INTERRUPTS 160
enum IRQConstants {
// INTERRUPT_RESERVED = 0,
// INTERRUPT_RESERVED = 1,

View file

@ -13,8 +13,6 @@
#define KERNEL_TIMER_IRQ INTERRUPT_EPIT1
#define N_INTERRUPTS 64
enum IRQConstants {
INTERRUPT_PMU = 23,
INTERRUPT_EPIT1 = 28,

View file

@ -11,9 +11,6 @@
#ifndef __PLAT_MACHINE_H
#define __PLAT_MACHINE_H
#define N_INTERRUPTS 160
enum IRQConstants {
// INTERRUPT_RESERVED = 0,
// INTERRUPT_RESERVED = 1,

View file

@ -13,8 +13,6 @@
#include <arch/machine/gic_pl390.h>
#define N_INTERRUPTS 160
/* pull some device interrupts from Linux device tree, need to
* confirm them when the offcial manual is available.
*/

View file

@ -11,8 +11,6 @@
#ifndef __PLAT_MACHINE_H
#define __PLAT_MACHINE_H
#define N_INTERRUPTS 96
enum IRQConstants {
EMUINT = 0,
COMMTX = 1,

View file

@ -19,9 +19,6 @@
#ifndef __PLAT_MACHINE_H
#define __PLAT_MACHINE_H
#define N_INTERRUPTS 6
#ifndef __ASSEMBLER__
enum IRQConstants {
INTERRUPT_SW = 0,

View file

@ -13,8 +13,6 @@
#include <config.h>
#define N_INTERRUPTS 192
enum IRQConstants {
INTERRUPT_SGI_0 = 0,
INTERRUPT_SGI_1 = 1,

View file

@ -13,8 +13,6 @@
#ifndef __PLAT_MACHINE_H
#define __PLAT_MACHINE_H
#define N_INTERRUPTS 224
enum IRQConstants {
INTERRUPT_SGI_0 = 0,
INTERRUPT_SGI_1 = 1,

View file

@ -11,8 +11,6 @@
#ifndef __PLAT_MACHINE_H
#define __PLAT_MACHINE_H
#define N_INTERRUPTS 160
enum IRQConstants {
// INTERRUPT_RESERVED = 0,
// INTERRUPT_RESERVED = 1,

View file

@ -23,8 +23,6 @@
#include <machine/io.h>
#include <plat_mode/machine.h>
#define N_INTERRUPTS 96
#define MAX_IRQ (187)
enum IRQConstants {
// INTERRUPT_RESERVED = 0,