diff options
author | Furquan Shaikh <furquan@google.com> | 2014-09-08 18:04:18 -0700 |
---|---|---|
committer | Patrick Georgi <pgeorgi@google.com> | 2015-03-28 07:04:45 +0100 |
commit | 4aa761616b38c63f0402c2a01cea26fdff6f78a7 (patch) | |
tree | 59dca35fec694062adcfab5776137585b3494301 /src/arch/arm64/include | |
parent | 668316bdccdb0372c7e450398ad1c81a9205d158 (diff) |
arm64: Make exceptions use the transition library
Transition library acts as a common interface for handling exceptions. The only
thing that needs to be implemented by exception.c is the exc_dispatch routine to
handle the exceptions as required.
BUG=chrome-os-partner:30785
BRANCH=None
TEST=Compiles successfully and exceptions are tested using test_exc
Change-Id: I90b4861909189adfe8449b9d4590965e6b743c00
Signed-off-by: Patrick Georgi <pgeorgi@chromium.org>
Original-Commit-Id: b83c9404407dd4dd2dda4e4eaed0b443f0f58425
Original-Change-Id: Ibb643d7ea2f9aabbc66439549ea2168fd66ced5e
Original-Signed-off-by: Furquan Shaikh <furquan@google.com>
Original-Reviewed-on: https://chromium-review.googlesource.com/217143
Original-Reviewed-by: Aaron Durbin <adurbin@chromium.org>
Original-Tested-by: Furquan Shaikh <furquan@chromium.org>
Original-Commit-Queue: Furquan Shaikh <furquan@chromium.org>
Reviewed-on: http://review.coreboot.org/9071
Tested-by: build bot (Jenkins)
Reviewed-by: Stefan Reinauer <stefan.reinauer@coreboot.org>
Diffstat (limited to 'src/arch/arm64/include')
-rw-r--r-- | src/arch/arm64/include/armv8/arch/exception.h | 11 |
1 files changed, 0 insertions, 11 deletions
diff --git a/src/arch/arm64/include/armv8/arch/exception.h b/src/arch/arm64/include/armv8/arch/exception.h index abb80931e6..11ffcb61f6 100644 --- a/src/arch/arm64/include/armv8/arch/exception.h +++ b/src/arch/arm64/include/armv8/arch/exception.h @@ -30,19 +30,8 @@ #ifndef _ARCH_EXCEPTION_H #define _ARCH_EXCEPTION_H -#include <stdint.h> - -struct exception_state -{ - uint64_t elr; - uint64_t esr; - uint64_t regs[31]; -} __attribute__((packed)); - /* Initialize the exception handling on the current CPU. */ void exception_hwinit(void); void exception_init(void); -void set_vbar(void *vbar); -void exception_dispatch(struct exception_state *state, int idx); #endif |