[arch][arm] properly account for nonzero KERNEL_LOAD_OFFSET

This commit is contained in:
Travis Geiselbrecht
2014-08-13 15:57:47 -07:00
parent 82fa2c8d7e
commit 7bee272085

View File

@@ -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