Skip to content
Snippets Groups Projects
Commit ef1ba32a authored by Weiwei Li's avatar Weiwei Li Committed by Alistair Francis
Browse files

target/riscv: update cur_pmbase/pmmask based on mode affected by MPRV


Pointer mask is also affected by MPRV which means cur_pmbase/pmmask
should also take MPRV into consideration. As pointer mask for instruction
is not supported currently, so we can directly update cur_pmbase/pmmask
based on address related mode and xlen affected by MPRV now.

Signed-off-by: default avatarWeiwei Li <liweiwei@iscas.ac.cn>
Signed-off-by: default avatarJunqiang Wang <wangjunqiang@iscas.ac.cn>
Reviewed-by: default avatarDaniel Henrique Barboza <dbarboza@ventanamicro.com>
Message-Id: <20230614032547.35895-3-liweiwei@iscas.ac.cn>
Signed-off-by: default avatarAlistair Francis <alistair.francis@wdc.com>
parent 3a610f54
No related branches found
No related tags found
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment