mirror of
https://github.com/yuzu-emu/unicorn.git
synced 2024-12-23 10:35:27 +00:00
target/riscv: Set privledge spec 1.11.0 as default
Set the priv spec version 1.11.0 as the default and allow selecting it via the command line. Backports commit e3147506b02edcdd7c14ebb41a10fcc3027dcc5c from qemu
This commit is contained in:
parent
2ed6459e98
commit
e006204543
|
@ -106,7 +106,7 @@ static void riscv_any_cpu_init(struct uc_struct *uc, Object *obj, void *opaque)
|
|||
{
|
||||
CPURISCVState *env = &RISCV_CPU(uc, obj)->env;
|
||||
set_misa(env, RVXLEN | RVI | RVM | RVA | RVF | RVD | RVC | RVU);
|
||||
set_versions(env, USER_VERSION_2_02_0, PRIV_VERSION_1_10_0);
|
||||
set_versions(env, USER_VERSION_2_02_0, PRIV_VERSION_1_11_0);
|
||||
set_resetvec(env, DEFAULT_RSTVEC);
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue