summaryrefslogtreecommitdiff
path: root/payloads/libpayload/include/exception.h
diff options
context:
space:
mode:
Diffstat (limited to 'payloads/libpayload/include/exception.h')
-rw-r--r--payloads/libpayload/include/exception.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/payloads/libpayload/include/exception.h b/payloads/libpayload/include/exception.h
index 6d118e7ba6..1d9b832c07 100644
--- a/payloads/libpayload/include/exception.h
+++ b/payloads/libpayload/include/exception.h
@@ -30,8 +30,11 @@
#ifndef _EXCEPTION_H
#define _EXCEPTION_H
-#include <stdint.h>
+#include <arch/exception.h>
+
+typedef void (*exception_hook)(int type, struct exception_state *state);
void exception_init(void);
+void exception_install_hook(int type, exception_hook hook);
#endif