Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Skip to content
Commit 49f3bfe9 authored by Paul Mundt's avatar Paul Mundt
Browse files

sh: Setup boot CPU VBR early to enable early page faults.



vmemmap and the vmsplit code amongst others need to be able to take page
faults much earlier than trap_init() time, so move this in to the early
CPU initialization. VBR setup for secondary CPUs is already handled
through start_secondary(), so we only need to do this for the boot CPU.

Signed-off-by: default avatarPaul Mundt <lethal@linux-sh.org>
parent 1d5cfcdf
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment