Skip to content

Commit

Permalink
target/riscv: Add svukte extension capability variable
Browse files Browse the repository at this point in the history
Refer to the draft of svukte extension from:
riscv/riscv-isa-manual#1564

Svukte provides a means to make user-mode accesses to supervisor memory
raise page faults in constant time, mitigating attacks that attempt to
discover the supervisor software's address-space layout.

Signed-off-by: Fea.Wang <fea.wang@sifive.com>
Reviewed-by: Frank Chang <frank.chang@sifive.com>
Reviewed-by: Jim Shu <jim.shu@sifive.com>
  • Loading branch information
fea-wang authored and GitHub Actions Bot committed Nov 8, 2024
1 parent feef186 commit 6d51deb
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions target/riscv/cpu_cfg.h
Original file line number Diff line number Diff line change
Expand Up @@ -84,6 +84,7 @@ struct RISCVCPUConfig {
bool ext_svnapot;
bool ext_svpbmt;
bool ext_svvptc;
bool ext_svukte;
bool ext_zdinx;
bool ext_zaamo;
bool ext_zacas;
Expand Down

0 comments on commit 6d51deb

Please sign in to comment.