mirror of
https://github.com/openjdk/jdk.git
synced 2026-04-01 02:30:44 +00:00
8301067: RISC-V: better error message when reporting unsupported satp modes
Reviewed-by: fyang, yadongwang
This commit is contained in:
parent
4b0e259d16
commit
633e291cfc
@ -39,7 +39,9 @@ void VM_Version::initialize() {
|
||||
|
||||
// check if satp.mode is supported, currently supports up to SV48(RV64)
|
||||
if (get_satp_mode() > VM_SV48) {
|
||||
vm_exit_during_initialization(err_msg("Unsupported satp mode: %s", _vm_mode));
|
||||
vm_exit_during_initialization(
|
||||
err_msg("Unsupported satp mode: %s. Only satp modes up to sv48 are supported for now.",
|
||||
_vm_mode));
|
||||
}
|
||||
|
||||
// https://github.com/riscv/riscv-profiles/blob/main/profiles.adoc#rva20-profiles
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user