Changeset 95c675b in mainline for kernel/arch/amd64/src/interrupt.c
- Timestamp:
- 2017-10-17T13:11:35Z (7 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 60af4cdb
- Parents:
- dbf32b1 (diff), a416d070 (diff)
Note: this is a merge changeset, the changes displayed below correspond to the merge itself.
Use the(diff)
links above to see all the changes relative to each parent. - File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
kernel/arch/amd64/src/interrupt.c
rdbf32b1 r95c675b 34 34 35 35 #include <arch/interrupt.h> 36 #include <assert.h> 36 37 #include <print.h> 37 38 #include <log.h> 38 #include <debug.h>39 39 #include <panic.h> 40 40 #include <arch/drivers/i8259.h> … … 175 175 static void irq_interrupt(unsigned int n, istate_t *istate) 176 176 { 177 ASSERT(n >= IVT_IRQBASE);177 assert(n >= IVT_IRQBASE); 178 178 179 179 unsigned int inum = n - IVT_IRQBASE; 180 180 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)); 183 183 184 184 irq_t *irq = irq_dispatch_and_lock(inum);
Note:
See TracChangeset
for help on using the changeset viewer.