diff options
author | Tsukasa OI <research_trasio@irq.a4lg.com> | 2022-03-28 22:11:23 +0900 |
---|---|---|
committer | Alistair Francis <alistair.francis@wdc.com> | 2022-04-22 10:35:16 +1000 |
commit | 0e2c377023b3cc13f097752bd84b3cab0554997d (patch) | |
tree | fedd5c3fa02eff1d86c9a093fb7a86c7bb8dac3d /qobject/json-lexer.c | |
parent | f32d82f6c307e85b0ef4c23f93b3a0582bfbd37d (diff) | |
download | qemu-0e2c377023b3cc13f097752bd84b3cab0554997d.zip qemu-0e2c377023b3cc13f097752bd84b3cab0554997d.tar.gz qemu-0e2c377023b3cc13f097752bd84b3cab0554997d.tar.bz2 |
target/riscv: misa to ISA string conversion fix
Some bits in RISC-V `misa' CSR should not be reflected in the ISA
string. For instance, `S' and `U' (represents existence of supervisor
and user mode, respectively) in `misa' CSR must not be copied since
neither `S' nor `U' are valid single-letter extensions.
This commit also removes all reserved/dropped single-letter "extensions"
from the list.
- "B": Not going to be a single-letter extension (misa.B is reserved).
- "J": Not going to be a single-letter extension (misa.J is reserved).
- "K": Not going to be a single-letter extension (misa.K is reserved).
- "L": Dropped.
- "N": Dropped.
- "T": Dropped.
It also clarifies that the variable `riscv_single_letter_exts' is a
single-letter extension order list.
Signed-off-by: Tsukasa OI <research_trasio@irq.a4lg.com>
Reviewed-by: Alistair Francis <alistair.francis@wdc.com>
Message-Id: <4a4c11213a161a7eedabe46abe58b351bb0e2ef2.1648473008.git.research_trasio@irq.a4lg.com>
Signed-off-by: Alistair Francis <alistair.francis@wdc.com>
Diffstat (limited to 'qobject/json-lexer.c')
0 files changed, 0 insertions, 0 deletions