Ignore:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • kernel/arch/arm32/src/interrupt.c

    r0e796cc r5ac77cc  
    4040#include <ddi/device.h>
    4141#include <interrupt.h>
     42
     43/** Initial size of a table holding interrupt handlers. */
     44#define IRQ_COUNT 8
    4245
    4346/** Disable interrupts.
     
    102105void interrupt_init(void)
    103106{
    104         size_t irq_count;
    105 
    106         irq_count = machine_get_irq_count();
    107         irq_init(irq_count, irq_count);
    108 
     107        irq_init(IRQ_COUNT, IRQ_COUNT);
    109108        machine_timer_irq_start();
    110109}
Note: See TracChangeset for help on using the changeset viewer.