platform/efi/riscv64: Drop extra SetSatp before jumping into kernel

* arch_enter_kernel does this anyway
* Called here, it causes a hang

Change-Id: I39d1a89d217fd0fbd55e7d91317b9d13b9758960
Reviewed-on: https://review.haiku-os.org/c/haiku/+/6181
Reviewed-by: Alex von Gluck IV <[email protected]>
Reviewed-by: David Karoly <[email protected]>
Tested-by: Automation <[email protected]>
Reviewed-by: Fredrik Holmqvist <[email protected]>
Reviewed-by: X512 <[email protected]>
This commit is contained in:
Alexander von Gluck IV
2023-03-10 00:57:31 +00:00
committed by Alex von Gluck IV
parent 26eb736c44
commit c2f017dd25
@@ -145,12 +145,6 @@ arch_start_kernel(addr_t kernelEntry)
serial_enable();
dprintf("[PRE] SetSatp()\n");
SetSatp(satp);
dprintf("[POST] SetSatp()\n");
FlushTlbAll();
dprintf("[POST] FlushTlbAll()\n");
// Copy final kernel args
// This should be the last step before jumping to the kernel
// as there are some fixups happening to kernel_args even in the last minute