Marian Buschsieweke c5c83cfe3c
cpu/msp430_common: Update to inline-able IRQ API
- Updated to inline-able IRQ API
- Improved robustness of functions
    - Added memory barrier to prevent the compiler from moving code outside of
      a critical section guarded by irq_disable() ... irq_restore()
- Reduced overhead of `irq_disable()`
    - After clearing the global interrupt enable (GIE) bit, IRQs remain enabled
      for up to one CPU cycle
    - The previous implementation just added a nop to fill that cycle
    - This implementation uses the cycle for masking the return value
- Reduced overhead of `irq_restore()`
    - Now only one CPU cycle is needed
- `irq_disable()`, `irq_restore()`, and `irq_enable()` work now in constant time
2020-06-25 21:32:17 +02:00
..
2020-06-24 09:27:02 +02:00
2020-06-24 15:15:43 +02:00
2020-06-18 16:39:54 +02:00
2020-06-24 00:45:35 +02:00
2020-06-16 12:05:40 +02:00
2020-06-16 12:05:40 +02:00
2020-06-16 12:05:40 +02:00
2020-06-16 12:05:40 +02:00
2020-06-24 00:45:35 +02:00
2020-06-23 11:59:56 +02:00
2017-01-20 13:36:26 +01:00