diff options
author | Weiwei Li <liweiwei@iscas.ac.cn> | 2023-05-17 17:15:10 +0800 |
---|---|---|
committer | Alistair Francis <alistair.francis@wdc.com> | 2023-06-13 17:08:16 +1000 |
commit | 093ce837e1facb4168fbe24974ee92220cdd1907 (patch) | |
tree | 02aa757de87bb38a2461987ab75d6e2d0ccdaa90 /target/riscv/cpu.h | |
parent | bfc7ee1224152782e6624fcc859ffa52b73c1531 (diff) |
target/riscv: Make the short cut really work in pmp_hart_has_privs
Return the result directly for short cut, since We needn't do the
following check on the PMP entries if there is no PMP rules.
Signed-off-by: Weiwei Li <liweiwei@iscas.ac.cn>
Signed-off-by: Junqiang Wang <wangjunqiang@iscas.ac.cn>
Reviewed-by: Alistair Francis <alistair.francis@wdc.com>
Message-Id: <20230517091519.34439-4-liweiwei@iscas.ac.cn>
Signed-off-by: Alistair Francis <alistair.francis@wdc.com>
Diffstat (limited to 'target/riscv/cpu.h')
0 files changed, 0 insertions, 0 deletions