Changeset 3dea17f in mainline for kernel/arch/mips32/src/drivers/msim.c
- Timestamp:
- 2006-10-19T17:33:08Z (18 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- f0450658
- Parents:
- 80ca47e
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
kernel/arch/mips32/src/drivers/msim.c
r80ca47e r3dea17f 121 121 void msim_kbd_grab(void) 122 122 { 123 ipl_t ipl = interrupts_disable(); 124 spinlock_lock(&msim_irq.lock); 123 125 msim_irq.notif_cfg.notify = false; 126 spinlock_unlock(&msim_irq.lock); 127 interrupts_restore(ipl); 124 128 } 125 129 126 130 void msim_kbd_release(void) 127 131 { 132 ipl_t ipl = interrupts_disable(); 133 spinlock_lock(&msim_irq.lock); 128 134 if (msim_irq.notif_cfg.answerbox) 129 135 msim_irq.notif_cfg.notify = true; 136 spinlock_unlock(&msim_irq.lock); 137 interrupts_restore(ipl); 130 138 } 131 139
Note:
See TracChangeset
for help on using the changeset viewer.