summaryrefslogtreecommitdiff
path: root/interrupt/default_handlers.cpp.j2
blob: a85ccf92842d8ba1f34c6d44b1feaa83a8ad0b3d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
// This file is auto-generated from a template!
// You should reconsider editing!
#include "interrupt.h"

extern "C" void default_blocking_handler() {
	while(1);
}

{% for type, entries in interrupts.items() %}
	{% for name in entries.values() %}
template<>
[[gnu::weak, gnu::alias("default_blocking_handler")]]
void interrupt::handler<interrupt::{{ type }}::{{ name }}>();

	{% endfor %}

{% endfor %}