summaryrefslogtreecommitdiff
path: root/payloads/libpayload/include/arm/arch
diff options
context:
space:
mode:
authorGabe Black <gabeblack@google.com>2013-12-07 04:25:01 -0800
committerIsaac Christensen <isaac.christensen@se-eng.com>2014-09-15 19:02:05 +0200
commita7991515347364504d0bd319d6a41b3750488bf3 (patch)
tree5a1ca25ff01b6171a86763a9dc699a57cc934122 /payloads/libpayload/include/arm/arch
parent125a6a22f81b3cf11732ce2a0e77652661fa0764 (diff)
libpayload: x86: Add support for catching processor exceptions.
This functionality is already available for ARM, so lets add it to x86 as well. We'll want to be able to hook exceptions when running as a remote GDB target. Change-Id: I42f640b08eb9eb86a1bcab3c327f7780191a2eb5 Signed-off-by: Gabe Black <gabeblack@google.com> Reviewed-on: https://chromium-review.googlesource.com/179601 Reviewed-by: Aaron Durbin <adurbin@chromium.org> Tested-by: Gabe Black <gabeblack@chromium.org> Commit-Queue: Gabe Black <gabeblack@chromium.org> (cherry picked from commit 5b8cf0c9f70a7e14766a2b095e6739a8d6321a34) Signed-off-by: Isaac Christensen <isaac.christensen@se-eng.com> Reviewed-on: http://review.coreboot.org/6898 Tested-by: build bot (Jenkins) Reviewed-by: Edward O'Callaghan <eocallaghan@alterapraxis.com>
Diffstat (limited to 'payloads/libpayload/include/arm/arch')
-rw-r--r--payloads/libpayload/include/arm/arch/exception.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/payloads/libpayload/include/arm/arch/exception.h b/payloads/libpayload/include/arm/arch/exception.h
index 57076bd57b..a0d9413f1c 100644
--- a/payloads/libpayload/include/arm/arch/exception.h
+++ b/payloads/libpayload/include/arm/arch/exception.h
@@ -30,9 +30,9 @@
#ifndef _ARCH_EXCEPTION_H
#define _ARCH_EXCEPTION_H
+#include <exception.h>
#include <stdint.h>
-void exception_init(void);
void set_vbar(uint32_t vbar);
#endif