blob: cc4c16d3fa9b5cd9dc4433aac9444cf9ce812eb3 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
|
#include "interrupt.h"
extern "C" void default_blocking_handler() {
while(1);
}
{% for exc in exceptions.values() %}
template<>
[[gnu::weak, gnu::alias("default_blocking_handler")]]
void interrupt<Exception::{{ exc }}>();
{% endfor %}
{% for irq in irqs.values() %}
template<>
[[gnu::weak, gnu::alias("default_blocking_handler")]]
void interrupt<IRQ::{{ irq }}>();
{% endfor %}
|