Changeset 63e27ef in mainline for kernel/arch/ia32/src/interrupt.c


Ignore:
Timestamp:
2017-06-19T21:47:42Z (7 years ago)
Author:
Jiri Svoboda <jiri@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
deacc58d
Parents:
7354b5e
Message:

ASSERT → assert

File:
1 edited

Legend:

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

    r7354b5e r63e27ef  
    3434
    3535#include <arch/interrupt.h>
     36#include <assert.h>
    3637#include <syscall/syscall.h>
    3738#include <print.h>
     
    183184static void irq_interrupt(unsigned int n, istate_t *istate __attribute__((unused)))
    184185{
    185         ASSERT(n >= IVT_IRQBASE);
     186        assert(n >= IVT_IRQBASE);
    186187       
    187188        unsigned int inum = n - IVT_IRQBASE;
    188189        bool ack = false;
    189         ASSERT(inum < IRQ_COUNT);
    190         ASSERT((inum != IRQ_PIC_SPUR) && (inum != IRQ_PIC1));
     190        assert(inum < IRQ_COUNT);
     191        assert((inum != IRQ_PIC_SPUR) && (inum != IRQ_PIC1));
    191192       
    192193        irq_t *irq = irq_dispatch_and_lock(inum);
Note: See TracChangeset for help on using the changeset viewer.