summaryrefslogtreecommitdiffstats
path: root/target
diff options
context:
space:
mode:
authorAnup Patel2020-02-02 14:42:17 +0100
committerPalmer Dabbelt2020-02-27 22:46:37 +0100
commit5f3616ccceb5d5c49f99838c78498e581fb42fc5 (patch)
treed44d99603f2329c984d4d9d2ba3ffccab382b50a /target
parenttarget/riscv: Emulate TIME CSRs for privileged mode (diff)
downloadqemu-5f3616ccceb5d5c49f99838c78498e581fb42fc5.tar.gz
qemu-5f3616ccceb5d5c49f99838c78498e581fb42fc5.tar.xz
qemu-5f3616ccceb5d5c49f99838c78498e581fb42fc5.zip
hw/riscv: Provide rdtime callback for TCG in CLINT emulation
This patch extends CLINT emulation to provide rdtime callback for TCG. This rdtime callback will be called wheneven TIME CSRs are read in privileged modes. Signed-off-by: Anup Patel <anup.patel@wdc.com> Reviewed-by: Alistair Francis <alistair.francis@wdc.com> Signed-off-by: Palmer Dabbelt <palmerdabbelt@google.com>
Diffstat (limited to 'target')
0 files changed, 0 insertions, 0 deletions