Added an API for user exception handlers

This commit is contained in:
Sakari Kapanen 2017-08-12 00:54:35 +03:00
parent 42ccb47eb3
commit 4838072ecf
2 changed files with 22 additions and 0 deletions

View file

@ -0,0 +1,9 @@
/* Allows the user to set their own exception handler. */
#ifndef _USER_EXCEPTION_H
#define _USER_EXCEPTION_H
void set_user_exception_handler(void (*fn)(void));
#endif