aboutsummaryrefslogtreecommitdiff
path: root/VERSION
diff options
context:
space:
mode:
authorBin Meng <bmeng@tinylab.org>2022-12-29 17:18:17 +0800
committerAlistair Francis <alistair.francis@wdc.com>2023-01-20 10:14:13 +1000
commit753ae97abc7459e69d48712355118fb54268f8cb (patch)
treeb4d9eff25a3167d6d1a2a03e390ff639e4c56fa8 /VERSION
parent239b8b0699a222fd21da1c5fdeba0a2456085a47 (diff)
downloadqemu-753ae97abc7459e69d48712355118fb54268f8cb.zip
qemu-753ae97abc7459e69d48712355118fb54268f8cb.tar.gz
qemu-753ae97abc7459e69d48712355118fb54268f8cb.tar.bz2
hw/char: riscv_htif: Avoid using magic numbers
The Spike HTIF is poorly documented. The only relevant info we can get from the internet is from Andrew Waterman at [1]. Add a comment block before htif_handle_tohost_write() to explain the tohost register format, and use meaningful macros instead of magic numbers in the codes. While we are here, correct 2 multi-line comment blocks that have wrong format. Link: https://github.com/riscv-software-src/riscv-isa-sim/issues/364#issuecomment-607657754 [1] Signed-off-by: Bin Meng <bmeng@tinylab.org> Reviewed-by: Daniel Henrique Barboza <dbarboza@ventanamicro.com> Reviewed-by: Alistair Francis <alistair.francis@wdc.com> Message-Id: <20221229091828.1945072-2-bmeng@tinylab.org> Signed-off-by: Alistair Francis <alistair.francis@wdc.com>
Diffstat (limited to 'VERSION')
0 files changed, 0 insertions, 0 deletions