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:
Oleksii Kurochko authored and Jan Beulich committed 2023-05-31 12:00:05 +02:00
1 parent ec337ce2e9
commit 0d74fc2b2f
1 file changed
+4 -1
+4 -1
View File
@@ -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");
Reference in new issue
Block a user
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.