rv64: fix smp init in asymmetric systems

This commit is contained in:
2025-01-21 16:53:57 +02:00
parent 909980f4eb
commit cfc11c402a
4 changed files with 36 additions and 21 deletions
-1
View File
@@ -121,7 +121,6 @@ impl<K: KernelTableManager, PA: PhysicalMemoryAllocator<Address = PhysicalAddres
let sp = stack.build();
// TODO stack is leaked
log::info!("stack = {:#x}", stack_base);
let satp = InMemoryRegister::new(0);
let kernel_table_phys =
((&raw const mem::KERNEL_TABLES).addr() - KERNEL_VIRT_OFFSET) as u64;