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 <kallisti5@unixzen.com>
Reviewed-by: David Karoly <karolyd577@gmail.com>
Tested-by: Automation <automation@haiku-os.org>
Reviewed-by: Fredrik Holmqvist <fredrik.holmqvist@gmail.com>
Reviewed-by: X512 <danger_mail@list.ru>
This commit is contained in:
Alexander von Gluck IV 2023-03-09 13:49:18 -06:00 committed by Alex von Gluck IV
parent 26eb736c44
commit c2f017dd25

View File

@ -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