[kvm-unit-tests PATCH 0/2] riscv: sbi: Rename sbi ecall wrappers

Andrew Jones andrew.jones at linux.dev
Fri Aug 30 08:53:38 PDT 2024


Just some renaming to improve readability and also add another DBCN
test to ensure we only write a single byte with write-byte. Use the
"raw" ecall for that because sbi_dbcn_write_byte now takes a uint8_t.

Andrew Jones (2):
  sbi: Rename __*_sbi_ecall to sbi_*
  sbi: dbcn: Add write-byte test with more than byte given

 riscv/sbi.c | 48 ++++++++++++++++++++++++++++++------------------
 1 file changed, 30 insertions(+), 18 deletions(-)

-- 
2.45.2




More information about the kvm-riscv mailing list