Ignore:
File:
1 edited

Legend:

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

    r4b0206c r9bf4488  
    3434
    3535#include <arch/interrupt.h>
     36#include <assert.h>
    3637#include <print.h>
    3738#include <log.h>
    38 #include <debug.h>
    3939#include <panic.h>
    4040#include <arch/drivers/i8259.h>
     
    175175static void irq_interrupt(unsigned int n, istate_t *istate)
    176176{
    177         ASSERT(n >= IVT_IRQBASE);
     177        assert(n >= IVT_IRQBASE);
    178178       
    179179        unsigned int inum = n - IVT_IRQBASE;
    180180        bool ack = false;
    181         ASSERT(inum < IRQ_COUNT);
    182         ASSERT((inum != IRQ_PIC_SPUR) && (inum != IRQ_PIC1));
     181        assert(inum < IRQ_COUNT);
     182        assert((inum != IRQ_PIC_SPUR) && (inum != IRQ_PIC1));
    183183       
    184184        irq_t *irq = irq_dispatch_and_lock(inum);
Note: See TracChangeset for help on using the changeset viewer.