[PATCH v2 0/1] lib:sbi: Enhance CSR Handling in system_opcode_insn

zhangdongdong at eswincomputing.com zhangdongdong at eswincomputing.com
Wed Jul 17 22:43:56 PDT 2024


From: Dongdong Zhang <zhangdongdong at eswincomputing.com>

Changes in v2:
    - Accepted Vivian's suggestion regarding the funct3 check.
      The code has been simplified to: if (funct3 == 0 || funct3 == 4) 
      for better clarity and conciseness.

Dongdong Zhang (1):
  lib:sbi: Enhance CSR Handling in system_opcode_insn

 include/sbi/riscv_encoding.h | 19 +++++++++++++++++-
 include/sbi/riscv_fp.h       |  1 -
 lib/sbi/sbi_illegal_insn.c   | 37 +++++++++++++++++++++++-------------
 3 files changed, 42 insertions(+), 15 deletions(-)

-- 
2.17.1




More information about the opensbi mailing list