&gicv3.rdist_count) )
gicv3.rdist_count = 1;
- if ( gicv3.rdist_count > MAX_RDIST_COUNT )
- panic("GICv3: Number of redistributor regions is more than"
- "%d (Increase MAX_RDIST_COUNT!!)\n", MAX_RDIST_COUNT);
-
rdist_regs = xzalloc_array(struct rdist_region, gicv3.rdist_count);
if ( !rdist_regs )
panic("GICv3: Failed to allocate memory for rdist regions\n");
gicr_table = false;
}
- if ( count > MAX_RDIST_COUNT )
- panic("GICv3: Number of redistributor regions is more than"
- "%d (Increase MAX_RDIST_COUNT!!)\n", MAX_RDIST_COUNT);
-
rdist_regs = xzalloc_array(struct rdist_region, count);
if ( !rdist_regs )
panic("GICv3: Failed to allocate memory for rdist regions\n");
#define NR_GIC_LOCAL_IRQS NR_LOCAL_IRQS
#define NR_GIC_SGI 16
-#define MAX_RDIST_COUNT 4
#define GICD_CTLR (0x000)
#define GICD_TYPER (0x004)