Benjamin Valentin
|
41a5b7ef7a
|
core: change return type of irq_is_in(), irq_is_enabled() to bool
This only cleans up the API, no change in behavior or users of the API
is expected.
|
2021-12-08 15:53:15 +01:00 |
|
Hauke Petersen
|
7baf5b4a46
|
cpu/arm7: add irq_is_enabled()
|
2021-08-25 08:01:05 +02:00 |
|
Benjamin Valentin
|
e26ed32cd6
|
cpu/arm7_common: simplify irq_restore()
We do not manipulate the CPSR register outside of irq_%, so we can just
restore it's previous value and don't have to fiddle with the IRQ MASK bit.
See https://www.keil.com/pack/doc/CMSIS/Core_A/html/group__CMSIS__CPSR.html
|
2020-05-15 13:43:04 +02:00 |
|
Benjamin Valentin
|
8d0e902d38
|
cpu/arm7_common: add inlined header only def for irq_%
|
2020-05-15 13:43:04 +02:00 |
|