summaryrefslogtreecommitdiff
path: root/payloads/libpayload/arch/x86/main.c
diff options
context:
space:
mode:
Diffstat (limited to 'payloads/libpayload/arch/x86/main.c')
-rw-r--r--payloads/libpayload/arch/x86/main.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/payloads/libpayload/arch/x86/main.c b/payloads/libpayload/arch/x86/main.c
index c788f0f670..ee52a937e6 100644
--- a/payloads/libpayload/arch/x86/main.c
+++ b/payloads/libpayload/arch/x86/main.c
@@ -27,6 +27,7 @@
* SUCH DAMAGE.
*/
+#include <exception.h>
#include <libpayload.h>
unsigned long loader_eax; /**< The value of EAX passed from the loader */
@@ -54,6 +55,8 @@ void start_main(void)
console_init();
#endif
+ exception_init();
+
/*
* Any other system init that has to happen before the
* user gets control goes here.