shithub: riscv

Download patch

ref: 8cb33f2f18d8383fd78368110b3a78c7732da6f9
parent: e8111e517d0129f33594c4718691e41ced0b2018
author: cinap_lenrek <cinap_lenrek@felloff.net>
date: Tue Nov 17 18:18:08 EST 2020

pc/l.s: load virtual gdt pointer after mmu switch

before removing the double map at 0, load our
initial gdt pointer with its new KZERO based
virtual address.

this is prerequisite for handling traps early during
bootup before mmuinit() loads the final gdt.