[PATCH 0/1] Add Smepmp CSR define and testcases.

jiawei jiawei@iscas.ac.cn
Mon Dec 27 08:52:07 GMT 2021


Machine Security Configuration[1] (mseccfg) is a new RW Machine mode CSR,
used for configuring various security mechanisms present on the hart,
and only accessible to machine mode. It is 64 bits wide, and is at
address 0x747 on RV64 and 0x747 (low 32bits), 0x757 (high 32bits) on RV32.
We add these two CSR to support smepmp features.

[1] https://github.com/riscv/riscv-tee/tree/main/Smepmp

jiawei (1):
  RISC-V: Add Smepmp CSR.

 gas/testsuite/gas/riscv/csr-version-1p10.d  | 4 ++++
 gas/testsuite/gas/riscv/csr-version-1p10.l  | 6 ++++++
 gas/testsuite/gas/riscv/csr-version-1p11.d  | 4 ++++
 gas/testsuite/gas/riscv/csr-version-1p11.l  | 6 ++++++
 gas/testsuite/gas/riscv/csr-version-1p12.d  | 4 ++++
 gas/testsuite/gas/riscv/csr-version-1p12.l  | 2 ++
 gas/testsuite/gas/riscv/csr-version-1p9p1.d | 4 ++++
 gas/testsuite/gas/riscv/csr-version-1p9p1.l | 6 ++++++
 gas/testsuite/gas/riscv/csr.s               | 4 ++++
 include/opcode/riscv-opc.h                  | 6 ++++++
 10 files changed, 46 insertions(+)

-- 
2.25.1



More information about the Binutils mailing list