summaryrefslogtreecommitdiff
path: root/payloads/libpayload/include
diff options
context:
space:
mode:
Diffstat (limited to 'payloads/libpayload/include')
-rw-r--r--payloads/libpayload/include/exception.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/payloads/libpayload/include/exception.h b/payloads/libpayload/include/exception.h
index 67923ea9af..7a7bc46d26 100644
--- a/payloads/libpayload/include/exception.h
+++ b/payloads/libpayload/include/exception.h
@@ -36,6 +36,10 @@
typedef int (*exception_hook)(u32 type);
void exception_init(void);
+/* Deprecated, use set_interrupt_handler. */
void exception_install_hook(exception_hook h);
+typedef void (*interrupt_handler)(u8 vector);
+void set_interrupt_handler(u8 vector, interrupt_handler handler);
+
#endif