[arch][arm] properly account for nonzero KERNEL_LOAD_OFFSET
This commit is contained in:
@@ -42,7 +42,7 @@ void arch_early_init(void)
|
||||
|
||||
/* set the vector base to our exception vectors so we dont need to double map at 0 */
|
||||
#if ARM_ISA_ARMV7
|
||||
arm_write_vbar(KERNEL_BASE);
|
||||
arm_write_vbar(KERNEL_BASE + KERNEL_LOAD_OFFSET);
|
||||
#endif
|
||||
|
||||
#if ARM_WITH_MMU
|
||||
|
||||
Reference in New Issue
Block a user