mirror of
https://github.com/xen-project/xen.git
synced 2026-10-29 18:50:05 +01:00
xen/riscv: setup initial pagetables
The patch does two thing: 1. Setup initial pagetables. 2. Enable MMU which end up with code in cont_after_mmu_is_enabled() Signed-off-by: Oleksii Kurochko <oleksii.kurochko@gmail.com> Acked-by: Bobby Eshleman <bobbyeshleman@gmail.com>
This commit is contained in:
1 parent
ec337ce2e9
commit
0d74fc2b2f
1 file changed
+4
-1
@@ -21,7 +21,10 @@ void __init noreturn start_xen(unsigned long bootcpu_id,
|
||||
{
|
||||
early_printk("Hello from C env\n");
|
||||
|
||||
early_printk("All set up\n");
|
||||
setup_initial_pagetables();
|
||||
|
||||
enable_mmu();
|
||||
|
||||
for ( ;; )
|
||||
asm volatile ("wfi");
|
||||
|
||||
|
||||