Changeset 63e27ef in mainline for kernel/genarch/include/genarch/drivers/bcm2835/irc.h
- Timestamp:
- 2017-06-19T21:47:42Z (7 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- deacc58d
- Parents:
- 7354b5e
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
kernel/genarch/include/genarch/drivers/bcm2835/irc.h
r7354b5e r63e27ef 38 38 #define KERN_BCM2835_IRQC_H_ 39 39 40 #include <assert.h> 40 41 #include <typedefs.h> 41 42 … … 158 159 static inline void bcm2835_irc_enable(bcm2835_irc_t *regs, unsigned inum) 159 160 { 160 ASSERT(inum < BCM2835_IRQ_COUNT);161 assert(inum < BCM2835_IRQ_COUNT); 161 162 regs->irq_enable[IRQ_TO_BANK(inum)] |= (1 << IRQ_TO_NUM(inum)); 162 163 } … … 164 165 static inline void bcm2835_irc_disable(bcm2835_irc_t *regs, unsigned inum) 165 166 { 166 ASSERT(inum < BCM2835_IRQ_COUNT);167 assert(inum < BCM2835_IRQ_COUNT); 167 168 regs->irq_disable[IRQ_TO_BANK(inum)] |= (1 << IRQ_TO_NUM(inum)); 168 169 }
Note:
See TracChangeset
for help on using the changeset viewer.