summaryrefslogtreecommitdiff
path: root/hw/openrisc/cputimer.c
diff options
context:
space:
mode:
authorAnup Patel <anup.patel@wdc.com>2020-02-02 19:12:17 +0530
committerPalmer Dabbelt <palmerdabbelt@google.com>2020-02-27 13:46:37 -0800
commit5f3616ccceb5d5c49f99838c78498e581fb42fc5 (patch)
treed44d99603f2329c984d4d9d2ba3ffccab382b50a /hw/openrisc/cputimer.c
parentc695724868ce4049fd79c5a509880dbdf171e744 (diff)
downloadqemu-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 'hw/openrisc/cputimer.c')
0 files changed, 0 insertions, 0 deletions