diff options
author | Vladimir Isaev <vladimir.isaev@syntacore.com> | 2023-02-03 16:51:55 +0300 |
---|---|---|
committer | Alistair Francis <alistair.francis@wdc.com> | 2023-02-07 08:19:23 +1000 |
commit | 947bf7fe9f0831cb6944334a06ff0b84926612b8 (patch) | |
tree | 605f63e736de6c1fc9ca7a31ad38c94a3ec67dd8 /hw | |
parent | 5fc0fc8788e08f151f5d0c47d205e009aeb33844 (diff) |
target/riscv: fix SBI getchar handler for KVM
Character must be returned via ret[0] field (copied to a0 by KVM).
Return value should be set to 0 to indicate successful processing.
Signed-off-by: Vladimir Isaev <vladimir.isaev@syntacore.com>
Reviewed-by: Alistair Francis <alistair.francis@wdc.com>
Message-Id: <20230203135155.12449-1-vladimir.isaev@syntacore.com>
Signed-off-by: Alistair Francis <alistair.francis@wdc.com>
Diffstat (limited to 'hw')
0 files changed, 0 insertions, 0 deletions