summaryrefslogtreecommitdiff
path: root/src/arch/arm64/armv8/exception.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/arch/arm64/armv8/exception.c')
-rw-r--r--src/arch/arm64/armv8/exception.c9
1 files changed, 7 insertions, 2 deletions
diff --git a/src/arch/arm64/armv8/exception.c b/src/arch/arm64/armv8/exception.c
index 4b4d7b7185..d9a63c3a81 100644
--- a/src/arch/arm64/armv8/exception.c
+++ b/src/arch/arm64/armv8/exception.c
@@ -127,11 +127,16 @@ static uint64_t test_exception(void)
return 0;
}
-void exception_init(void)
+void exception_hwinit(void)
{
extern void *exception_table;
-
set_vbar(&exception_table);
+}
+
+void exception_init(void)
+{
+ /* Load the exception table. */
+ exception_hwinit();
printk(BIOS_DEBUG, "ARM64: Exception handlers installed.\n");