Changeset 118 for trunk/hal/x86_64
- Timestamp:
- Jul 3, 2017, 12:33:10 PM (7 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/hal/x86_64/core/hal_irqmask.c
r99 r118 45 45 inline void hal_restore_irq(uint32_t old) 46 46 { 47 x86_panic((char *)__func__); 47 if (interrupts_enabled) 48 hal_disable_irq(&old); 49 else 50 hal_enable_irq(&old); 48 51 } 49 52
Note: See TracChangeset
for help on using the changeset viewer.